Skip to content

Fix yodu.ai access for the live Noveum AI workspace - #262

Merged
imshashank merged 5 commits into
mainfrom
codex/fix-yodu-live-workspace
Aug 9, 2026
Merged

imshashank merged 5 commits into
mainfrom
codex/fix-yodu-live-workspace

Conversation

@imshashank

@imshashank imshashank commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • target the actual production Noveum AI workspace in the domain catch-up
  • ensure both noveum.ai and yodu.ai are present without removing existing domains
  • keep the catch-up idempotent and cover the live workspace UUID with a regression test

Root cause

The earlier catch-up targeted legacy organization IDs that do not exist in the current production database. The active Noveum AI workspace uses 9970aaa7-ba5c-4fcc-b980-d16880ea6c41.

Verification

  • bun run verify
  • focused catch-up test runs the script twice and verifies the live workspace, legacy targets, and an unrelated workspace
  • production Noveum AI row verified as ["noveum.ai", "yodu.ai"]

Greptile Summary

The PR updates the domain catch-up to target the live Noveum AI workspace while preserving existing domains and remaining idempotent.

  • Adds the production workspace UUID to the catch-up targets.
  • Ensures both noveum.ai and yodu.ai are present for each target.
  • Extends the database test to cover the live workspace, the yodu-only branch, preservation of unrelated domains, and repeated execution.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains; the previously reported yodu-only coverage gap is fixed by the updated fixture and post-execution assertion.

Important Files Changed

Filename Overview
packages/db/catchup/noveum-yodu-domain-catchup.sql Conditionally appends each missing domain for the legacy and production workspace IDs while preserving existing values.
packages/db/tests/apply-catchup.test.ts Covers all domain-presence branches, the production workspace UUID, unrelated workspace isolation, and idempotency across two executions.

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

@imshashank
imshashank requested a review from pulkitxm as a code owner August 9, 2026 06:50
@vercel

vercel Bot commented Aug 9, 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 9, 2026 7:58am

Request Review

@github-actions github-actions Bot added tests Test coverage and test infrastructure area: database Schema, migrations, queries, seed labels Aug 9, 2026
@coderabbitai

coderabbitai Bot commented Aug 9, 2026 •

Copy link
Copy Markdown

Review Change Stack

Important

Review skipped

No new commits to review since the last review.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: f47dbb4b-a41a-45bc-8147-984026d09985

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The catchup now ensures noveum.ai and yodu.ai for three organizations. Integration tests add matching fixtures and verify both domains.

Changes

Organization domain catchup

Layer / File(s) Summary
Update organization email domains
packages/db/catchup/noveum-yodu-domain-catchup.sql
The catchup conditionally adds noveum.ai and yodu.ai for three target organizations when either domain is missing.
Validate domain updates
packages/db/tests/apply-catchup.test.ts
The integration test adds Yodu-only and empty-domain organizations. Assertions verify both domains and the updated domain order.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: pulkitxm

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly identifies the main change: fixing yodu.ai access for the live Noveum AI workspace.
Description check ✅ Passed The description accurately covers the workspace targeting, domain preservation, idempotency, and regression tests in the changeset.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/fix-yodu-live-workspace

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.

Comment thread packages/db/tests/apply-catchup.test.ts Resolved

Copy link
Copy Markdown
Contributor Author

@greptile-apps review

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 9, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Already reviewed.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/db/catchup/noveum-yodu-domain-catchup.sql`:
- Around line 4-21: Update the organization mutation in the catchup flow around
the allowed_email_domains update so every changed organization also increments
sync_id and publishes an authorized SyncAction through the established
synchronization path. Ensure publication occurs once per organization actually
modified, while preserving the existing no-op behavior for organizations that
already contain both domains.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 4a5c89b6-1c4c-4ea1-82c3-195fa8fba8d4

📥 Commits

Reviewing files that changed from the base of the PR and between 626f3bd and 44ba0c2.

📒 Files selected for processing (2)
  • packages/db/catchup/noveum-yodu-domain-catchup.sql
  • packages/db/tests/apply-catchup.test.ts

@imshashank
imshashank merged commit 7a3cb8d into main Aug 9, 2026
13 checks passed
@imshashank
imshashank deleted the codex/fix-yodu-live-workspace branch August 9, 2026 08:07

This branch was successfully deployed

1 active deployment
Preview — 44ba0c2e Deployed Aug 9, 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 tests Test coverage and test infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant