Repository navigation
release: pin flagship agent 0.3.0's published hashes for v0.25.0 - #5341
Conversation
….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.
Skill audit
✅ 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 |
|
Verdict: Approve This swaps the flagship agent 0.3.0 lock file's 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 evidenceThe evidence stage built the npm package's
Spot regression: a re-run fetch reused the cached binaries, Still pending: 🔍 Technical detailsIssues found 🟢 TUI checksums changed under an unchanged version (
Strengths
|
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`
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
PENDINGplaceholders 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."binaries.lock.jsonin the published@amd-gaia/[email protected]npm package