fix: make beta sync stack-aware

This commit is contained in:
Shoubhit Dash
2026-02-23 10:11:15 +05:30
parent 9f4fc5b72a
commit 9fe85a27d8
3 changed files with 196 additions and 28 deletions
+30
View File
@@ -0,0 +1,30 @@
title: fix: make beta sync conflict reporting stack-aware
### Issue for this PR
Closes #
### Type of change
- [x] Bug fix
- [ ] New feature
- [ ] Refactor / code improvement
- [ ] Documentation
### What does this PR do?
Makes beta sync failures stack-aware. On merge conflict, the script now reports conflicted files and likely conflicting beta PR(s), and upserts one marker-based bot comment instead of posting duplicates every run.
### How did you verify your code works?
- Ran `bun turbo typecheck --filter opencode`
- Ran `bunx prettier --check ".github/workflows/beta.yml" "script/beta.ts"`
### Screenshots / recordings
N/A
### Checklist
- [x] I have tested my changes locally
- [x] I have not included unrelated changes in this PR
+4
View File
@@ -5,6 +5,10 @@ on:
schedule:
- cron: "0 * * * *"
concurrency:
group: beta-sync
cancel-in-progress: false
jobs:
sync:
runs-on: blacksmith-4vcpu-ubuntu-2404