Bugfix: GitHub Actions workflow had two silent failures: wrong NX pr...
Documentation for Sessions
🐛 Bugfix: GitHub Actions workflow had two silent failures: wrong NX pr...
Date: 2026-02-25
Time: 16:55:28 UTC
Session: gspace1-141.7
Agent: orchestrator
Confidence: 97%
Status: ✅ Documented
📋 Decision Context
Question:
GitHub Actions workflow had two silent failures: wrong NX project name and missing || '' fallbacks on optional secrets
Task: Fix GitHub Actions workflow for Vitto Desktop release
🎯 Decision Made
Chosen:
Fixed yarn nx build app-gograb-ai (not gograb-ai) and added || '' to all optional secrets (APPLE_*, WINDOWS_*)
Options Considered:
- Fix project name + add || '' fallbacks
- Remove signing env vars entirely
- Add workflow_dispatch inputs for secrets
💭 Reasoning
Root cause 1: NX project name in this monorepo is app-gograb-ai not gograb-ai. Verified locally: yarn nx show projects confirms this. The wrong name would silently fail CI on every release — 10 minutes of build time lost before failure. Root cause 2: GitHub Actions secrets context warning Context access might be invalid appears when referencing secrets.X where X is not defined as a repo/org secret. The || '' fallback makes the optional intent explicit to linters AND to tauri-apps/tauri-action which skips signing when the value is empty. Without it, some versions of the action throw on empty certificate values. This is the correct pattern for optional signing in CI — declare them but gracefully degrade.
📁 Files Involved
.github/workflows/release-vitto-desktop.yml
🔗 Related
- Decision ID:
dev_1772038528469_rb2m21k - Session: 141
- Workspace: gspace1
Auto-generated by MCP Smart Consolidation