-
Notifications
You must be signed in to change notification settings - Fork 43
Fix SC2155 shellcheck errors in generated workflow scripts #10031
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
Conversation
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
- Separated variable declaration from assignment for API_KEY and MCP_GATEWAY_API_KEY - Fixed in pkg/workflow/mcp_servers.go to generate proper shell code - Eliminated all 122 SC2155 errors across all workflows Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
- Fixed 122 SC2155 shellcheck errors across all workflows - Pre-existing test failure in pkg/campaign unrelated to this fix - All shellcheck SC2155 errors now resolved Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰 |
Smoke Test Results - Run #21022051669Last 2 Merged PRs:
Test Results:
Status: PASS (4/5 tests passed, go command unavailability is expected) cc: @pelikhan
|
Smoke Test Results (Claude)Last 2 Merged PRs:
Test Results:
Overall: PARTIAL PASS (5/6 tests passed)
|
All 122 workflows had SC2155 shellcheck errors: declaring and assigning variables with command substitution in one line masks command failures and prevents proper error detection.
Changes
pkg/workflow/mcp_servers.goto generate shell code that separates variable declaration from assignmentBefore
After
Impact
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.