aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpserver.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-18 22:40:04 +0100
committerStefan Boberg <[email protected]>2026-03-18 22:40:04 +0100
commit8f9a6c50883bb37fb2418d5c4c5cd50814c7f683 (patch)
tree08b3c336ce1f067e0e415937059e9f879ad9f512 /src/zenhttp/httpserver.cpp
parentMerge remote-tracking branch 'origin/main' into sb/compute-auth (diff)
downloadzen-8f9a6c50883bb37fb2418d5c4c5cd50814c7f683.tar.xz
zen-8f9a6c50883bb37fb2418d5c4c5cd50814c7f683.zip
Add tests for process exit code handling in compute local runners
- Add "Fail" function to zentest-appstub that exits with a configurable exit code read from the action's Constants, enabling controlled failure testing without needing command-line flags - Fix GetMaxRetriesForQueue to use -1 as sentinel default so that max_retries=0 in queue config correctly disables retries - Add four new test cases: - exit_code.failed_action: non-zero exit produces failed queue status and succeeded=false in history - exit_code.auto_retry: retries exhaust before final failure with correct retry_count in history - exit_code.reschedule_failed: manual reschedule returns 409 when retry limit is reached - exit_code.mixed_success_and_failure: queue counters are correct when actions succeed and fail in the same queue
Diffstat (limited to 'src/zenhttp/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions