Uh oh!
There was an error while loading. Please reload this page.
Replace positional boolean params with named option structs in workflow helpers - #46064
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
pelikhan
commented
Jul 16, 2026
@copilot run pr-finisher skill |
gh-aw-bot
commented
Jul 16, 2026
@copilot please run the
|
Checked PR #46064 at |
🎉 This pull request is included in a new release. Release: |
Two workflow helpers relied on consecutive positional booleans, making call sites easy to misread and silently break when argument order changed. This updates those APIs to use named structs so intent is explicit at each call site.
Copilot step env flags
buildCopilotStepEnvboolean cluster with a privatecopilotStepEnvFlagsstruct.npm install step options
NPMInstallOptionsforGenerateNpmInstallStepsandGenerateNpmInstallStepsWithScope.includeNodeSetup / isGlobal / runInstallScripts / cooldownEnabledpositional tail with named fields.Call site cleanup
Focused test updates
Example: