fix(admin): refuse a published profile identity early; code profile 0.6.3; version 0.6.4 - #257
Merged
Merged
Conversation
`capsem-admin release` dispatched the hosted profile lane without asking whether its publication identity was free. Releases are immutable, so a taken identity was found only at publication, after the lane had built and verified every asset: stable/code 0.6.2 had been published from 2368c2a on 2026-09-07 and never activated, and releasing the same revision from main failed forty minutes in on a title mismatch. Before dispatching, the release now looks up the identity's release. No release, or one from the same source commit (a resume), proceeds; one from another commit is refused with the fix -- advance the profile's revision. A lookup that cannot answer (no network, no auth) refuses too rather than being read as free. The gh runner moves with it into release_github.rs, which takes capsem-admin/src/main.rs from 2182 to 2144 lines.
stable/code 0.6.2 is already published, immutably, from 2368c2a (2026-09-07) and never activated; the snapshot-free rootfs needs its own revision.
v0.6.3 is published. The stable profiles built from main (co-work 0.6.2, code 0.6.3) are staged, not live: the published 0.6.3 package lacks the functional binary cohort their full gates need, so the release lane defers activation to release-binaries. This bumps the workspace to 0.6.4 via capsem-gate stamp-version so that binary release can run.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #257 +/- ##
=========================================
- Coverage 65.2% 65.2% -0.1%
=========================================
Files 1451 1452 +1
Lines 127792 127831 +39
Branches 91743 91782 +39
=========================================
- Hits 83447 83441 -6
- Misses 39363 39405 +42
- Partials 4982 4985 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unblocks the stable code profile release.
What happened
just release-profile stable allreleased co-work 0.6.2 successfully (run). code then failed at its last step (run):profile-stable-code-0.6.2had already been published from2368c2a8on 2026-09-07 and never activated (the channel still selects code 0.6.1). Releases are immutable, so that revision is spent.Changes
chore(profiles): the code profile advances to 0.6.3 (verified unused).fix(admin):capsem-admin releasechecks the publication identity before dispatching. The existingensure_revision_advanceswas never called outside its tests, so nothing caught this before the 40-minute lane.ghrunner moves intorelease_github.rs;main.rsshrinks 2182 → 2144 lines, with its ratchet lowered to match.Verification
capsem-admin: clippy clean, 152 tests (4 new: free, same-commit resume, other-commit refused, unreachable lookup refused).just fast-testok.🤖 Generated with Claude Code