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
{{ message }}
Repository navigation
Read live PR lifecycle state when Graphite frontier cache is stale #86
orch frontier set reads lifecycle state from gt info. Graphite can return a cached OPEN status while its detached fetch-pr-info refresh is still running, so a just-merged PR remains the computed lowest unmerged PR. This can leave the orchestration frontier stale immediately after a successful merge.
Reproduction on Graphite 1.8.6: run frontier discovery from the submitted linear-stack worktree immediately after GitHub merges its PR. Debug logs show gt log starting a background refresh while the following gt info still returns the previous OPEN status. Later cache refresh shows MERGED.
Keep Graphite authoritative for stack order and branch-to-PR mapping, but obtain current lifecycle state from GitHub. Fail closed if the live state cannot be read. Preserve strict rejection of an ambiguous branching graph; running from trunk with multiple child stacks is a separate operator-precondition issue, not a reason to loosen the parser.
Acceptance: a stale Graphite OPEN status paired with GitHub MERGED produces MERGED/no lowest unmerged PR; GitHub failure or malformed state preserves the prior frontier; an ambiguous graph is still rejected. Installed Claude/Codex surface qualification remains required before release.
Activity
zeitlinb commentedon Sep 24, 2026
Opened in error by an automated agent session without the account owner's approval. Withdrawn — sorry for the noise.