Money durable import admission returned a transient 503 in the parallel restart test #1164

Open
opened 2026-10-06 00:09:21 +00:00 by kayg · 0 comments
Owner

Found during #1140 verification on branch job/wizard-1140, head 2dfb8a50d.

The focused durable tests ran four concurrent tests. queued_import_and_undo_survive_restarts returned 503 from its first POST /imports/preview?background=true instead of 202. This happened before the restart and before a Worker was started. The route maps private input copy or queue errors to a safe generic 503, so this run did not retain the underlying cause. No test assertion was changed.

The same compiled test then passed alone in 1.92 s and the same four-test set passed with four threads in 7.46 s. Other durable tests passed in every run. This is a transient admission failure, not a latency-only result, and needs diagnosis if it repeats during the merge round.

Reproduction: CARGO_PROFILE_DEV_DEBUG=line-tables-only CARGO_INCREMENTAL=0 CARGO_BUILD_JOBS=4 cargo test -p calternal-plugin-money durable -- --test-threads=4

Keep the 202 assertion. Capture a safe error class for queue/input-copy failure without source bytes or User paths, then fix the cause if it is application-owned.

Found during #1140 verification on branch job/wizard-1140, head 2dfb8a50d. The focused durable tests ran four concurrent tests. queued_import_and_undo_survive_restarts returned 503 from its first POST /imports/preview?background=true instead of 202. This happened before the restart and before a Worker was started. The route maps private input copy or queue errors to a safe generic 503, so this run did not retain the underlying cause. No test assertion was changed. The same compiled test then passed alone in 1.92 s and the same four-test set passed with four threads in 7.46 s. Other durable tests passed in every run. This is a transient admission failure, not a latency-only result, and needs diagnosis if it repeats during the merge round. Reproduction: CARGO_PROFILE_DEV_DEBUG=line-tables-only CARGO_INCREMENTAL=0 CARGO_BUILD_JOBS=4 cargo test -p calternal-plugin-money durable -- --test-threads=4 Keep the 202 assertion. Capture a safe error class for queue/input-copy failure without source bytes or User paths, then fix the cause if it is application-owned.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#1164
No description provided.