Skip to content

T-22624 [CI] Wait for a SQL API query slot instead of failing on HTTP 429 - #65

Merged
PetrHeinz merged 1 commit into
masterfrom
claude/t-22624-sql-api-wait
Nov 9, 2026
Merged

PetrHeinz merged 1 commit into
masterfrom
claude/t-22624-sql-api-wait

Conversation

@PetrHeinz

Copy link
Copy Markdown
Member

The E2E read-back queries the team's SQL API connection as one user, and that user may run 4 logs queries at a time. Every job of this workflow polls as that user, and so do the E2E workflows of the other client repos, so when enough jobs read back at once the connection answers HTTP 429 (You've reached the limit of 4 concurrent logs queries for user …) and the job fails although the client delivered every line. The logtail-js workflow alone runs 22 jobs in parallel and hit this on 2026-11-05 and 2026-11-06.

The read-back now asks the SQL API to queue the query with ?wait=true, which waits up to 60 s for a slot instead of answering 429, and the curl timeout grows from 60 s to 90 s so a queued query keeps time to run.

The verify-logs action is a byte-identical copy in every client repo, so the same change lands in each of them.

🤖 Generated with Claude Code

The read-back queries the team's SQL API connection as one user, and that
user may run 4 logs queries at a time. Every job of this workflow, and of
the other client repos' E2E workflows, polls as that user, so when enough
jobs read back at once the connection answers HTTP 429 and the job fails
although every line was delivered. ?wait=true queues the query for up to
60 s instead, and the curl timeout grows to 90 s to leave room for that.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@PetrHeinz PetrHeinz changed the title T-22624 Wait for a SQL API query slot instead of failing on HTTP 429 T-22624 [CI] Wait for a SQL API query slot instead of failing on HTTP 429 Nov 9, 2026
@PetrHeinz
PetrHeinz marked this pull request as ready for review November 9, 2026 09:59
@PetrHeinz
PetrHeinz merged commit 34b1524 into master Nov 9, 2026
21 checks passed
@PetrHeinz
PetrHeinz deleted the claude/t-22624-sql-api-wait branch November 9, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant