Skip to content

feat(public-sites): add independent rivethub.io, .org, and .dev builds - #1243

Merged
rivetphilbot merged 2 commits into
mainfrom
cursor/rivethub-family-sites-8481
Nov 9, 2026
Merged

rivetphilbot merged 2 commits into
mainfrom
cursor/rivethub-family-sites-8481

Conversation

@rivetphilbot

@rivetphilbot rivetphilbot commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Why

rivethub.org currently 302s to rivethub.io, and rivethub.dev is served as the old RivetOS docs. These need independent public sites with their own canonical URLs, without retargeting apps/site / rivetos.dev.

What changed

  • Shared family registry and chrome in apps/public-sites.
  • nx rivethub-site still builds rivethub.io and now injects the family bar. nx rivethub-org and nx rivethub-dev are new independent outputs.
  • nx site / apps/site stays canonical https://rivetos.dev. Community pages list in-repo plugins, examples, and integrations. Generator examples are labeled Proposal. Extra policy is labeled DRAFT.
  • parseEnvFile always returns a null-prototype KEY=value map so Node 22 and Node 25+ (nodejs#60038) agree under node:assert/strict deepEqual.

Issues closed

None of the open area:sites-docs issues fit this PR without widening it or needing hosting, policy, or unverifiable facts.

Skipped:

Scope

Source, Nx build entrypoints, and tests. Does not add hosting, Caddy, rsync, or ops jobs. Does not merge.

Tradeoffs

A second Astro docs app was rejected so a later nx site deploy cannot overwrite rivetos.dev with rivethub.dev.

Blast Radius

Product install/downloads/support/privacy/releases stay on rivethub.io. rivetos.dev stays nx site. Live .org/.dev routing is unchanged until a separate deploy.

Verification

  • Branch already contains main #1242 (d1557f66). git merge origin/main is already up to date. No merge commit.
  • node --test apps/public-sites/*.test.mjs apps/rivethub-site/scripts/*.test.mjs: 36 pass / 0 fail on Node v22.23.4 and Node v26.13.0.
  • Builds: node apps/rivethub-site/scripts/build.mjs, node apps/rivethub-org/scripts/build.mjs, node apps/rivethub-dev/scripts/build.mjs, and npx nx build site. Canonicals: rivethub.io / rivethub.org / rivethub.dev; apps/site/astro.config.mjs remains site: 'https://rivetos.dev'.
  • GitHub Pipeline on 519c4076872612440dd1daca7fce1166fd8c754d: Commit Authorship pass, Secrets & Private IP Scan pass, ci pass. Publish npm / container / Notify Deploy skipped (not main).

Head SHA for merge: 519c4076872612440dd1daca7fce1166fd8c754d.

Open in Web Open in Cursor 

The three RivetHub domains need distinct static trees with their own
canonical URLs. apps/site stays the rivetos.dev docs app so a later
nx site deploy does not replace that host with rivethub.dev.
Node 22 util.parseEnv returns a plain object. Node 25+ (nodejs#60038)
returns a null-prototype object. assert.deepEqual from node:assert/strict
compares [[Prototype]], so the passthrough wrapper failed on Node 26.
Copy onto Object.create(null) so the KEY=value map is the same on both.

@philbert440 philbert440 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved site source for live deploy; exact SHA 519c407.

@rivetphilbot
rivetphilbot merged commit 19cf784 into main Nov 9, 2026
6 checks passed
@rivetphilbot
rivetphilbot deleted the cursor/rivethub-family-sites-8481 branch November 9, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants