fix(ci): run the Windows native lane with its process boundary fixture (#2336)
* fix(ci): run the Windows native lane with its process boundary fixture `verify-windows-native.mjs` takes the boundary executable as its second argument and skips every observation that needs it when the argument is absent. CI passed no argument, so the breakaway denial, caller and child token comparison, Windows environment semantics and in-place ancestor reparse attempt have never run there; they only ran for an operator who built the fixture by hand, which `native/windows/README.md` described as optional. The fixture is an ordinary Windows executable independent of the addon, so the lane that already installs MinGW to cross-build the artifact cross-builds it too and uploads it beside the existing inspection fixture. The Windows job downloads it and passes its path, matching how that inspection fixture already crosses the same job boundary. No observation, assertion or threshold changes; this only stops four of them from being silently skipped. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * fix(ci): pass the process boundary fixture in the real Ghidra Windows lane `real-ghidra-windows.yml` also runs the native lane without the boundary executable, so its proof run skipped the same breakaway, caller and child token, environment semantics and ancestor reparse observations. Its artifact job already installs MinGW, so it cross-builds and uploads the fixture the same way, and the self-hosted Windows job downloads it and passes its path. This makes the README's claim about both Windows workflows true rather than narrowing it to one lane. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * fix(process): report no remaining time after a provider deadline fires Node timers can fire while performance.now() is still a fraction of a millisecond short of the monotonic deadline. ProviderStartupDeadline then reported interruption "timeout" and an aborted signal while remainingMs() returned ceil(0.x) = 1, so polling loops guarded by remainingMs() > 0 (Hopper and Ghidra startup) could run past an elapsed deadline, and the real-timer test "aborts a bounded wait when its real monotonic deadline expires" failed intermittently in CI (expected 1 to be 0). Once the deadline's own timer has classified a timeout, report zero remaining time. A deterministic regression test fires the timer with the monotonic clock 0.4 ms short of the deadline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit dfdaa0ca74cc84a45dcb186422a0f51aa61bc427) --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: morluto <morluto@users.noreply.github.com> Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
This commit is contained in:
co-authored by
Claude Opus 5
morluto
Kaoru0822
parent
9680da76c8
commit
a3daf8a07b
@@ -163,9 +163,14 @@ V8 heap flags cannot bound (limit notification, peak commit at the limit, all
|
||||
members settled, with the notification present in the first native exit report
|
||||
and the wrapper's exit event), and a control under the same limit that
|
||||
completes normally.
|
||||
An optional independently built
|
||||
`tests/fixtures/windows/processBoundary.cc` executable adds breakaway and
|
||||
caller/child token observations and an in-place ancestor reparse attempt:
|
||||
A separately built `tests/fixtures/windows/processBoundary.cc` executable adds
|
||||
breakaway, caller/child token and environment semantics observations and an
|
||||
in-place ancestor reparse attempt. The lane skips all of them when the
|
||||
executable is absent, so both Windows workflows cross-build it in the same
|
||||
MinGW job that builds their artifact and pass it: the capability and package
|
||||
lane in `.github/workflows/ci.yml`, and the real Ghidra proof run in
|
||||
`.github/workflows/real-ghidra-windows.yml`. Build it locally with any Windows
|
||||
C++ compiler, or the same way they do, and pass its path:
|
||||
|
||||
```powershell
|
||||
node scripts/verify-windows-native.mjs . C:\fixtures\process-boundary.exe
|
||||
|
||||
Reference in New Issue
Block a user