Delete canceled workflow emails from scheduled_sends (SendGrid endpoint) #8026
Delete canceled workflow emails from scheduled_sends (SendGrid endpoint) #8026
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…m/cal.com into fix/workflow-notifications
📦 Next.js Bundle AnalysisThis analysis was generated by the next.js bundle analysis action 🤖 One Page Changed SizeThe following page changed size from the code in this PR compared to its base branch:
DetailsOnly the gzipped size is provided here based on an expert tip. First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If Any third party scripts you have added directly to your app using the The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored. |
Current Playwright Test Results Summary✅ 52 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 04/03/2023 08:00:07am UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: 311ed01 Started: 04/03/2023 07:54:01am UTC
|
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Embed Code Generator Tests Event Type Edit Page open Embed Dialog for the Event Type
Retry 1 • Initial Attempt |
4.44% (8)8 / 180 runsfailed over last 7 days |
23.33% (42)42 / 180 runsflaked over last 7 days |
What does this PR do?
When a scheduled workflow email is canceled in SendGrid the batch_id is still stored in the SendGrid endpoint
/v3/user/scheduled_sends. I wrongly assumed that batch_ids were removed automatically when the scheduled date is in the past (I thought I read that somewhere, but I guess I was wrong 🤔) . As there is a limit of entries (which now again was full) we need to delete them ourselves once the scheduled date is in the past.It also fixes that already verified numbers are shown as verified and don't need to be verified again:
