feat: Add queue name, description, and op models#446
Conversation
Add inference models for queue operations (queue, queue.publish, queue.create, queue.receive, queue.process, queue.settle) with name and description inference based on messaging.destination.name. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Semver Impact of This PR🟡 Minor (new features) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨
🤖 This preview updates automatically when you update the PR. |
Remove the dedicated queue name model since messaging.json already covers queue ops. Rename op and description files from queue to messaging to align with the existing name model. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Regenerate TypeScript and Rust op constants to reflect the queue to messaging model rename. Constants are now prefixed with MESSAGING_ instead of QUEUE_. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d1c3f36. Configure here.
| }, | ||
| { | ||
| "name": "queue.settle", | ||
| "description": "Settling a message, e.g. acknowledging or rejecting it." |
There was a problem hiding this comment.
Queue ops lack name model
Medium Severity
This change registers queue.publish, queue.create, queue.receive, queue.process, and queue.settle in the op and description models, but model/name/messaging.json still omits those ops. Span name inference only applies to ops listed in name conventions, so spans using the new queue operations will not get the intended messaging.destination.name / Queue naming described in the PR.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit d1c3f36. Configure here.


Add convention models for queue operations (
queue,queue.publish,queue.create,queue.receive,queue.process,queue.settle). Name and description inference usemessaging.destination.name, with a static"Queue"fallback for names.Name model (
model/name/queue.json)Infers span names from
messaging.destination.name, falling back to"Queue".Description model (
model/description/queue.json)Infers span descriptions from
messaging.destination.name.Op model (
model/op/queue.json)Defines the six queue span operations with descriptions. Generated JS and Rust constants are included.