beads/internal/linear
ecuthiell 594c464cc2
fix(windows): detect exited processes in liveness helpers (#4980) (#4981)
OpenProcess success does not prove a process is running: Windows keeps a terminated process object openable while any handle remains. Probe with SYNCHRONIZE and a zero-timeout wait instead.

This corrects the production Dolt-server probe and the matching existing Linear helper. The Linear helper has no production caller today; its change is latent correctness and regression coverage, not a current Linear runtime fix.

The wait-based design and regression strategy build on Marco Del Pin's contributor work in #4808.

Co-authored-by: Marco Del Pin <marco.delpin@gmail.com>

Agent-Signature: codex-tui-gpt-5.6-sol-ultra on behalf of Ewen Cuthiell
2026-07-23 18:24:49 -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 fix(windows): detect exited processes in liveness helpers (#4980) (#4981) 2026-07-23 18:24:49 -07:00
synclock_windows_test.go fix(windows): detect exited processes in liveness helpers (#4980) (#4981) 2026-07-23 18:24:49 -07: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