Skip to content

feat: add interruption adapter for shoryuken#722

Open
luizlevindiniz wants to merge 1 commit into
Shopify:mainfrom
luizlevindiniz:feature/support-shoryuken
Open

feat: add interruption adapter for shoryuken#722
luizlevindiniz wants to merge 1 commit into
Shopify:mainfrom
luizlevindiniz:feature/support-shoryuken

Conversation

@luizlevindiniz

Copy link
Copy Markdown

close: #719
This PR adds an interruption adapter for shoryuken

@luizlevindiniz luizlevindiniz requested a review from a team as a code owner June 9, 2026 20:00
@luizlevindiniz luizlevindiniz force-pushed the feature/support-shoryuken branch from 638da27 to 0106bd1 Compare June 9, 2026 20:14
@luizlevindiniz

Copy link
Copy Markdown
Author

I have signed the CLA!

@Mangara Mangara left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this! One question, otherwise LGTM.

Comment thread Gemfile Outdated
Comment on lines +31 to +32
gem "shoryuken"
gem "aws-sdk-sqs"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't actually have integration tests against these gems. Do they need to be here?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question.

Aws-sdk-sqs seems to be unnecessary here, so I have just removed it in a new commit.

Regarding shoryuken, removing it fails InterruptionAdaptersTest#test_loads_all_available_interruption_adapters(test/integration/interruption_adapters_test.rb). If you prefer, I can add shoryuken to the adapters_to_exclude array in this same file.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can test both approaches. In fact, I have just remembered that I have excluded aws-sdk-sqs from the gemfile in a previous commit, but it was causing some errors in the ci (https://github.com/Shopify/job-iteration/actions/runs/27232224197/job/80415276217)

@luizlevindiniz luizlevindiniz force-pushed the feature/support-shoryuken branch from 0106bd1 to b8a1c3c Compare June 16, 2026 22:11
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.

Support Shoryuken

3 participants