Uh oh!
There was an error while loading. Please reload this page.
ci: remove edited type trigger from enforce-release-source - #2896
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughThis PR updates the ChangesWorkflow configuration updates
Suggested reviewers: 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
trueberryless
commented
Jun 12, 2026
Well, that was unexpected: https://github.com/npmx-dev/npmx.dev/actions/runs/27443844535/job/81124080867#step:3:1 🤣 |
enforce-release-source ciedited type trigger from enforce-release-source cighostdevv
commented
Jul 5, 2026
How confident are you with this? @trueberryless |
edited type trigger from enforce-release-source ciedited type trigger from enforce-release-source
70% because it has been some time since I investigated this. Back then probably 90% 😅 |
ghostdevv
commented
Jul 5, 2026
Do you think we should still merge this? Or should we give it some more time to figure it out? |
trueberryless
commented
Jul 5, 2026
I'll revisit my ideas and will let you know 👍 |
alexdln
commented
Jul 5, 2026
Looks like now we can let it check and then change the branch right before merging (and without the "edited" trigger, this check will not restart)... |
ghostdevv
commented
Jul 5, 2026
wdym? |
alexdln
commented
Jul 5, 2026
The edited trigger allows the workflow to restart whenever a change occurs - whether to the name, description, or base branch. |
trueberryless
commented
Jul 5, 2026
Okay, but do we need the |
alexdln
commented
Jul 6, 2026
It seems like yes, it can be removed 🤔 |
Uh oh!
There was an error while loading. Please reload this page.
…dev#2896) Co-authored-by: Willow (GHOST) <git@willow.sh>
🧭 Context
CI on main is (seemingly randomly) failing because the
enforce-release-sourceaction gets cancelled. This PR aims to fix this issue.📚 Description
To my understanding, the problem is cause because merge queues quickly add commits to main, which causes two things:
enforce-release-sourceaction to trigger because of thesynchronizetyperelease-prworkflow updates the PR description, which causes theenforce-release-sourceaction to trigger a second time within a short time frame because of theeditedtypeThis results in two workflow runs getting triggered and one getting cancelled because both events trigger quickly after each other. Therefore, removing the
editedtype should resolve the issue, as it removes one of the concurrent runs. Since an edit of the PR description does not include target branch changes, removing theeditedtype would be my solution. I also explicitly setcancel-in-progresstofalseto avoid future confusion.So I think this cancellation happens seemingly random because workflows just do not take the same time always, resulting in the cancellation sometimes happening because of timing reasons, and sometimes not.
This is just how I understood it after debugging for the last 2 hours. I would really appreciate another four eyes on my deduction.