Skip to content

Expose pending long task state#3

Merged
ioquatix merged 1 commit into
mainfrom
long-task-pending-state
Jun 3, 2026
Merged

Expose pending long task state#3
ioquatix merged 1 commit into
mainfrom
long-task-pending-state

Conversation

@samuel-williams-shopify
Copy link
Copy Markdown
Contributor

Summary

  • Add Falcon::Limiter::LongTask#pending? to expose delayed or blocked long task acquisition state.
  • Cover pending state before delayed acquisition, after cancellation, and while waiting on a saturated long task limiter.
  • Add an Unreleased release note.

Verification

  • PATH=$HOME/.rubies/ruby-3.4.4/bin:$PATH bundle _4.0.3_ exec sus test/falcon/limiter/long_task.rb
  • PATH=$HOME/.rubies/ruby-3.4.4/bin:$PATH bundle _4.0.3_ exec sus
  • PATH=$HOME/.rubies/ruby-3.4.4/bin:$PATH bundle _4.0.3_ exec rubocop lib/falcon/limiter/long_task.rb test/falcon/limiter/long_task.rb

@ioquatix ioquatix merged commit 0778600 into main Jun 3, 2026
36 of 40 checks passed
@ioquatix ioquatix deleted the long-task-pending-state branch June 3, 2026 11:43
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.

2 participants