Conversation
|
Hi Kun — could you please enable or trigger the repository workflows for both #2134 and #2137? Both PRs are still open and currently show zero CI checks, while the workflows did run successfully on #2141. We’re only asking for the same upstream validation surface for these two fixes—not a merge. Thanks. |
(cherry picked from commit ae9178cf660d9dba21de589976d65ba14c9f701a)
5355a67 to
025843f
Compare
|
Status refresh, verified live on 2026-08-12 at 17:07 UTC. This supersedes the earlier note asking about missing workflow runs — the runs have since executed on this head.
Bounded purpose of this PR: preserve actionable wake delivery during watcher recovery. After an actionable watcher close, an unready successor could be retired leaving only an unrefed retry timer, so the process could exit before delivering the original typed wake. The change retains the actionable-close retry timer until the next bounded attempt or a typed failure, keeps background retry scheduling unrefed, and adds a deterministic control proving delivery after two retries. One accuracy note carried over from the change's own report: the focused control was verified red-before-green, but the full suite run was nonterminal in known Herdr/bootstrap shards, so no full-suite aggregate should be inferred from it. The 14 green checks above are the upstream CI result on this head. No action is requested here; this is a state record only. |
|
Closing this one. The PR-check migration half no longer applies after #3299 removed that machinery, and the retry-timer half only fails in a headless harness with no other handles; Pi and OpenCode primaries run as persistent TUIs, where that condition does not arise. Thanks! |
Intent
Repair PR 2134’s real Pi continuity failure: after an actionable watcher close, an unready successor can be retired leaving only an unrefed retry timer, so Pi may exit before delivering the original typed wake and bounded restoration failure. Retain only the actionable-close retry timer until the next bounded attempt or typed failure; keep background scheduleRetry unrefed. Add a deterministic no-extra-handle control that proves delivery after two retries. This repair was independently red-before-green verified in the owning checkout: the new control failed with the existing unrefed timer, passed 31/31 after the repair, and failed again when unref was restored. The report’s full suite was started as requested but remains nonterminal in known Herdr/bootstrap shards, so its aggregate is NOT_VERIFIABLE; do not infer full-suite green. Update existing PR #2134 only; do not force-push, open a second PR, or merge. PR changes must state that the repair preserves Pi’s owned actionable wake-delivery contract.
What Changed
Risk Assessment
✅ Low: The bounded Pi actionable-close restoration path now retains the sole required retry timer through its next attempt or typed failure, while ordinary background retries remain unrefed; surrounding startup/migration changes preserve their singleton and preflight boundaries.
Testing
Targeted validation confirmed the actionable-close retry timer is retained through bounded restoration while background scheduleRetry remains unrefed. The focused Pi extension test passed, and a no-extra-handle runtime control produced four arm cycles plus the reviewer-visible original typed wake and bounded failure; full-suite/remote CI status is NOT_VERIFIABLE because it was intentionally not run in this phase.
Evidence: Pi actionable-close runtime delivery transcript
Evidence: Focused Pi extension test transcript
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
git diff --no-ext-diff --unified=20 b5d430d6fdcd961ce9b681bf196f365c1825c284 294986b638d8875d7960fb40bf6e7d754984dc17 -- .pi/extensions/fm-primary-pi-watch.ts tests/fm-pi-watch-extension.test.shbash tests/fm-pi-watch-extension.test.sh/var/folders/cq/xf4qcb9j0qzc2dbh173mflbm0000gn/T/no-mistakes-evidence/01KZT3SEM1ZTPYKMXH9Y6BDGXE/pi-runtime-delivery-control.sh✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.