Description
make versions-up && make versions-pin && make build-cloak is three commands where one should do. Worse, versions-pin re-fetches upstream after the build, so pins can drift from what was actually built (claude-code ships several times a day).
Type
Details
Make make versions-up the whole team flow:
- Resolve latest upstream versions once (add cloakbrowser wrapper, today only versions-pin fetches it)
- Build core, main, rust, and cloak
- On success, write versions.env from the exact resolved versions that were built — no second fetch, no race
- Auto-commit and PR the pin bump to origin/main on
chore/version-pins-refresh (temp worktree, user checkout untouched); PR=0 opts out, PR failure degrades to a warning with manual steps
make versions-pin and make build-cloak stay as standalone targets.
Related Files
- scripts/version-upgrade.sh
- scripts/update-version-pins.sh
- scripts/version-pins.sh
- scripts/versions-pr.sh (new)
- Makefile
- tests/version-upgrade.sh
- tests/versions-pr.sh (new)
Test Plan
Description
make versions-up && make versions-pin && make build-cloakis three commands where one should do. Worse, versions-pin re-fetches upstream after the build, so pins can drift from what was actually built (claude-code ships several times a day).Type
Details
Make
make versions-upthe whole team flow:chore/version-pins-refresh(temp worktree, user checkout untouched);PR=0opts out, PR failure degrades to a warning with manual stepsmake versions-pinandmake build-cloakstay as standalone targets.Related Files
Test Plan