Skip to content

fix(parser): bound Gemini reconciliation work - #1259

Merged
mjacobs merged 1 commit into
mainfrom
various-zenith
Jul 24, 2026
Merged

fix(parser): bound Gemini reconciliation work#1259
mjacobs merged 1 commit into
mainfrom
various-zenith

Conversation

@wesm

@wesm wesm commented Jul 24, 2026

Copy link
Copy Markdown
Member

Lost-event recovery rehydrates discovered Gemini sources in bounded pages. Gemini previously routed every candidate back through changed-path classification, rebuilding root-wide project metadata and repeating filesystem and Git resolution once per session. Large recoveries could therefore keep an otherwise idle daemon CPU-bound long after discovery completed.

Teach the Gemini provider to reconstruct the exact discovered source from its spooled path and project hint. This preserves the project selected by authoritative discovery while keeping reconciliation work proportional to the candidate batch. A scaling regression covers both small and larger archives.

Rehydrate exact Gemini sources from the project hint captured during streamed discovery. This avoids rebuilding root-wide project metadata for every candidate after lost filesystem events.
@roborev-ci

roborev-ci Bot commented Jul 24, 2026

Copy link
Copy Markdown

roborev: Combined Review (6c89efc)

No issues found.


Reviewers: 2 done | Synthesis: codex | Total: 1m18s

@mjacobs
mjacobs merged commit 14ef572 into main Jul 24, 2026
20 checks passed
@mjacobs
mjacobs deleted the various-zenith branch July 24, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants