Skip to content

Fix timeline coverage score and effective-date migration#783

Open
Laki-Laki-Tobi wants to merge 2 commits intogarrytan:masterfrom
Laki-Laki-Tobi:local/v0.30.2-with-timeline-fix
Open

Fix timeline coverage score and effective-date migration#783
Laki-Laki-Tobi wants to merge 2 commits intogarrytan:masterfrom
Laki-Laki-Tobi:local/v0.30.2-with-timeline-fix

Conversation

@Laki-Laki-Tobi
Copy link
Copy Markdown

@Laki-Laki-Tobi Laki-Laki-Tobi commented May 9, 2026

Summary

  • Fix timeline_coverage_score so it follows entity-level timeline coverage instead of all-page timeline density.
  • Connect the v0.29.1 migration engine before backfill/verify phases.
  • Run the effective-date backfill batch updates through engine.transaction(...) instead of manual BEGIN/COMMIT via executeRaw, which is rejected by pooler-safe transaction guards.

Verification

  • bun test test/brain-score-breakdown.test.ts
  • bun run typecheck
  • gbrain apply-migrations --force-retry 0.29.1
  • gbrain apply-migrations --yes
  • gbrain apply-migrations --list
  • gbrain doctor

View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

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