You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Planning status: settled by the #75 contract — true in-flight cancellation is
deferred; stale-result suppression is the M10 requirement.
Goal
Make language-service updates responsive by reusing Wright's native frontend/session model where evidence justifies it, without compromising correctness.
Scope
Define document-change invalidation for syntax, preprocessing/includes, semantic index, CFG, diagnostics, and dependent files.
Reuse cached immutable/intermediate state where safe.
Allowing stale results to masquerade as current document state.
Acceptance criteria
Document edits produce correct updated diagnostics/semantic results with explicit version identity.
Incremental/cached results are equivalent to clean recomputation for covered scenarios.
Stale-result suppression is deterministic: stale/out-of-order client versions cannot overwrite newer state, and obsolete results are never surfaced as current. This is distinct from in-flight request cancellation, which is explicitly deferred per [M10 planning] Reconcile cancellation and responsive-analysis contracts #75.
Performance evidence justifies any complexity added beyond full recomputation.
Parent: #27
Depends on: #63
Planning status: settled by the #75 contract — true in-flight cancellation is
deferred; stale-result suppression is the M10 requirement.
Goal
Make language-service updates responsive by reusing Wright's native frontend/session model where evidence justifies it, without compromising correctness.
Scope
Non-goals
Acceptance criteria