fix: remove desktop changelog sync PR step#6743
fix: remove desktop changelog sync PR step#6743txhno wants to merge 2 commits intoBasedHardware:mainfrom
Conversation
Greptile SummaryThis PR removes the post-tag changelog sync step from Confidence Score: 4/5Safe to merge if the team accepts stale-changelog-on-main as a known trade-off; the permission change itself is correct, but duplicate changelog entries across releases are a real consequence. The PR correctly removes the broken sync step and its permission. The one P1 finding is that .github/workflows/desktop_auto_release.yml — the tag-release job's push strategy leaves main's CHANGELOG.json stale indefinitely. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Push to main] --> B[deploy-desktop-backend]
B --> C[deploy-desktop-backend-prod]
C --> D[tag-release]
D --> E[Wait for previous release build]
E --> F[Compute version and consolidate CHANGELOG locally]
F --> G[Commit changelog update]
G --> H[Create and push tag only]
H --> I[Codemagic picks up tag and builds release]
H -.->|Changelog commit NOT pushed to main| J[main branch still has old unreleased entries]
J -.->|Next run reads same stale entries| F
style J fill:#ffcccc,stroke:#cc0000
style H fill:#ffffcc,stroke:#cccc00
|
|
Addressed the Greptile finding in The workflow now pushes the consolidated Rechecked with:
|
Summary
desktop_auto_release.ymlpull-requests: writepermissionCloses #6561.
Testing
python3 -c 'import yaml; yaml.safe_load(open(".github/workflows/desktop_auto_release.yml")); print("YAML OK")'git diff --check