Skip to content

Fix compatibility with yiisoft/queue after #321 - #36

Merged
samdark merged 1 commit into
masterfrom
fix-queue-321-compat
Oct 28, 2026
Merged

samdark merged 1 commit into
masterfrom
fix-queue-321-compat

Conversation

@samdark

@samdark samdark commented Oct 28, 2026

Copy link
Copy Markdown
Member

yiisoft/queue#321 removed Provider\QueueProviderInterface. The adapter used its DEFAULT_QUEUE constant as the default channel, so it could no longer be loaded with the current yiisoft/queue.

The adapter now uses DefaultQueue::NAME. The value is the same (yii-queue), so stored messages and mutex names don't change.

withChannel() stays as an adapter method. It's no longer part of AdapterInterface, but it can still be used to create an adapter for another channel.

…AULT_QUEUE

yiisoft/queue#321 removed Provider\QueueProviderInterface, so the adapter could not be loaded with the current
yiisoft/queue. The default queue name keeps its value, yii-queue.
@codecov

codecov Bot commented Oct 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.78%. Comparing base (fa4d808) to head (6639261).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #36   +/-   ##
=========================================
  Coverage     21.78%   21.78%           
  Complexity       30       30           
=========================================
  Files             1        1           
  Lines           101      101           
=========================================
  Hits             22       22           
  Misses           79       79           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@samdark
samdark merged commit 73b7dc4 into master Oct 28, 2026
27 checks passed
@samdark
samdark deleted the fix-queue-321-compat branch October 28, 2026 21:52
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