Address review feedback: arch-aware trim + daemon/harness hardening
Shipped daemon code: - daemon-host-relocation: key the node-pty prebuild filter on the host arch (keep prebuilds/win32-<process.arch>, drop the other) instead of always dropping win32-arm64, so a future Windows-arm64 build keeps the prebuild it needs. Test now asserts host-arch kept / other-arch dropped on any runner. - daemon-entry: make shutdown idempotent, bounded (5s race), and fault-tolerant so concurrent SIGTERM/SIGINT can't double-shutdown or leave an unhandled rejection that skips process.exit. - daemon-file-log: guard rotate() when maxRotatedFiles < 1 so it no longer falsely resets the byte counter and defeats the overflow check. - daemon-init test: assert the actual --log-file path value, not just the flag. CI proof harness / spike (test-only): - persist-credentials: false on the three new workflows' checkout. - powershell-runner: default timeout on sync PowerShell calls. - preflight: fail closed when app-process discovery errors. - cli-args: fail closed on a valueless or unreadable --install-dir. - installer-steps: wait for the target-version exe, not any exe, on updates. - daemon-processes: read each pid file once (no crash-on-re-read). - app-driver: scope the xterm helper textarea to the visible surface. - run: track the base install immediately so an early failure still tears down. - registry-shortcut-backup: fold reg import/delete failures into verified. - spike: keep the child handle on a pre-ready rejection; use win32 path semantics + check PowerShell exit status in the loaded-module probe.
This commit is contained in:
@@ -33,6 +33,9 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
# This job only reads the repo to build/run the spike; it never pushes.
|
||||
persist-credentials: false
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
|
||||
@@ -75,6 +75,9 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
# This job only reads the repo and downloads a release; it never pushes.
|
||||
persist-credentials: false
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
|
||||
@@ -48,6 +48,9 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
# This job only builds and runs the harness locally; it never pushes.
|
||||
persist-credentials: false
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
|
||||
Reference in New Issue
Block a user