-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: restricting scheduled release UI #8506
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
…led - to support ASAP releases state machine changes
8a8d832
to
ccbd53f
Compare
No changes to documentation |
Component Testing Report Updated Feb 5, 2025 11:33 AM (UTC) ❌ Failed Tests (1) -- expand for details
|
⚡️ Editor Performance ReportUpdated Wed, 05 Feb 2025 11:35:59 GMT
Detailed information🏠 Reference resultThe performance result of
🧪 Experiment resultThe performance result of this branch
📚 Glossary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
Description
With upcoming changes to the state machine, an ASAP release will briefly pass through the
scheduling
andscheduled
states before moving topublishing
andpublished
.The condition we reuse for determining whether to show the scheduled release UI elements (eg CTAs to schedule/unschedule) currently only checks on the state. This won't be enough when the above state machine change is made - ASAP releases will wrongly at times be shows as scheduled releases.
This change just restricts the condition, requiring that
metadata.releaseType
isscheduled
first.What to review
Does restricting the conditions for a scheduled release with a
releaseType
assertion make sense?Testing
No regressions expected. Manually tested a few hot spots
Notes for release