Skip to content

fix: populate default Gemini run-info versions - #76108

Merged
pelikhan merged 1 commit into
mainfrom
pelikhan/gemini-session-normalization
Nov 9, 2026
Merged

pelikhan merged 1 commit into
mainfrom
pelikhan/gemini-session-normalization

Conversation

@pelikhan

@pelikhan pelikhan commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Populate Gemini's default installation version in the shared run-info lookup so aw_info.json records both version and agent_version when engine.version is omitted. Explicit version pins keep their existing behavior.

The Gemini setup lookup already knew the default version, but getInstallationVersion omitted 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 4cec482315dd38838403ac3fa83462cc5c669544 and Engine Conformance Gemini run 39578986848 at b76697cedc6f0c2f212f7ba7690df9baa7768205. Both runs installed Gemini CLI 0.64.0 while their published info artifacts had empty version and agent_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 build and make fmt
  • Focused existing engine-version, setup-version, and all-engine golden tests
  • make 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 warnings

No 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.

Copilot AI adaptive review requested due to automatic review settings November 9, 2026 03:21
@pelikhan
pelikhan merged commit 1b6cb00 into main Nov 9, 2026
50 of 51 checks passed
@pelikhan
pelikhan deleted the pelikhan/gemini-session-normalization branch November 9, 2026 03:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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]>
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.2

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.

2 participants