gortex icon indicating copy to clipboard operation
gortex copied to clipboard

Automatic checkout holds the build lane with no first generation while another checkout’s strict relationship queries expire

Open ianrios opened this issue 2 days ago • 1 comments

Measured through native MCP on macOS arm64, daemon v0.64.12+824fbf7. Related to #1038. Both linked checkouts are automatic, with live coordinators, and belong to the same Git family. Exact file reads served the correct working-copy bytes.

  • Checkout A had an in-progress merge, 1,895 staged changed paths and 20 staged files containing conflict markers. The committed tree differed from the primary working checkout's HEAD in 2,468 paths. Its observed change passed sampling and was admitted at 12:10:55 UTC. The same checkout's background cycle still held the shared build lane after 1,680 seconds. Its route remained at epoch zero with neither a commit generation nor a dirty generation at the last direct route inspection. The original strict impact request and three subsequent attempts by path and ID reached their deadlines without a stale fallback.
  • Two checkout-scoped reindex attempts on A failed during dirty-content fingerprinting at 5.1 seconds, before issuing a receipt. The normal refresh capture has a fixed five-second budget. This is a separate failure from the already-admitted background cycle.
  • Checkout B already had a routed commit and dirty generation. It had 40 unmerged files. Its coordinator recorded a change at 12:15 UTC without an admission milestone at the latest sample. A strict symbol impact request expired; a checkout-scoped recovery did return a pending graph receipt. The shared lane was still held by A.
  • The observations establish contention for the lane and failure to publish within the request budgets. They do not establish that parsing conflict markers caused A's delay or that its worker deadlocked.

Is there an existing way to identify the phase of an admitted first-generation build before it publishes? Per-checkout progress for that interval, and a recovery receipt for a large dirty tree whose first fingerprint exceeds five seconds, would distinguish a slow build from a stalled one without restarting shared service.

ianrios avatar Dec 02 '26 12:12 ianrios

The committed layer finished on v0.64.12 (824fbf7), with 134,454 nodes and 679,964 edges. Strict relationship impact still timed out by checkout path and ID. We now have evidence of a separate dirty-layer progress failure.

In a five-minute monitored refresh, 108 consecutive completed dirty build phases reported the same values: one changed path, parent generation zero, dependency_manifest_changed, and 1,925 paths left. Newly published one-file views carried the same partial fingerprint, each with 51 nodes and 50 edges. The generation IDs and route epochs advanced, but the represented input and remaining path count did not. The scoped refresh stayed pending.

The largest sampled physical WAL was 32,799,352 bytes and at least 155 GiB was free. No checkpoint was deferred. The maintenance job did not interrupt this sample, so the failure persists independently of the checkpoint pressure reported earlier.

In the installed source, dirty imports select dependency manifests first. A remaining dependency manifest difference can invalidate the partial parent. The resulting direct build starts over from the full list. This matches the observed fallback and unchanging remainder, but the specific later manifest involved is unconfirmed. Is there a supported continuation for this state? A correction needs to preserve bounded import work and final relationship parity with a clean index.

ianrios avatar Dec 02 '26 15:12 ianrios