API: investigate pending import preview concurrency limit #1063

Open
opened 2026-10-04 15:40:58 +00:00 by kayg · 0 comments
Owner

Found during the single real-server adversarial round for #867 at head 6bad188b0.

The money_api.mjs preview burst sent five concurrent POST /api/v1/money/imports/preview requests. The probe expected four HTTP 200 responses and one HTTP 429. It reported:

  • pending preview limit accepted 1 previews
  • pending preview limit did not reject exactly one concurrent preview

The runner did not print the full status distribution, so this records a contract discrepancy for follow-up rather than inferring which other statuses occurred. Keep the existing expectation. In a focused pass, capture all five statuses and determine whether earlier pending previews occupied slots or the concurrent cap behaves differently.

Found during the single real-server adversarial round for #867 at head 6bad188b0. The `money_api.mjs` preview burst sent five concurrent `POST /api/v1/money/imports/preview` requests. The probe expected four HTTP 200 responses and one HTTP 429. It reported: - `pending preview limit accepted 1 previews` - `pending preview limit did not reject exactly one concurrent preview` The runner did not print the full status distribution, so this records a contract discrepancy for follow-up rather than inferring which other statuses occurred. Keep the existing expectation. In a focused pass, capture all five statuses and determine whether earlier pending previews occupied slots or the concurrent cap behaves differently.
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#1063
No description provided.