Repository navigation
fix(ci): run the Gemma consolidation eval in bash, not PowerShell - #2769
kovtcharov-amd wants to merge 1 commit into
Conversation
The lemonade-eval pool is Windows, where the default shell is PowerShell, but every step in this workflow is bash. The first one died on `source: The term 'source' is not recognized` before installing anything, so the job has never gone green since it landed — the earlier runs were all 'cancelled' from runner starvation, which masked it until the pool freed up. Pin the job's default shell to bash (Git Bash ships on the runner) and swap the hand-rolled `python -m venv` + POSIX-only `.venv/bin/activate` for the shared setup-venv action the other Windows evals on this pool already use — it resolves Scripts\ vs bin/ per OS, so this class of break cannot recur.
|
Verdict: Approve This CI-only PR fixes the Gemma-4-E4B consolidation eval workflow, which had never once gone green: the previous step hand-rolled a venv with POSIX-only paths ( The bottom line: no blocking issues. The change reuses the exact pattern the two sibling evals on this same pool already run in production, so the approach is proven, not speculative. The one thing to confirm before merge is simply that the workflow now runs green on this branch (it triggers on push since the workflow file itself is in the path filter). Real-world evidenceN/A — CI/workflow-only change; it touches no runnable GAIA surface (CLI/API/MCP/Agent-UI), so there's no evidence bundle and none is expected. The real proof for this kind of change is the workflow going green on the branch; I couldn't observe the run status from here (shell/ 🔍 Technical detailsCorrectness — verified, no issues
Pattern reuse (strength)
Scope Single-file, single-purpose change. No drive-by edits. The in-file comments explaining the Windows/shell gotcha are consistent with this workflow's existing heavily-annotated style and earn their place (the failure mode is genuinely non-obvious). No security, breaking-change, or fail-loudly concerns — the preflight/integrity gates that make this job fail loudly are untouched. |
|
Closing this in favour of #2773, which fixes the same bug the other way round — and CI has now refuted the bash approach specifically.
#2773 goes the other direction: PowerShell throughout, Python via Worth keeping from this PR: the |
The Gemma consolidation eval has never gone green since it landed, and the reason was hidden until this week: the
lemonade-evalpool is Windows, where the default shell is PowerShell, but every step in this workflow is bash. Step one died onsource : The term 'source' is not recognized as the name of a cmdletbefore installing a single dependency. Until now every run showed up ascancelled— the pool was starved and jobs aged out after 24h — so the actual defect never surfaced. With the pool freed up the runs finally execute, and they fail here instead. The practical effect is that no PR touching an LLM-affecting path has had a real eval gate behind it.Two changes: pin the job's default shell to bash (Git Bash ships on the runner, and the sibling Windows workflows already use
shell: bash), and replace the hand-rolledpython -m venv+source .venv-agent-eval/bin/activatewith the sharedsetup-venvaction the other Windows evals on this pool use. That action resolvesScripts\vsbin/per OS and appends the right one toGITHUB_PATH, so a POSIX-only venv path cannot strand the job again.Test plan
yaml.safe_loadparses the workflow;agent-evalcarriesdefaults.run.shell: bash, and the step list is unchanged apart from the venv swapsetup-venvconfirmed cross-platform —create-venv-windowsappends$VENV_PATH\Scripts,create-venv-linuxappends$VENV_PATH/bin, both toGITHUB_PATHset -euo pipefail,trap … EXIT, background&,kill -0,curl … > /dev/nullall hold