pi-crew 0.11.12 → 0.11.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/dist/index.mjs +457 -456
- package/package.json +1 -1
- package/src/extension/team-tool/run-deadline.ts +22 -1
- package/src/extension/team-tool/run.ts +38 -2
- package/src/extension/team-tool-types.ts +4 -0
- package/src/extension/team-tool.ts +31 -3
- package/src/runtime/broker/protocol/lock-busy.ts +47 -1
- package/src/runtime/budget-enforcement.ts +36 -20
- package/src/runtime/merge-loop.ts +63 -35
- package/src/runtime/run-tracker.ts +28 -0
- package/src/state/contracts.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.11.13] — Reliability: runner survives run.lock contention + 2 fixes from live wave runs (2026-10-10)
|
|
4
|
+
|
|
5
|
+
Three reliability fixes discovered while shipping Waves 1-3 of the upgrade-spec
|
|
6
|
+
program (each bug reproduced live against a real team run today).
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
|
|
10
|
+
- **Runner death on run.lock contention (critical)** — the background runner
|
|
11
|
+
died with an unhandled rejection when `mergeUnitResult` hit
|
|
12
|
+
`Run 'run.lock' is locked by another operation`, which stopped heartbeats
|
|
13
|
+
and let the stale-reconciler mass-cancel workers as pid_dead (killed the
|
|
14
|
+
Wave-3 run mid-flight). Merge sites now treat lock-contention as retryable
|
|
15
|
+
(backoff + event log); fatal errors still reach the deadletter path. New
|
|
16
|
+
2-writer contention tests (merge-loop-lock-contention.test.ts).
|
|
17
|
+
- **Chain/foreground watch-timeout no longer cancels child runs** — a 60-min
|
|
18
|
+
watch window expiring now reports partial-watch only; the child run keeps
|
|
19
|
+
running (previously: chain steps got their run cancelled).
|
|
20
|
+
- **`resume` reports real status** — resuming a run replied "Status:
|
|
21
|
+
completed" instantly while the work continued for hours; it now reports
|
|
22
|
+
the actual state and re-queued work.
|
|
23
|
+
|
|
24
|
+
# Changelog
|
|
25
|
+
|
|
3
26
|
## [0.11.12] — Upgrade Wave 2: U4 live-session v2, U5 mailbox dedup, U6A classifier triage, U14 rpc mode, U15 OwnedProcess (2026-10-10)
|
|
4
27
|
|
|
5
28
|
Wave 2 of the upgrade-spec program. One commit per spec; test:critical 120/0,
|