fix: stop Corepack prompting in the Renovate container - #10303
Merged
Merged
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 839e0a7. Configure here.
Mrtenz
approved these changes
Sep 21, 2026
4 tasks
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.

Explanation
The first approved update on the Dependency Dashboard (#10300) produced no pull request. Renovate honoured the approval and got as far as building the branch, then the lockfile update failed:
Corepack asks for confirmation before downloading the Yarn version pinned in
packageManager. Inside the Renovate container there is nothing to answer it, so the install exits 1 and the run ends withNo files to commit, which is why no branch and no pull request appeared.Everything before that worked. The debug log shows the approval being picked up correctly:
COREPACK_ENABLE_DOWNLOAD_PROMPT=0is Corepack's own switch for this; its source reads the variable and treats0as "do not prompt".References
Follows #10298. Part of WPC-1161.
Checklist
Note
Low Risk
CI-only workflow change with no impact on application code, auth, or published packages.
Overview
Renovate lockfile updates were failing in CI because Corepack prompts to download the Yarn version from
packageManager, and the Renovate container has no way to confirm—yarn install --mode=update-lockfileexits and no PR gets created.The Run Renovate step now sets
COREPACK_ENABLE_DOWNLOAD_PROMPT=0and passes it through the action viaadditional-env-list, so Corepack downloads Yarn without an interactive prompt.Reviewed by Cursor Bugbot for commit 8cc066b. Bugbot is set up for automated code reviews on this repo. Configure here.