-
Notifications
You must be signed in to change notification settings - Fork 1
fix(ci): ensure gemini-cli installs in reusable dev-lead workflow #220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -133,9 +133,15 @@ | |
| fi | ||
|
|
||
| case "$DEV_LEAD_ENGINE" in | ||
| claude) | ||
| npm install -g @google/gemini-cli || true | ||
|
Check warning on line 137 in .github/workflows/dev-lead-reusable.yml
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
With this new install, Claude-primary runs can now reach the Gemini fallback, but Useful? React with 👍 / 👎. |
||
| if ! gh copilot --version >/dev/null 2>&1; then | ||
| gh extension install github/gh-copilot || true | ||
| fi ;; | ||
| gemini) | ||
| npm install -g @google/gemini-cli || true ;; | ||
| copilot) | ||
| npm install -g @google/gemini-cli || true | ||
|
Check warning on line 144 in .github/workflows/dev-lead-reusable.yml
|
||
| if ! gh copilot --version >/dev/null 2>&1; then | ||
| gh extension install github/gh-copilot || true | ||
| fi ;; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the npm install fails here (registry outage, package error, or runner/network issue),
|| truelets the workflow continue with nogeminibinary. In the fix-ci path, a later Claude rate limit callsrun_writer_with_fallback, which tries Gemini next; a missing binary returns 127 from the Gemini branch inscripts/engine.sh, and because that helper only continues on exit 2, the run aborts instead of reaching the newly installed Copilot fallback. Either fail this setup step or explicitly skip unavailable engines before trying them.Useful? React with 👍 / 👎.