[Automated] Update snyk CLI Options - #4622
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: ⛔ Files ignored due to path filters (7)
📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe Snyk API tracking files update six enum definitions. Shipped declarations remove the affected members. Unshipped declarations record the old values as removed and add the new numeric values. ChangesSnyk enum API updates
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This updates Snyk enum API tracking to reflect the current CLI option ordering. The documented breaking enum-value changes are intentional, and no concrete merge-blocking risk remains. Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
c5315a2 to
0902495
Compare
Review: [Automated] Update snyk CLI Options (#4622)This is a fully automated, generator-produced PR regenerating the Snyk CLI options classes from the latest scraped Findings:
No correctness, design, or maintainability issues found. This is a clean, self-consistent mechanical regeneration — approved. |
0902495 to
097b708
Compare
Review: [Automated] Update snyk CLI Options (#4622)This is a fully automated, generator-produced PR that regenerates the Snyk CLI options classes from the latest scraped What changed: Several enums ( Verification performed:
Per project convention, current tool output is treated as the source of truth even when regeneration causes breaking API changes (ordinal changes to public enums here), so this is acceptable as-is. No correctness, design, or maintainability issues found — this is a clean, self-consistent mechanical regeneration. |
097b708 to
93c5e65
Compare
Review: [Automated] Update snyk CLI Options (#4622)This is a fully automated, generator-produced PR regenerating the Snyk CLI options classes from the latest scraped
Verification performed:
The ordinal renumbering is a breaking change for anyone persisting/serializing these enums by integer value, but per CLAUDE.md's explicit policy, current tool/generator output is the source of truth even when regeneration causes breaking API changes — and the PR description already discloses this. This matches the findings of the prior automated reviews on this PR, and no new issues were introduced in the current head. No correctness, design, or maintainability issues found. This is a clean, self-consistent mechanical regeneration — approved. |
Summary
This PR contains automatically generated updates to snyk CLI options classes.
The generator scraped the latest CLI help output from the installed tool.
Changes
Assembly-wide public API impact
Affected API families:
Snyk.Breaking changes are present. Consumers may need to update method arguments, option property types or nullability, enum members, and references to removed APIs.
Representative removed or changed members:
ModularPipelines.Snyk.Enums.SnykCodeTestSeverityThreshold.High = 2 -> ModularPipelines.Snyk.Enums.SnykCodeTestSeverityThresholdModularPipelines.Snyk.Enums.SnykCodeTestSeverityThreshold.Low = 0 -> ModularPipelines.Snyk.Enums.SnykCodeTestSeverityThresholdModularPipelines.Snyk.Enums.SnykCodeTestSeverityThreshold.Medium = 1 -> ModularPipelines.Snyk.Enums.SnykCodeTestSeverityThresholdModularPipelines.Snyk.Enums.SnykFailOn.Patchable = 2 -> ModularPipelines.Snyk.Enums.SnykFailOnModularPipelines.Snyk.Enums.SnykFailOn.Upgradable = 1 -> ModularPipelines.Snyk.Enums.SnykFailOnRepresentative added members:
ModularPipelines.Snyk.Enums.SnykCodeTestSeverityThreshold.High = 0 -> ModularPipelines.Snyk.Enums.SnykCodeTestSeverityThresholdModularPipelines.Snyk.Enums.SnykCodeTestSeverityThreshold.Low = 1 -> ModularPipelines.Snyk.Enums.SnykCodeTestSeverityThresholdModularPipelines.Snyk.Enums.SnykCodeTestSeverityThreshold.Medium = 2 -> ModularPipelines.Snyk.Enums.SnykCodeTestSeverityThresholdModularPipelines.Snyk.Enums.SnykFailOn.Patchable = 1 -> ModularPipelines.Snyk.Enums.SnykFailOnModularPipelines.Snyk.Enums.SnykFailOn.Upgradable = 2 -> ModularPipelines.Snyk.Enums.SnykFailOnCommand coverage
Command coverage report:
Verification
🤖 Generated with ModularPipelines.OptionsGenerator
Summary by CodeRabbit