Skip to content

test: pin a full RPC work queue with zero tickets - #977

Merged
reardencode merged 1 commit into
masterfrom
test/empty-work-queue
Oct 9, 2026
Merged

reardencode merged 1 commit into
masterfrom
test/empty-work-queue

Conversation

@rearden-grok

@rearden-grok rearden-grok Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • A full RPC work queue is checked by calling the POST handler with zero tickets. The answer is still HTTP 503 and Work queue depth exceeded.
  • The test-only pause inside the handler is gone. A live listener with one ticket still returns 200, and a two-method batch is still one occupancy.
  • The unreleased note from test: deflake probes that fail only on master merges #973 no longer says that check holds the only permit.

Targeted cargo test -p rbitcoin-rpc --lib work_queue ran locally. The workspace suite is left to GitHub Actions.

The 503 check paused a live call from inside the handler. Calling that
handler with an empty semaphore returns the same status and body, so the
test-only wait is gone.
@reardencode
reardencode merged commit c615d70 into master Oct 9, 2026
18 checks passed
@rearden-grok
rearden-grok Bot deleted the test/empty-work-queue branch October 9, 2026 19:29
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