Remove experimental gate from Queues metrics APIs#6557
Merged
npaun merged 1 commit intocloudflare:mainfrom Apr 15, 2026
Merged
Conversation
9ed65b6 to
c01b67b
Compare
c01b67b to
e396a43
Compare
Merging this PR will not alter performance
Comparing Footnotes
|
119aeaa to
f59a4d3
Compare
f59a4d3 to
a94fc17
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6557 +/- ##
==========================================
- Coverage 70.88% 70.85% -0.04%
==========================================
Files 438 438
Lines 123484 123642 +158
Branches 19426 19455 +29
==========================================
+ Hits 87534 87606 +72
- Misses 24442 24513 +71
- Partials 11508 11523 +15 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
danlapid
approved these changes
Apr 14, 2026
emily-shen
approved these changes
Apr 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR removes the experimental gate from the Queue metrics APIs.
It ungates the three features:
env.QUEUE.metrics()method MQ-1154env.QUEUE.send()andenv.QUEUE.sendBody()MQ-1200queue()handler MQ-1202The upstream services that call
workerdhave been updated:Changes
The Javascript API for
send()andsendBatch()now callWorkerQueue::sendWithResponseandWorkerQueue::sendBatchWithResponserespectively.metrics(): Promise<QueueMetrics>definition on queue binding is no longer gated behind experimental flagreadonly metadata: MessageBatchMetadatadefinition onqueue()handler is no longer gated behind experimental flagRemoved reference to
METADATA_FLAGand the flag disabled cases in tests.Types regenerated using
just generate-typesTesting
bazel test //src/workerd/api/tests:queue-test@ //src/workerd/api/tests:queue-metrics-test@ //src/workerd/api/tests:queue-metadata-test@ //src/workerd/api/tests:queue-metrics-sentinel-test@ //src/workerd/api/tests:queue-producer-metadata-test@bazel test //src/workerd/api/tests:queue-test@all-compat-flags //src/workerd/api/tests:queue-metrics-test@all-compat-flags //src/workerd/api/tests:queue-metadata-test@all-compat-flags //src/workerd/api/tests:queue-metrics-sentinel-test@all-compat-flags //src/workerd/api/tests:queue-producer-metadata-test@all-compat-flags