aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpserver.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-18 23:00:51 +0100
committerStefan Boberg <[email protected]>2026-03-18 23:00:51 +0100
commitbff03de650e4e3cc4bbcf29a591d4aacb4b9eb39 (patch)
tree0fb26bfada68a221dfb6e51e9e4b3fb753b18b48 /src/zenhttp/httpserver.cpp
parentAdd tests for process exit code handling in compute local runners (diff)
downloadzen-bff03de650e4e3cc4bbcf29a591d4aacb4b9eb39.tar.xz
zen-bff03de650e4e3cc4bbcf29a591d4aacb4b9eb39.zip
Add crash handling tests and suppress crash dialogs via job objects
- Add "Crash" function to zentest-appstub with two modes: "abort" (std::abort) and "nullptr" (null pointer dereference) for testing hard process crashes - Add job object to WindowsProcessRunner that assigns all child processes, configured with: - JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION to suppress WER dialogs - JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE for cleanup on runner teardown - JOB_OBJECT_UILIMIT_ERRORMODE to prevent children from clearing the inherited SEM_NOGPFAULTERRORBOX error mode - Create child processes suspended so job assignment takes effect before any code runs - Add three new test cases: - crash.abort: std::abort() results in failed action - crash.nullptr: null pointer dereference results in failed action - crash.auto_retry: crashed actions are retried correctly
Diffstat (limited to 'src/zenhttp/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions