ci(release): prepare v0.38.0 — bump agents gate pin past agents#1010, tag the gate-validated SHA - #6613
ci(release): prepare v0.38.0 — bump agents gate pin past agents#1010, tag the gate-validated SHA#6613waynesun09 wants to merge 1 commit into
Conversation
… tag the gate-validated SHA Preparation for the next release (v0.38.0). Bump validate-agents' reusable-workflow pin from a8566cd5 to agents main b9c07455, which includes agents#1010: the gate now checks out fullsend-ai/agents at an explicit ref instead of github.workflow_sha (the caller's commit), so a cross-repo call can validate for the first time (fullsend#6512 §2, proven on the v0.37.0 run), and it exposes the validated SHA as the agents_sha workflow_call output. tag-agents now tags that gate-validated SHA, falling back to the SHA resolve-agents captured at release start only if the gate output is empty, and logs which source it used. This closes the resolve-once loop end to end: the tree the gate validated is the tree that gets tagged. The pin-drift check stays informational; the checks: read grant that was pre-granted in #6513 is now exercised by the roll-up job. Signed-off-by: Wayne Sun <gsun@redhat.com>
PR Summary by QodoTag agents releases at the gate-validated commit
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can hide the parts of a finding you never read, like the evidence or the agent prompt |
|
🤖 Finished Review · ✅ Success · Started 9:33 PM UTC · Completed 9:51 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $4.00 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Risk Assessment: moderate (2/5) DetailsSmall, focused CI workflow change (1 file, 35 lines) to bump the agents gate pin and tag the validated SHA for v0.38.0, but elevated git history signals (release.yml has 8 recent authors and 4 fix/revert commits in 90d) temper the low metadata risk, yielding a moderate composite score. |
ReviewFindingsMedium
Low
Labels: PR modifies .github/workflows/release.yml (CI release workflow) |
| RESOLVED_SHA: ${{ needs.resolve-agents.outputs.agents_sha }} | ||
| run: | | ||
| set -euo pipefail | ||
| AGENTS_SHA="${GATE_SHA:-${RESOLVED_SHA}}" |
There was a problem hiding this comment.
[low] edge-case
The preference for the gate-validated SHA (GATE_SHA) depends on the called reusable workflow (functional-tests.yml at b9c07455...) declaring agents_sha as a workflow_call output. This cannot be verified from this repository. If agents#1010 did not add that output declaration, GATE_SHA will silently be empty and the fallback to RESOLVED_SHA will always activate, making the gate-preference logic functionally inert. The fallback is safe but the PR's core improvement would not take effect.
Suggested fix: Confirm the agents workflow at b9c0745580084af09d1f1e2df8448d1d478458c6 declares agents_sha under on.workflow_call.outputs. Consider adding a warning log when GATE_SHA is empty to make the fallback observable.
Summary
Preparation for the next release (v0.38.0). Two changes to
release.yml, both maintainer-owned (workflow file):a8566cd5 → b9c07455(agents main). This includes agents#1010, which makes the gate check outfullsend-ai/agentsat an explicit ref instead ofgithub.workflow_sha— proven on the v0.37.0 run to be the caller's commit (not our ref). With this pin, a fullsend release can validate agents content cross-repo for the first time, and the gate exposes the validated commit as theagents_shaworkflow_calloutput.tag-agentstags the gate-validated SHA (needs.validate-agents.outputs.agents_sha), falling back toresolve-agents' release-start resolution only if the gate output is empty, and logs which source it used. Closes the resolve-once loop end to end (fullsend#6512): the tree the gate validated is the tree that gets tagged.Also: the
checks: readgrant pre-granted in #6513 is now actually exercised by the gate's roll-up job; comments updated to match.Why now
v0.38.0 carries the user-facing pi-runtime readiness (#6583 per-agent
runtime/model/effortinconfig.yaml, #6540 local-run flow, #6523 provider-update retry) plus the #6585 SSRF fix; the agents tag it cuts will carry agents#1010, #1025 (harness images repinned to release builds, shipping the xai-vertex extension) and the risk-assessment review feature. This PR is what lets that release's gate do its job instead of taking the manual-recovery path again.What to watch on the release run
validate-agents / detectcheckout log shows an agents ref (not the caller SHA) — first time evertag-agentslogssource: validate-agentsand the SHA matches the gate'sagents/harness/*.yamlimage digests to the new:0.38.0builds (release: automate the fullsend-ai/agents harness image digest repin after each release #6607 tracks automating this)Validation
actionlintclean (tag-triggered workflow gets no CI parse until the next tag)b9c07455verified to contain agents#1010 (dd9ca90) viamerge-base --is-ancestorRelated: fullsend#6512, agents#1001, agents#1010, #6513