fix(ci): remove unused Setup Scripts step from update_cache_memory jobs#1252
Merged
lpcox merged 2 commits intoclaude/fix-issue-20590from Mar 12, 2026
Merged
Conversation
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] [66732385167] Fix failing GitHub Actions workflow update_cache_memory
fix(ci): remove unused Setup Scripts step from update_cache_memory jobs
Mar 12, 2026
lpcox
added a commit
that referenced
this pull request
Mar 12, 2026
…#1249) * Initial plan * feat: add openai/anthropic api target flags for custom endpoints * Update src/cli.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix(proxy): warn when custom api targets are not in --allow-domains Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> * fix(ci): skip agentic workflow activation for bot-triggered pull requests (#1250) * Initial plan * fix(ci): skip agentic workflow activation for bot-triggered pull requests Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> * fix: resolve pid-tracker integration test failure and add missing test coverage for API target validation (#1251) * Initial plan * fix: resolve failing Build and Lint (Node 22) CI workflow Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> * fix(ci): remove unused Setup Scripts step from update_cache_memory jobs (#1252) * Initial plan * fix(ci): remove unused Setup Scripts step from update_cache_memory jobs Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> * docs(proxy): document --openai-api-target and --anthropic-api-target in api-proxy-sidecar.md Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> * fix: resolve test coverage regression and locked PR comment failure (#1254) * Initial plan * fix: resolve coverage regression and locked PR comment failure Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com> --------- Co-authored-by: anthropic-code-agent[bot] <242468646+Claude@users.noreply.github.com> Co-authored-by: Landon Cox <landon.cox@microsoft.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
update_cache_memoryjobs fail with 401 Unauthorized because they havepermissions: {}but attempt to download the privategithub/gh-aw/actions/setupaction — which the empty token cannot access. TheSetup Scriptsstep is entirely unused in these jobs; all subsequent steps (actions/download-artifact,actions/cache/save) use the runner token, not GITHUB_TOKEN.Changes
scripts/ci/postprocess-smoke-workflows.ts: Added a transformation that strips theSetup Scriptsstep fromupdate_cache_memoryjobs when it is immediately followed byDownload cache-memory artifact, ensuring future recompiled lock files are also patched automaticallysmoke-claude,smoke-copilot,smoke-codex,security-review,ci-doctor,issue-duplication-detector,pelis-agent-factory-advisor,secret-digger-{claude,codex,copilot}): Applied the transformation —Setup Scriptsstep removed from eachupdate_cache_memoryjobBefore (broken):
After (fixed):
Original prompt
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.