Commit Graph
6 Commits
Author SHA1 Message Date
Brennan Benson 40ce87bb2c fix(daemon): warn on non-atomic pid-publish degrade, correct reap comment, run claim-reap contract on Windows CI 2026-08-28 08:02:57 -07:00
Brennan Benson bada62de95 Merge branch 'main' into brennanb2025/daemon-pid-atomic-publish-r1 2026-08-28 07:14:32 -07:00
Brennan Benson e0b44cdd6f fix(daemon): make pid-record publish atomic via claim-then-link
A crash, power loss, or forced kill mid-write left a torn, unparseable
daemon-vN.pid at the canonical path. For a retired protocol version nothing
ever heals that record (stale-kill only reclaims the current version's), so
the corrupt file became a permanent veto on pruning that version.

Publish now writes a per-pid/per-uuid claim, fsyncs it, and hard-links it
into place: readers see a complete record or none, and EEXIST ownership
conflicts are preserved (rename would silently replace). Filesystems that
refuse hard links degrade to the previous exclusive direct write. Claims are
cleaned on every in-process failure path; crash-orphaned claims are reaped
at the launch funnel, gated on the owner pid being provably dead (ESRCH),
never on age.
2026-08-27 18:34:38 -07:00
Neil ebe6b559ef Prime changed native caches before test fanout (#16918) 2026-08-27 18:34:03 -07:00
Neil 350423b7cb Speed up PR CI with path skips, native caches, and fewer shards (#16863)
* Speed up PR CI with per-job path skips and native caches

Skip git-compat, xterm, packaging, and shell jobs when their inputs are
unchanged, reuse the composite install action (including Windows node-pty
cache), skip compiling the Windows CLI launcher on a cache hit, and cut the
test matrix from 16x2 to 8x2 shards without dropping coverage.

* Widen PR job skip prefixes for orcad browser and live shells

Chrome session/tab modules and zsh/fish wrapper templates are inputs to
required jobs the classifier previously skipped. Include that implementation
graph so those jobs still run when the files they load change.

* Fix CI cache safety and required gates

* Build scriptless Windows addons explicitly

* Preserve node-pty Windows support prebuild

* Remove duplicated Windows launcher unit lane
2026-08-27 16:09:07 -07:00
Neil 9d06b3ba93 ci: stop docs-only commits from starting the skill-roundtrip matrix (#15474)
A cancelled Skill update round trip on a README merge painted main red
because push to main had no path filter. Share the PR path list on
push, and skip expensive PR Checks when every changed file is docs.
2026-08-19 23:33:05 -07:00