beads/internal/linear
ecuthiell db0787bb15
fix(linear): correlate Windows sync lock diagnostics (#4990)
Windows LockFileEx prevents contenders from reading inline owner metadata from the fully locked primary guard. Keep that guard as the sole lock authority and preserve the existing Unix path unchanged.

On Windows, publish a strict fixed-size owner record only after taking a random generation-specific byte lease on a stable sidecar handle. Contenders require an exact live process incarnation, shared lease probes, and a stable reread and reprobe before reporting details. Missing, stale, torn, mixed-version, or otherwise uncertain metadata remains generic and never authorizes reclaim.

Invalidate and release diagnostics before the primary guard, while making every sidecar failure best-effort. Cover shared-probe concurrency, stale-live and process-reuse defenses, crash phases, failure injection, open readers, and repeated handoffs.

Agent-Signature: codex-tui-gpt-5.6-sol-ultra on behalf of Ewen Cuthiell
2026-07-23 18:09:33 -07:00
..
client.go fix(linear): arm rate-limit breaker after successful calls (#4778) 2026-07-14 13:13:52 -07:00
client_test.go fix(linear): arm rate-limit breaker after successful calls (#4778) 2026-07-14 13:13:52 -07:00
fieldmapper.go fix(linear): push bead labels to Linear on sync --push (GH#3753) (#3776) 2026-07-07 06:27:16 -07:00
idempotency.go feat(linear): add idempotency markers to prevent duplicate issue creation 2026-05-02 01:00:09 -04:00
idempotency_test.go fix(linear): use OAuth auth header for idempotent create (#4777) 2026-07-14 10:19:35 -07:00
mapping.go fix(linear): push bead labels to Linear on sync --push (GH#3753) (#3776) 2026-07-07 06:27:16 -07:00
mapping_test.go fix(linear): push bead labels to Linear on sync --push (GH#3753) (#3776) 2026-07-07 06:27:16 -07:00
oauth.go fix(linear): address maintainer feedback on OAuth client-credentials PR 2026-05-02 19:04:20 -04:00
oauth_test.go feat(linear): add OAuth client-credentials support 2026-05-02 09:35:08 -04:00
parent_reconcile.go fix(linear): wire parent-child relationships to Linear's parent field (#3930) 2026-07-06 22:16:07 -07:00
parent_reconcile_test.go fix(linear): arm rate-limit breaker after successful calls (#4778) 2026-07-14 13:13:52 -07:00
staleness.go fix(linear): clean staleness lint 2026-05-02 18:38:36 -07:00
staleness_test.go feat(linear): add ambient staleness signal for auto-fresh data 2026-05-02 20:08:33 -04:00
synclock.go fix(linear): correlate Windows sync lock diagnostics (#4990) 2026-07-23 18:09:33 -07:00
synclock_info_inline.go fix(linear): correlate Windows sync lock diagnostics (#4990) 2026-07-23 18:09:33 -07:00
synclock_info_windows.go fix(linear): correlate Windows sync lock diagnostics (#4990) 2026-07-23 18:09:33 -07:00
synclock_info_windows_test.go fix(linear): correlate Windows sync lock diagnostics (#4990) 2026-07-23 18:09:33 -07:00
synclock_test.go fix(linear): keep lock file stable across Release cycles 2026-05-02 18:55:08 -04:00
synclock_unix.go feat(linear): add per-workspace concurrency lock on sync 2026-05-02 01:02:55 -04:00
synclock_wasm.go feat(linear): add per-workspace concurrency lock on sync 2026-05-02 01:02:55 -04:00
synclock_windows.go feat(linear): add per-workspace concurrency lock on sync 2026-05-02 01:02:55 -04:00
tracker.go fix(linear): avoid double-format skip mismatch in batch push (#4779) 2026-07-14 12:52:40 -07:00
tracker_test.go fix(linear): avoid double-format skip mismatch in batch push (#4779) 2026-07-14 12:52:40 -07:00
types.go fix(linear): arm rate-limit breaker after successful calls (#4778) 2026-07-14 13:13:52 -07:00