Skip to content

docs(release): make RC → agents image repin → final the cutting-releases process #7954

Closed

Description

@waynesun09

Do not sign off commits: no git commit -s, no Signed-off-by trailer (the post-code guard discards the run otherwise). Docs-only change under skills/cutting-releases/.

What happens

The cutting-releases skill describes a single tag push per release. That release builds the new fullsend-sandbox / fullsend-code images, but tag-agents tags agents main in the same run, before anyone can repin fullsend-ai/agents/harness/*.yaml to those images. Released CLIs fetch agents@tags/vX.Y.Z, so every release has shipped the previous release's images (or older: v0.43.0 was never repinned, so the fleet ran the 0.42.0 images until v0.44.0). This is the one-release lag described in #6607.

v0.44.0 was cut with a release-candidate flow that removes the lag, and it worked end to end:

  1. v0.44.0-rc.1 at 375f98f: validate-agents failed (stale functional-tests pin, fixed by ci(release): pin agents functional tests to the OpenShell 0.1 workflow #7951). Nothing shipped; v0 did not move.
  2. v0.44.0-rc.2 at 352c9d9: gate green (5 suites), prerelease published, images :0.44.0-rc.2 built, agents tagged as a prerelease. v0 did not move on either repo.
  3. chore(harness): pin fleet images to the v0.44.0-rc.2 release builds agents#1570 repinned the 7 harness images to the rc.2 digests.
  4. v0.44.0 tagged at the same 352c9d9. The gate passed again, but the release job failed: GoReleaser resolves the current tag with git tag --points-at HEAD, found both tags on one commit, picked v0.44.0-rc.2, and tried to re-upload the rc.2 assets (422 already_exists). Nothing was published for v0.44.0, v0 did not move, and tag-agents was skipped. The fix is a release.yml change (set GORELEASER_CURRENT_TAG: ${{ github.ref_name }}, and a GORELEASER_PREVIOUS_TAG that skips -rc tags so the final's changelog spans the whole release); that is a workflow file, so it is tracked separately and is not part of this issue.

Also observed: sandbox-images.yml rebuilt the images for v0.44.0 from the same commit with different digests from rc.2 (the build is not reproducible). The agents pins stay on the rc.2 digests, which were built from the same tree and passed the gate; the docs must not claim the final's :X.Y.Z images are the pinned ones.

What should happen

Update skills/cutting-releases/SKILL.md, pre-flight.md and post-flight.md so the default process is RC → repin → final. The final-at-the-same-commit step depends on the release.yml fix above; until it lands, the skill must say the final has to be tagged at a different commit from the RC (for example the agents-repin bump or any later docs commit that passes the image-path check below):

  • SKILL.md process: every release starts with vX.Y.Z-rc.N at commit X. After the RC run is green, repin agents (below), then tag vX.Y.Z at the same commit X. A final at a later commit Y is allowed only if this prints nothing; otherwise cut rc.N+1 at Y and repin again:
    git log --oneline X..Y -- images/sandbox images/code .github/workflows/sandbox-images.yml
    
    If an RC's gate fails, fix forward on main and cut rc.N+1; the failed RC's images stay in the registry unused.
  • Repin step (new): resolve the RC digests with skopeo inspect --no-tags docker://ghcr.io/fullsend-ai/fullsend-{sandbox,code}:X.Y.Z-rc.N, check org.opencontainers.image.revision equals X, and open an agents PR replacing the image: line in the 7 harness files (fullsend-sandbox: prioritize, retro, scribe, triage; fullsend-code: code, fix, review). Pin the multi-arch index digest only, never :latest. chore(harness): pin fleet images to the v0.44.0-rc.2 release builds agents#1570 is the template. The final tag waits until that PR is merged.
  • Hold window: between the RC and the final, don't merge PRs touching images/ or .github/workflows/sandbox-images.yml.
  • pre-flight.md: add a check that the functional-tests.yml@<sha> pin in .github/workflows/release.yml matches agents main when agents' functional-tests workflow has changed since the pin. PR CI never runs the pinned workflow, so a stale pin only shows up at tag time (v0.44.0-rc.1 failed at Install OpenShell CLI with legacy_schema_v1).
  • post-flight.md: after the final, verify v0 moved on both repos, agents vX.Y.Z points at the repin merge commit, and the harness pins equal the :X.Y.Z-rc.N digests that were repinned (not the final's :X.Y.Z digests, which differ because the image build is not reproducible).
  • Notes section: state that sandbox-images.yml publishes :semver images for any v* tag even when the release is blocked, and that release moves v0 only for tags without a - while tag-agents also runs for prereleases.

Out of scope

Automating the repin PR (a release-driven agents PR opened on the RC tag) — file a follow-up if wanted. This issue documents the manual flow, which is enough to remove the lag.

Closes #6607 once merged: the RC flow removes the one-release lag that issue reports. The superseded per-release repin issue fullsend-ai/agents#1226 (0.43.0) is closed separately as replaced by fullsend-ai/agents#1570.

Activity

  1. fullsend-ai-triage commented on Oct 2, 2026

    @fullsend-ai-triage

    🤖 Triage · ⚠️ Cancelled · Started 12:55 AM UTC · Ended 12:57 AM UTC

    Commit: 31c8763 · View workflow run →

  2. fullsend-ai-triage commented on Oct 2, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 12:59 AM UTC · Completed 1:02 AM UTC

    Commit: 31c8763 · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5 · Effort: high · Cost: $0.41

  3. added
    priority/medium
    ready-to-code
    on Oct 2, 2026
  4. fullsend-ai-triage commented on Oct 2, 2026

    @fullsend-ai-triage

    Verified the cross-references in the issue: #6607 (the one-release-lag tracking issue this closes) is still open and is not a blocker here — this issue is the fix for it, not dependent on it. #7951 (the functional-tests pin bump that unblocked rc.1's failure) and fullsend-ai/agents#1570 (the repin PR used as the template for the new repin step) are both already merged, so the walkthrough in the issue reflects completed work, not work in flight. No open PR currently addresses this issue, and no duplicate open issue was found.

    The release.yml GoReleaser fix is correctly scoped out of this issue by the reporter and isn't needed for the doc changes described here (no workflow files are touched), so this should not require workflow-file permissions.

    Suggested verification approach for the doc changes is included in the test plan below.

    Verify by reading SKILL.md/pre-flight.md/post-flight.md as a new release operator:
    - RC step is first and unconditional
    - repin step precedes any final tag, with a runnable digest/revision check
    - the same-commit-or-image-diff-clean rule for the final tag is unambiguous
    - pre-flight's new functional-tests staleness check has a concrete command + decision rule
    - post-flight's digest-equality check names the rc digests (not the final's, which differ) as the source of truth
    

    Labels: Matches the labeling convention for other cutting-releases skill issues (component/skills), and this is a process-doc fix of medium urgency rather than a new capability.


    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  5. fullsend-ai-coder commented on Oct 2, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Finished Code · ✅ Success · Started 1:04 AM UTC · Completed 1:13 AM UTC

    Commit: 31c8763 · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5 · Effort: high · Cost: $2.21

  6. added 3 commits that reference this issue on Oct 2, 2026
  7. added 2 commits that reference this issue on Oct 2, 2026
  8. added a commit that references this issue on Oct 2, 2026
  9. added 4 commits that reference this issue on Oct 2, 2026
  10. added 2 commits that reference this issue on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/skillsdocumentationpriority/mediumready-to-code

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions