Skip to content

Backfill thread titles in migrations#11

Merged
chloeilabs merged 1 commit into
mainfrom
codex/backfill-thread-titles-migration
Apr 19, 2026
Merged

Backfill thread titles in migrations#11
chloeilabs merged 1 commit into
mainfrom
codex/backfill-thread-titles-migration

Conversation

@chloeilabs
Copy link
Copy Markdown
Owner

Summary

  • add title to existing thread tables during threads:migrate
  • backfill missing titles from the first stored message with a safe fallback
  • enforce NOT NULL after the backfill so runtime queries cannot fail on old installs

Verification

  • applied the migration directly to production
  • verified the production thread table now has title and isPinned
  • verified no new production GET / 500 logs after the fix

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 19, 2026

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

Project Deployment Actions Updated (UTC)
finance Ready Ready Preview, Comment Apr 19, 2026 3:37am

Request Review

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 19, 2026

Warning

Rate limit exceeded

@chloeilabs has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 9 minutes and 57 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 9 minutes and 57 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 5cdb8cad-3776-4a1a-bd19-702b151aa7b9

📥 Commits

Reviewing files that changed from the base of the PR and between 2359906 and a36c170.

📒 Files selected for processing (1)
  • threads-migrate.mjs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/backfill-thread-titles-migration

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

@chloeilabs chloeilabs merged commit 3dbe829 into main Apr 19, 2026
6 checks passed
@chloeilabs chloeilabs deleted the codex/backfill-thread-titles-migration branch April 19, 2026 03:38
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.

1 participant