Repository navigation
fix(sources): point the antigravity runtime root at ~/.gemini/antigravity - #3479
Conversation
…vity Problem: 44 real Antigravity conversations (345 MB of conversations/*.pb) have never been acquired, while the archive holds 116 antigravity-session rows that are all *.md.metadata.json sidecars materialising as one-message sessions -- the origin is inverted. PR #3441 fixed the discovery logic to ground on conversations/*.pb, but it could never fire: Source.runtime_root declared ~/.antigravity, which exists but contains only an 'extensions' directory (4 KB, zero .pb files). The real data lives under ~/.gemini/antigravity, which is where every acquired sidecar row's source_path already points. What changed: runtime_root corrected, with the evidence recorded inline. The test expectation that pinned the wrong literal is updated -- it asserted the bug rather than a contract. Verification: provider_to_source(ANTIGRAVITY).runtime_root now resolves to a directory containing conversations/ with 44 .pb files; tests/unit/core/ test_sources.py 28 passed; devtools verify --quick exit 0. Ref polylogue-eo81. Co-Authored-By: Claude Opus 5 <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reached
Next review available in: 54 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the 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 configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
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. Comment |
Summary
44 real Antigravity conversations have never been acquired. The discovery logic to acquire them landed in #3441 and could never fire, because
Source.runtime_rootpoints at a directory that does not contain the data.Problem
The archive holds 116
antigravity-sessionrows, all of them*.md.metadata.jsonsidecars materialising as one-message sessions. Meanwhile~/.gemini/antigravity/conversations/holds 44.pbfiles — the actual conversations — totalling 345 MB, none of it acquired. The origin is inverted: metadata archived, conversations dropped.PR #3441 fixed the discovery path to ground on
conversations/*.pb(sources/source_parsing.py:73). That fix is correct and has never executed, because:Every acquired sidecar row's
source_pathalready points under~/.gemini/antigravity/brain/…, so the correct root was observable in the archive's own data the whole time.Solution
Corrects
runtime_root, with the evidence recorded inline at the declaration.Also updates
tests/unit/core/test_sources.py, which asserted the literal"~/.antigravity". That test pinned the bug rather than a contract — the enclosing test istest_runtime_root_present_for_local_session_sources, whose intent is that local session sources have a root, not that antigravity's is any particular string.Verification
devtools test tests/unit/core/test_sources.py→ 28 passed.devtools verify --quick→ exit 0.Note
This unblocks acquisition but does not perform it — the 44 conversations remain unacquired until an import runs against the corrected root. A rebuild does not recover them; they were never in
source.db.Ref polylogue-eo81.