Repository navigation
fix: populate default Gemini run-info versions - #76108
Merged
Merged
Conversation
Co-authored-by: Copilot App <[email protected]>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the Gemini run-metadata update.
No open issues 🎉
What changed in this PR
Fixes Gemini run metadata in the gh-aw compiler so aw_info.json records both version and agent_version when engine.version is omitted, while preserving explicit version pins.
Changes:
- Adds Gemini’s default CLI version to the shared installation-version lookup.
- Adds regression cases for default and explicitly pinned versions.
- Updates the compiler golden, regenerates two workflow locks, and documents the correction for future runs.
| File | Description |
|---|---|
pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden |
Expects both metadata fields to contain 0.64.0. |
pkg/workflow/compiler_yaml_lookups.go |
Returns Gemini’s default installation version. |
pkg/workflow/aw_info_agent_version_test.go |
Covers default and explicitly pinned Gemini versions. |
.github/workflows/smoke-gemini.lock.yml |
Populates version metadata for Gemini smoke runs. |
.github/workflows/engine-conformance-gemini.lock.yml |
Populates version metadata for Gemini conformance runs. |
.changeset/fix-gemini-run-info-version.md |
Documents the patch and recompilation requirement; historical artifacts remain unchanged. |
Review effort: Balanced (auto)
pelikhan
added a commit
that referenced
this pull request
Nov 9, 2026
…ll rule (#76119) * fix: populate default Gemini run-info versions (#76108) * eslint-factory: add require-per-page-on-github-list-call rule Co-authored-by: Copilot <[email protected]> * Fix pagination rule review feedback Co-authored-by: pelikhan <[email protected]> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: pelikhan <[email protected]>
Contributor
|
🎉 This pull request is included in a new release. Release: |
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.
Summary
Populate Gemini's default installation version in the shared run-info lookup so
aw_info.jsonrecords bothversionandagent_versionwhenengine.versionis omitted. Explicit version pins keep their existing behavior.The Gemini setup lookup already knew the default version, but
getInstallationVersionomitted the Gemini case. Activation creates run metadata before the Gemini installation step fills in the default config version, leaving both fields blank.Add default-version and explicit-pin regression cases, update the Gemini compiler golden, regenerate the two affected workflow locks, and document the prospective correction in a patch changeset. The generated locks change only the two metadata values per workflow.
Existing-run evidence
The metadata defect was observed in Smoke Gemini run 42540513187 at
4cec482315dd38838403ac3fa83462cc5c669544and Engine Conformance Gemini run 39578986848 atb76697cedc6f0c2f212f7ba7690df9baa7768205. Both runs installed Gemini CLI0.64.0while their published info artifacts had emptyversionandagent_version.Regression tests reproduce the blank compiler output without including raw prompts, logs, tool payloads, or credentials. The default-version cases failed before the fix and pass afterward.
Validation
make buildandmake fmtmake agent-report-progress: Go lint, custom Go linters, schema freshness, impacted Go tests, and full workflow drift check passed; all 365 workflows compiled successfully with existing repository warningsNo new Actions runs were dispatched, inference performed, MCP servers started, or credentials changed. This PR does not change compact terminal-stat projection or info-artifact collection into
workflow.info. Historical artifacts are not rewritten. The corrected revision has not been live-executed.