You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migrates viva commands to Zod. Closes #7358 - #7624
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The migration misuses Zod error callbacks, causing type-checking failures, and introduces validation defects that can crash prompting or leave users stuck in repeated prompts.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Three moderate issues remain: option-set metadata is missing from two selector refinements, disabling interactive conflict resolution, and privacy validation has become case-sensitive, rejecting previously accepted inputs.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The change still has an active moderate issue because the refinement no longer preserves the option-set prompt behavior when both admin selectors are supplied.
This refinement replaces the legacy option set that ran when both admin selectors were supplied. Without params.customCode: 'optionSet' and the option names, the CLI classifies the Zod issue as an ordinary error and exits immediately when prompting is enabled, instead of invoking the option-set prompt to let the user choose one. Preserve the interactive behavior by tagging this refinement as an option set.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The migration introduces moderate regressions in interactive option-conflict handling and previously supported @meid inputs, with additional string-style inconsistencies to correct.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed because omitted boolean options can reverse message-like actions and incorrectly enable reverse ordering in user-list requests.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is warranted because the migration removed coverage for invalid nonnumeric IDs in both affected command specs, leaving the new coercion contract insufficiently verified.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed because the migration is too complex to confidently validate automatically, with execution tests still bypassing the refined command option contracts.
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
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.
Closes #7358