fix: make beta sync stack-aware
This commit is contained in:
parent
9f4fc5b72a
commit
9fe85a27d8
3 changed files with 196 additions and 28 deletions
30
.github/pr/fix-beta-stack-aware-sync.md
vendored
Normal file
30
.github/pr/fix-beta-stack-aware-sync.md
vendored
Normal 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
.github/workflows/beta.yml
vendored
4
.github/workflows/beta.yml
vendored
|
|
@ -5,6 +5,10 @@ on:
|
|||
schedule:
|
||||
- cron: "0 * * * *"
|
||||
|
||||
concurrency:
|
||||
group: beta-sync
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue