Skip to content

ci: skip search-data generation when GEMINI_API_KEY is missing - #186

Merged
mmacpherson merged 3 commits into
mainfrom
chore/gemini-key-skip-guard
Jul 20, 2026
Merged

ci: skip search-data generation when GEMINI_API_KEY is missing#186
mmacpherson merged 3 commits into
mainfrom
chore/gemini-key-skip-guard

Conversation

@mmacpherson

Copy link
Copy Markdown
Owner

The weekly Lucide updater has failed since 2026-06-14 because the GEMINI_API_KEY repo secret disappeared — and the hard failure in the search-data step blocked icon updates entirely (we fell from 1.17.0 to 8 releases behind).

This makes the description-generation step skip loudly instead of fail when the key is absent: icon updates always land; new icons simply lag in semantic search until a key is restored. (The key has been re-provisioned separately, so this is belt-and-suspenders.)

🤖 Generated with Claude Code

mmacpherson and others added 2 commits July 20, 2026 10:52
The updater failed silently-in-a-corner every week since 2026-06-14
because the repo secret vanished — icon updates were hostage to the
search-data step. Skip description generation (with a loud log line)
when the key is absent; new icons just lag in semantic search until
the key returns.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Part of a cross-repo change (mmacpherson/mikemac#90): PR-producing
workflows open (or comment on) a 'ci-failure'-labeled issue on failure
so a dead updater can't masquerade as a quiet week — this exact
workflow was dead for 5 weeks before anyone noticed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mmacpherson

Copy link
Copy Markdown
Owner Author

Added a second commit: both housekeeping workflows now auto-file a ci-failure-labeled issue on failure (cross-repo pattern, see mmacpherson/mikemac#90).

… failure

The skip-guard made a missing key produce a green run with a buried log
warning — the same invisibility that hid the original outage. Missing
key now files/comments the ci-failure issue (with the sops recovery
pointer) while still letting the icon update land.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mmacpherson
mmacpherson merged commit 17cde41 into main Jul 20, 2026
6 checks passed
@mmacpherson
mmacpherson deleted the chore/gemini-key-skip-guard branch July 20, 2026 18:22
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.

1 participant