Skip to content

release: pin flagship agent 0.3.0's published hashes for v0.25.0 - #5341

Merged
kovtcharov-amd merged 1 commit into
mainfrom
v0.25.0-flagship-lock
Oct 18, 2026
Merged

kovtcharov-amd merged 1 commit into
mainfrom
v0.25.0-flagship-lock

Conversation

@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

Final step before tagging v0.25.0: commit the flagship agent 0.3.0 lock with the real checksums of the binaries just published to the Agent Hub, replacing the PENDING placeholders that made the first v0.25.0 attempt fail its release check.

Test plan

  • python util/check_flagship_release.py --ref HEAD → "flagship is built from this release, pinned and published."
  • The file is byte-identical to binaries.lock.json in the published @amd-gaia/[email protected] npm package

….json

Copied unchanged from the @amd-gaia/[email protected] npm package that
release_agent_gaia.yml published, replacing the PENDING placeholders the
v0.25.0 release check rejects.
@kovtcharov-amd
kovtcharov-amd merged commit 12c6653 into main Oct 18, 2026
15 of 18 checks passed
@kovtcharov-amd
kovtcharov-amd deleted the v0.25.0-flagship-lock branch October 18, 2026 15:57
@github-actions

Copy link
Copy Markdown
Contributor

Skill audit

Skill Verdict Claimed tier Cleared tiers Findings Rules
hub/agents/gaia/npm ✅ ALLOW experimental experimental 2 high body.injection.credential_request, body.injection.persona_override

✅ All audited skills cleared the tier they claim.

Per-finding detail is withheld here on purpose. Read it in the Security > Code scanning tab, or download the skill-audit-reports artifact from this run. Offending source text is withheld from CI everywhere — reproduce it locally with gaia skill audit <dir> --show-snippets.

@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve

This swaps the flagship agent 0.3.0 lock file's PENDING placeholders for the real checksums and sizes of the binaries now on the Agent Hub. Without it the v0.25.0 release check fails. The evidence run downloaded all 10 pinned binaries from the live hub, and every one passed checksum verification. The linux-x64 sidecar it fetched started and reported version 0.3.0.

One thing to know before tagging: the PR also changes the checksums of all six terminal UI (TUI) binaries, and the description doesn't mention it. The version is still 0.25.0, so those binaries were rebuilt and re-uploaded to the same hub path. The new values match what the hub serves now. Any copy of the lock file that still pins the old checksums will fail verification, though. That only matters if something already shipped with those old checksums.

Real-world evidence

The evidence stage built the npm package's gaia CLI from this checkout and ran it against the live hub on ubuntu-latest:

Platform Command Result
linux-x64 fetch --platform linux-x64 exit 0, "ok": true, sidecar + tui verified
win32-x64 fetch --platform win32-x64 exit 0, "ok": true, sidecar + tui verified
darwin-arm64 fetch --platform darwin-arm64 exit 0, "ok": true, sidecar + tui verified
darwin-x64 fetch --platform darwin-x64 exit 0, "ok": true, sidecar + tui verified
win32-arm64 fetch --component tui --platform win32-arm64 exit 0, "ok": true, sha 332068c5…7eda60c
linux-arm64 fetch --component tui --platform linux-arm64 exit 0, "ok": true, sha c324100d…98598f
b2b115d0ae84e5fbe9aebcf055b264b5b68ae2f1a4b436bdd80de6602ca51437  sc/gaia-agent   (221414096 bytes)
07f1cc448f8056b5915eff2869f9f3eec3a5d04485d93e448ccad00d186d23c5  tui/gaia-tui    (19669154 bytes)
gaia 0.25.0 (commit: f6f76d26a22917f60cffc6c9d9e1bf7c006f7f85, built: 2026-10-18T09:09:56Z)
Request Status Body
GET /health 200 {"status":"ok","service":"gaia-agent-gaia"}
GET /v1/gaia/version 200 {"apiVersion":"2.17","version":"0.3.0","agent":"gaia"}

Spot regression: a re-run fetch reused the cached binaries, GET /nope returned 404, and the lock-file schema test (vitest run test/lock.test.ts) passed 22/22. On arm64, fetching both components failed with a clear error, as it should, because no arm64 sidecar is published.

Still pending: POST /v1/gaia/query and the TUI screenshot are pending the strix-halo lane (no real inference on this runner).

🔍 Technical details

Issues found

🟢 TUI checksums changed under an unchanged version (hub/agents/gaia/npm/binaries.lock.json:36-75)

  • componentVersion is still 0.25.0 and baseUrl is still .../terminal-hub/0.25.0, but all six TUI sha256/size pairs differ from the previous commit.
  • The TUI that was downloaded reports commit f6f76d26, so the hub's 0.25.0 TUI was rebuilt and overwritten.
  • Before tagging, confirm that nothing published with the old hashes (for example an RC npm build) still points at that path. Also consider adding a line to the PR or commit body so the overwrite is on record.

Strengths

  • The new values were checked against both the live hub and an independent sha256sum, and the sidecar binary actually runs and reports 0.3.0.
  • The diff touches only checksums and sizes. Filenames, URLs, and schema are unchanged, so the existing lock test still covers it.

kovtcharov pushed a commit to kovtcharov/gaia that referenced this pull request Oct 21, 2026
amd#5447)

Every flagship agent release left `binaries.lock.json` on main stale,
because the release only shipped the real hashes inside the npm tarball.
The installer build and the final core-release check read the committed
copy, so both broke until someone pinned the hashes by hand (amd#3932,
amd#5341). Now the release opens that PR itself once it publishes, so
cutting agent 0.3.1 ahead of v0.25.1 needs a merge, not a hand edit.

Re-running a release is safe: it never opens a second PR, does nothing
when main already matches, and refuses a placeholder lock or one for a
different flagship version. A token that can't push or open PRs fails
the job and names the missing permission. The installer and
release-check errors now point at that PR, and the release docs describe
it.

Closes amd#3949

## Test plan
- [x] `python -m pytest tests/unit/test_open_flagship_lock_pr.py
tests/unit/test_fetch_sidecar.py
tests/unit/test_check_flagship_release.py` (56 passed). The new tests
cover a re-run with the PR already open, hashes already on main,
placeholder and wrong-version locks, main on another flagship version,
and tokens without push or PR permission.
- [x] Release-workflow suites (`test_agent_npm_publish_workflow`,
`test_flagship_rc_assets`, `test_installer_artifacts`,
`test_eval_tag_gate`, `test_gen_binaries_lock`) pass
- [x] `actionlint` on `release_agent_gaia.yml`, `python util/lint.py
--all` (workflow trigger and ancestor-skip checks pass)
- [ ] First real run: `agent-pkg-gaia-v0.3.1` opens `chore(release): pin
flagship agent 0.3.1's published hashes`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant