Skip to content

Detect ABA edits during watcher indexing #1126

Open

Description

@lzl51230

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.

Activity

  1. added
    enhancementNew feature or request
    taskUmbrella task grouping multiple related issues
    editor/integrationEditor compatibility and CLI integration
    on Jul 16, 2026
  2. added this to the 0.9.2-rc milestone on Jul 16, 2026
  3. added
    parsing/qualityGraph extraction bugs, false positives, missing edges
    priority/normalStandard review queue; useful PR with ordinary maintainer urgency.
    on Jul 16, 2026
  4. DeusData commented on Jul 16, 2026

    @DeusData
    Owner

    Tracked as a 0.9.2-rc graph-correctness blocker for #1113/#1127. The acknowledgement must correspond to the content the pipeline actually persisted; otherwise an A-to-B-to-A sequence can permanently bless a stale graph. The deterministic test should control the observation and publication barriers and prove a follow-up update is scheduled whenever the post-publication state differs.

  5. DeusData commented on Oct 19, 2026

    @DeusData
    Owner

    Thank you for isolating the A-to-B-to-A watcher case. The tracked question remains whether acknowledgement identifies the content actually persisted. I have no new deterministic-test result or resolution for this blocker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    editor/integrationEditor compatibility and CLI integrationenhancementNew feature or requestparsing/qualityGraph extraction bugs, false positives, missing edgespriority/normalStandard review queue; useful PR with ordinary maintainer urgency.taskUmbrella task grouping multiple related issuesux/behaviorDisplay bugs, docs, adoption UX

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions