can you review the changes in this branch
- User
can you review the changes in this branch
Assistant· claude-opus-4-6
Here's the review of the nightly releases branch:
Verdict: REQUEST CHANGES
Overall the feature is well-designed — the nightly versioning scheme, Go code, and test coverage are solid. Three issues should be fixed before merge:
Critical
-
mise-tasks/releasepush order (line 36-39) — Nightly tag is pushed before the stable tag. This creates a race: the nightly release workflow fires and may not find the stable tag for release notes generation. Swap the push order so stable goes first. -
mise-tasks/release:34stderr suppression —2>/dev/nullon the nightly script call hides real errors. Remove it so devs can see why a nightly tag wasn't created:shNIGHTLY_TAG=$(scripts/create-nightly-tag.sh) || true -
nightly.yml:34-43error handling pattern —TAG=$(script) || EXIT_CODE=$?works but is unnecessarily convoluted. Simpler:bashTAG=$(scripts/create-nightly-tag.sh) EXIT_CODE=$?
Important
-
versioncheck.go:53— ThefetchErrintermediate variable is unnecessary; assign directly toerr. -
create-nightly-tag.sh:13— Tag globv*-nightly.*${SHORT_COMMIT}should bev*-nightly.*.${SHORT_COMMIT}(add.before commit hash) to avoid suffix collisions. -
release.yml:56—--sort=-v:refnameis fragile for nightly tags with alphanumeric commit hashes. Consider--sort=-creatordateinstead.
Nice touches
- Exit code 2 as a "skip" signal — clean separation of "nothing to do" vs "error"
skip_upload: autopreventing nightly packages in stable channels- Discord suppression for nightlies
- Mutual
conflictsbetweenentireandentire@nightlycasks - Good test coverage for the version check routing logic
Full review written to
docs/requirements/release-nightlys/review-01.md.-
- User
let's fix 1-6 and commit individual
Assistant· claude-opus-4-6
Let me read the files I need to modify.
Assistant· claude-opus-4-6
Now let me check recent commit style and apply all 6 fixes.
Assistant· claude-opus-4-6
Fix 1: Push order in
mise-tasks/release— push stable before nightly.Assistant· claude-opus-4-6
Fix 2: Remove stderr suppression in
mise-tasks/release.Assistant· claude-opus-4-6
Fix 3: Simplify error handling in
nightly.yml.Assistant· claude-opus-4-6
Fix 4: Remove unnecessary
fetchErrvariable inversioncheck.go.Assistant· claude-opus-4-6
Fix 5: Tighten tag glob in
create-nightly-tag.sh.Assistant· claude-opus-4-6
Fix 6: Use
--sort=-creatordatefor nightly tag sorting inrelease.yml.Assistant· claude-opus-4-6
All 6 fixes committed individually:
codec457c7a fix: use creatordate sort for nightly tag lookup b2e8dda fix: tighten nightly tag glob to match exact commit separator d77b6f5 fix: remove unnecessary fetchErr intermediate variable 0e71029 fix: simplify nightly workflow error handling 8698b33 fix: stop suppressing stderr from nightly tag script 9499b9c fix: push stable tag before nightly to avoid race condition
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.