Commit Graph
1 Commits
Author SHA1 Message Date
Brennan Benson 9fb4929055 fix: keep read-only close errors from blocking agent launch and AppImage CLI setup (#37155)
* fix(cli-runtime): preserve advisory inspection results on close failure

* fix(appimage): keep close errors from overriding verified inspection results

The AppImage identity and stable launcher readers closed their read-only
handle in an unguarded finally, so a close error replaced the verified
result and broke CLI status, startup crash capture and launcher upgrades.
Attempt the close once and discard its error, as the CLI runtime check does.

Also load the real closeSync in the node:fs mock factory instead of inside
the test body.

* test(cli-runtime): drop type assertions from close-failure fixtures
2026-11-01 19:18:43 -08:00