Skip to content

#2106: honor skipInteraction for the purge prompt in build (cdp) - #2783

Draft
ChaitanyaRangu wants to merge 1 commit into
Accenture:developfrom
ChaitanyaRangu:fix/issue-2106
Draft

ChaitanyaRangu wants to merge 1 commit into
Accenture:developfrom
ChaitanyaRangu:fix/issue-2106

Conversation

@ChaitanyaRangu

Copy link
Copy Markdown

PR details

What changes did you make?

  • closes [BUG] SkipInteraction not being detected for the mcdev createDeltaPkg command #2106
  • Mcdev.build (used by cdp) no longer prompts for the purge question when --skipInteraction/--yes is set; it defaults to purge=true (the prompt's default). An explicit --purge/--no-purge is never overridden, so multi-mapping cdp runs keep working.
  • Tests added in test/cli.noninteractive.test.js (they time out on the prompt without the fix).

Checklist

  • self-review done
  • test scripts updated

AI assistance

Written with Claude Code (AI). I ran eslint, prettier, tsc and the mocha suite. npm test has 57 failures that also occur without my change on main; the new tests pass. Branch is based on main — retarget to develop if needed.

…cdp)

Only defaults purge to true when it is not already an explicit boolean, so --no-purge still wins.
@ChaitanyaRangu
ChaitanyaRangu changed the base branch from main to develop December 3, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] SkipInteraction not being detected for the mcdev createDeltaPkg command

1 participant