Repository navigation
feat(models): email workflow owners when a workflow runs a deprecated model - #10531
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
[Medium impact] The changes since the previous review appear safe to merge. SummaryAdds retired-model emails for workflow owners and workspace admins.
No new actionable issues were found in the changes since the previous review.
|
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 12 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 14 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
Summary
sunset.status === 'deprecated'), Sim emails the workflow's owner and the workspace admins (up to 10) to say which model it is and to pick a current oneexecuteBlockProviderRequest, which covers Router, Evaluator and model fallbacks) without being awaited: it never throws or delays the model call. Runs with a side-effect policy (dry runs, workflow tests) never send itnotificationsemail type, so the existing unsubscribe preference applieslib/workflows/notifications/recipients.ts/api/v2/blocks/[blockId], and the shared recipients module adds one more. The registry is still unreachable from every guarded entryType of Change
Testing
lib/workflows/notifications/deprecated-model.test.ts(new) andlib/workflows/schedules/disable-notifications.test.ts: 10 passed. Red-checked the dedupe guard: removing it fails its testcheck:boundaries,check:client-boundary,check:file-names,check:comment-hygiene,check:test-patterns,check:source-conventions,check:tool-registry-boundaryChecklist
test-auditauthoring gate)