-
Notifications
You must be signed in to change notification settings - Fork 6
fix(code-index): idle means the pass tail already ran #1826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ScriptedAlchemy
merged 18 commits into
master
from
cursor/scheduler-admission-races-2703
Sep 19, 2026
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
740052a
fix(sessions): refuse an authoritative zero from a partial generation
ScriptedAlchemy 5e03dfa
fix(daemon): compare version identity per semver build rules
ScriptedAlchemy cc10394
fix(sessions): retire refused refresh progress instead of retrying
ScriptedAlchemy 8b75523
perf(code-index): scan clone postings once per resumed page
ScriptedAlchemy e2384db
fix(sessions): retire only refused progress, not a cancelled pass
ScriptedAlchemy f2ab808
perf(code-index): index clone postings by occurrence for resume replay
ScriptedAlchemy f77e763
test(global-db): gate analytics append on abandonment, not poll
ScriptedAlchemy 53d7f9d
fix(retention): skip an artifact reclaimed during the scan
ScriptedAlchemy b130bce
test(daemon): defer the retention plan while the store is busy
ScriptedAlchemy 63c0784
fix(mcp): attribute risky sites by byte span, not line
ScriptedAlchemy 6d8ef97
test(application): keep git auto-maintenance out of the fixture
ScriptedAlchemy b05cab2
fix(daemon): mount the published branch worktree's query authority
ScriptedAlchemy 2579de9
fix(code-index): idle means the pass tail already ran
cursoragent de5f920
fix(mcp): attribute field sites by byte span, not line
ScriptedAlchemy aab865a
test(runtime): settle the worker before sampling elapsed freshness
ScriptedAlchemy 15f25b3
test(cli): keep the hotpath metrics port out of the quiet-pipeline test
ScriptedAlchemy b7be3fa
Merge remote-tracking branch 'origin/fix/master-ci-green-3' into curs…
ScriptedAlchemy c534d03
fix(code-index): keep admission ahead of the publication gate
ScriptedAlchemy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the worker has dropped its main pass guard before optional graph work (for example at
mount.rs:1233-1235), a caller can acquire the admission permit, observe bothreconcile_in_progress == 0and an empty pending slot, and conclude that the owner is settled before this helper is invoked later by graph preparation or serving-swap logic. Entering a guard only for the duration ofnote_worker_continuationcannot repair that earlier quiet window: the caller may already have returned before the temporary guard is created, after which this code stamps a newBusyFollowUp. The pass must remain visible, or the continuation must be reserved, from before the unguarded tail begins rather than only while the note is written.Useful? React with 👍 / 👎.