[dev] [cursor[bot]] cursor/trigger-task-logic-issues-f845#2477
[dev] [cursor[bot]] cursor/trigger-task-logic-issues-f845#2477github-actions[bot] wants to merge 3 commits intomainfrom
Conversation
Add `await tags.add([`org:${organizationId}`])` to all 25 trigger tasks
that receive an organizationId, making it easy to filter and identify
which organization a job was run for in the trigger.dev dashboard.
Scheduled/bulk tasks that iterate over all orgs are excluded since they
don't have a single organizationId.
Also updates the vendor extraction prompt to prefer company names over
product names (e.g. "Anthropic" not "Claude", "OpenAI" not "ChatGPT").
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryMedium Risk Overview Improves onboarding vendor extraction alias handling. Reviewed by Cursor Bugbot for commit 2404e9b. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
|
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.
Reviewed by Cursor Bugbot for commit 2404e9b. Configure here.
| type: 'object', | ||
| properties: { | ||
| vendor_name: { type: 'string' }, | ||
| source_vendor_names: { type: 'array', items: { type: 'string' } }, |
There was a problem hiding this comment.
Optional schema field incompatible with OpenAI strict mode
High Severity
The source_vendor_names property is added to the JSON schema properties but not included in the required array, while additionalProperties: false is set. With @ai-sdk/openai@^3.0.0, strictJsonSchema defaults to true, and OpenAI's strict mode requires all properties to be listed in required when additionalProperties is false. This will cause the generateObject call to fail with a schema rejection error at runtime, breaking vendor extraction during onboarding. The field needs to be added to required and its type changed to allow null (e.g., anyOf: [{type: 'array', items: {type: 'string'}}, {type: 'null'}]).
Reviewed by Cursor Bugbot for commit 2404e9b. Configure here.
|
Automatically closed this PR because it was created by Bugbot autofix for #2476, and that PR was closed. |


This is an automated pull request to merge cursor/trigger-task-logic-issues-f845 into dev.
It was created by the [Auto Pull Request] action.