Skip to content

feat(db): neutralize built-in demo seed - #281

Merged
imshashank merged 6 commits into
mainfrom
codex/open-source-neutral-seed
Aug 10, 2026
Merged

imshashank merged 6 commits into
mainfrom
codex/open-source-neutral-seed

Conversation

@imshashank

@imshashank imshashank commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

  • Replaces the built-in Noveum demo workspace and personal seed identities with a fictional Orbit Demo workspace using the reserved orbit.example domain.
  • Keeps the existing seven-user role and team matrix while updating seeded content, notifications, scripts, setup docs, and direct end-to-end consumers.
  • Leaves Noveum AI sponsorship, hosted-demo and repository links, and the legacy Noveum import path unchanged.

Why

The default seed is part of the first-run experience. A public self-host should not start with another company's organization, domains, people, IDs, or timezone.

This is intentionally limited to the built-in seed. Importer safety, private avatar cleanup, and other readiness items remain separate follow-up pull requests.

Stacked on #280 so this pull request shows only the seed change. Retarget to main after #280 merges.

How you know it works

  • Failing-first fixture test demonstrated the neutral module was absent before implementation.
  • Focused fixture tests pass: 2 passed, 0 failed.
  • bun run verify passes on the implementation: database 163 passed, web 1,798 passed, all packages green.
  • Pre-push lint and typecheck pass.
  • Two independent reviews found no correctness, security, maintainability, or scope issue.

Checklist

  • Neutral organization ID, slug, domain, timezone, and fictional users
  • Existing seed roles, team memberships, and content relationships preserved
  • Direct setup, script, and end-to-end consumers updated
  • Legacy importer behavior preserved
  • Noveum AI sponsorship and legitimate hosted/repository links preserved
  • No importer redesign, deployment change, or extra governance files

Greptile Summary

The PR replaces the built-in Noveum seed identity with a fictional Orbit Demo workspace while preserving the existing role, team, content, and legacy-import relationships.

  • Adds centralized Orbit Demo organization constants and fixture coverage.
  • Renames all seven seeded users and updates their relationship-bearing content.
  • Updates direct E2E, screenshot, benchmark, setup, and documentation consumers.
  • Retains the separate Noveum legacy import organization behavior.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
packages/db/src/demo-workspace.ts Defines the neutral demo organization ID, slug, allowed domain, and workspace timezone.
packages/db/src/seed/data.ts Replaces the seven real-world seed identities while preserving their roles, teams, and content relationships.
packages/db/src/seed/index.ts Seeds the new Orbit Demo organization and consistently resolves the renamed users across persisted records.
packages/db/src/noveum-workspace.ts Removes the obsolete demo constant while preserving the legacy Noveum import organization factory.
packages/db/tests/demo-workspace.test.ts Verifies the neutral organization fixture and exact seven-user role and team matrix.
apps/web/e2e/account-and-workspaces.spec.ts Updates direct sign-in and workspace-switching expectations to the Orbit Demo seed.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Demo workspace constants] --> B[Database seed]
  C[Neutral user matrix] --> B
  D[Projects, issues, comments, docs] --> B
  B --> E[Orbit Demo organization]
  B --> F[Seven seeded users]
  B --> G[Teams and seeded content]
  E --> H[E2E and development sign-in]
  F --> H
  I[Legacy Noveum organization values] --> J[Legacy import path]
Loading

Reviews (2): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile

@imshashank
imshashank requested a review from pulkitxm as a code owner August 10, 2026 12:41
@vercel

vercel Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
orbit Ready Ready Preview Aug 10, 2026 4:55pm

Request Review

@coderabbitai

coderabbitai Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@imshashank, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 32 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 2b193849-0b47-49da-b358-28122a50cad0

📥 Commits

Reviewing files that changed from the base of the PR and between 3b84b69 and c1d663b.

📒 Files selected for processing (27)
  • .github/ISSUE_TEMPLATE/bug_report.yml
  • CONTRIBUTING.md
  • README.md
  • apps/web/e2e/account-and-workspaces.spec.ts
  • apps/web/e2e/board-drag.spec.ts
  • apps/web/e2e/doc-drag.spec.ts
  • apps/web/e2e/doc-outline.spec.ts
  • apps/web/e2e/doc-sharing.spec.ts
  • apps/web/e2e/docs.spec.ts
  • apps/web/e2e/filters.spec.ts
  • apps/web/e2e/issue-attachments.spec.ts
  • apps/web/e2e/issues.spec.ts
  • apps/web/e2e/same-user-tabs.spec.ts
  • apps/web/e2e/saved-view-drag.spec.ts
  • apps/web/e2e/second-workspace-realtime.spec.ts
  • apps/web/e2e/sprints.spec.ts
  • apps/web/e2e/task-list-layout.spec.ts
  • apps/web/scripts/capture-screenshots.ts
  • docs/README.md
  • docs/getting-started.md
  • packages/db/src/demo-workspace.ts
  • packages/db/src/noveum-workspace.ts
  • packages/db/src/seed/data.ts
  • packages/db/src/seed/index.ts
  • packages/db/tests/demo-workspace.test.ts
  • packages/db/tests/noveum-workspace.test.ts
  • scripts/bench-api.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added documentation Docs, the README, or anything that explains Orbit tests Test coverage and test infrastructure area: web The Next.js app and its UI area: database Schema, migrations, queries, seed ci Workflows, tooling and repo automation labels Aug 10, 2026
Base automatically changed from codex/open-source-preview to main August 10, 2026 16:53
@imshashank
imshashank merged commit f6e5675 into main Aug 10, 2026
13 checks passed
@imshashank
imshashank deleted the codex/open-source-neutral-seed branch August 10, 2026 17:29

This branch was successfully deployed

1 active deployment
Preview — c1d663bc Deployed Aug 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: database Schema, migrations, queries, seed area: web The Next.js app and its UI ci Workflows, tooling and repo automation documentation Docs, the README, or anything that explains Orbit tests Test coverage and test infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant