Rename default branch references from master to main#702
Conversation
GitHub default branch is renaming from master to main. Update repository content that hard-codes the old name so contributors, CI, release tooling, and dev scripts all work against main. Graceful transition: CI workflow triggers list both [main, master] and run-app-local.ps1 keeps -AllowNonMaster as a deprecated alias of -AllowNonMain for one cycle so anyone with a stale local master branch is not abruptly broken. Deliberately NOT changed: - Third-party URLs (github/gitignore, snakers4/silero-vad) that reference upstream master branches - UX terminology (Master switch, Master toggle, master control region) in tray pages and settings - unrelated to git - GitVersion.yml regex ^(master|main)$ already accepts both Validation: ./build.ps1, Shared.Tests (2045/29 skipped), Tray.Tests (940), YAML lint on workflows, autoreview --help, run-app-local.ps1 Get-Help shows -AllowNonMain with -AllowNonMaster alias. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Per follow-up feedback, no graceful alias for the renamed parameter; -AllowNonMain is the only switch going forward. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Codex review: needs changes before merge. Reviewed June 5, 2026, 3:14 PM ET / 19:14 UTC. Summary Reproducibility: yes. for the PR defect from source inspection: the PR head declares only Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Copy recommended automerge instructionNext step before merge
Security Review findings
Review detailsBest possible solution: Land the branch-name cleanup after the default branch is actually Do we have a high-confidence way to reproduce the issue? Yes for the PR defect from source inspection: the PR head declares only Is this the best way to solve the issue? No. The broad Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against afa6218338d6. Label changesLabel changes:
Label justifications:
Evidence reviewedAcceptance criteria:
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Clawsweeper bot assumes a default branch of 'main' in some cases. See
openclaw/clawsweeper#252
We will rename the master branch to main. We need to update all references to master in the repo.
Do not merge until the default branch has actually been renamed.
GitHub default branch is renaming from master to main. Update repository content that hard-codes the old name so contributors, CI, release tooling, and dev scripts all work against main.
Graceful transition: CI workflow triggers list both [main, master].
Deliberately NOT changed:
Third-party URLs (github/gitignore, snakers4/silero-vad) that reference upstream master branches
UX terminology (Master switch, Master toggle, master control region) in tray pages and settings - unrelated to git
GitVersion.yml regex ^(master|main)$ already accepts both
Validation: ./build.ps1, Shared.Tests (2045/29 skipped), Tray.Tests (940), YAML lint on workflows, autoreview --help, run-app-local.ps1 Get-Help shows -AllowNonMain with -AllowNonMaster alias.