-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Detect ABA edits during watcher indexing #1126
Copy link
Copy link
Open
Labels
editor/integrationEditor compatibility and CLI integrationEditor compatibility and CLI integrationenhancementNew feature or requestNew feature or requestparsing/qualityGraph extraction bugs, false positives, missing edgesGraph extraction bugs, false positives, missing edgespriority/normalStandard review queue; useful PR with ordinary maintainer urgency.Standard review queue; useful PR with ordinary maintainer urgency.taskUmbrella task grouping multiple related issuesUmbrella task grouping multiple related issuesux/behaviorDisplay bugs, docs, adoption UXDisplay bugs, docs, adoption UX
Milestone
Description
Metadata
Metadata
Assignees
Labels
editor/integrationEditor compatibility and CLI integrationEditor compatibility and CLI integrationenhancementNew feature or requestNew feature or requestparsing/qualityGraph extraction bugs, false positives, missing edgesGraph extraction bugs, false positives, missing edgespriority/normalStandard review queue; useful PR with ordinary maintainer urgency.Standard review queue; useful PR with ordinary maintainer urgency.taskUmbrella task grouping multiple related issuesUmbrella task grouping multiple related issuesux/behaviorDisplay bugs, docs, adoption UXDisplay bugs, docs, adoption UX
Related to #1113.
An SVN observation can stage working-copy state A, while the indexing pipeline reads and persists intermediate state B. If the working copy returns to A before acknowledgement, the watcher can acknowledge baseline A even though the graph contains B; the next poll then sees A as unchanged and leaves the graph stale.
Tie acknowledgement to the exact indexed input digest, or perform a post-publication observation check and schedule another update when it differs. Add a deterministic A-to-B-to-A concurrency test.