Skip to content

[Automated] Update snyk CLI Options - #5352

Merged
thomhurst merged 1 commit into
mainfrom
automated/update-cli-options-snyk
Sep 22, 2026
Merged

thomhurst merged 1 commit into
mainfrom
automated/update-cli-options-snyk

Conversation

@thomhurst

Copy link
Copy Markdown
Owner

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

  • Updated options classes to reflect latest CLI documentation
  • Added new commands if any were detected
  • Updated option types and descriptions

Command coverage

Command coverage report:

  • snyk (1.1306.1): 18 commands, tree 32de8a747296e31736bf613027b19e2b477465ca0d4198f0a4631966ff7f20ac
    • Baseline comparison: 18 commands at 1.1306.1 -> 18 commands at 1.1306.1

Verification

  • Solution builds successfully

🤖 Generated with ModularPipelines.OptionsGenerator

@thomhurst thomhurst added automated dependencies Pull requests that update a dependency file labels Sep 22, 2026
@coderabbitai

coderabbitai Bot commented Sep 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (9)
  • src/ModularPipelines.Snyk/Enums/SnykCodeTestSeverityThreshold.Generated.cs is excluded by !**/*.generated.*
  • src/ModularPipelines.Snyk/Enums/SnykContainerTestFailOn.Generated.cs is excluded by !**/*.generated.*
  • src/ModularPipelines.Snyk/Enums/SnykFailOn.Generated.cs is excluded by !**/*.generated.*
  • src/ModularPipelines.Snyk/Enums/SnykFilePathGroup.Generated.cs is excluded by !**/*.generated.*
  • src/ModularPipelines.Snyk/Enums/SnykFormat.Generated.cs is excluded by !**/*.generated.*
  • src/ModularPipelines.Snyk/Enums/SnykReachabilityFilter.Generated.cs is excluded by !**/*.generated.*
  • src/ModularPipelines.Snyk/Enums/SnykSeverityThreshold.Generated.cs is excluded by !**/*.generated.*
  • src/ModularPipelines.Snyk/Enums/SnykShowVulnerablePaths.Generated.cs is excluded by !**/*.generated.*
  • src/ModularPipelines.Snyk/Generated/Snyk.Generation.json is excluded by !**/generated/**

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 091c2d28-6959-4cfb-b8db-58ea5492ea06

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 22, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-22T12:18:26.506444Z 33141e2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Review

This is an automated regeneration PR for the Snyk CLI options package. All 8 enum "Allowed values for X" doc-comment summaries gained a trailing period, and Snyk.Generation.json's generatorSourceSha256 was bumped to reflect the newer generator source. No CLI commands, option types, or command tree changed (toolVersion and commandTreeSha256 are unchanged).

Review evidence

src/ModularPipelines.Snyk/Enums/SnykFailOn.Generated.cs: Summary doc comment now reads 'Allowed values for --fail-on.' with a trailing period; verified this matches the current generator template literal and an existing generator unit test, confirming the regeneration is a faithful, non-divergent output of the current tool source rather than an accidental or manual edit.

src/ModularPipelines.Snyk/Generated/Snyk.Generation.json: Only generatorSourceSha256 changed (37c8e0e0...9a6998b -> 755df85a...9132441d6); toolVersion (1.1306.1) and commandTreeSha256 are unchanged, confirming this PR is a pure generator-formatting regeneration with no CLI surface or command-tree changes.

No actionable findings.

Optional follow-up notes

The bumped generatorSourceSha256 was verified against current generator source: tools/ModularPipelines.OptionsGenerator/src/ModularPipelines.OptionsGenerator/Generators/OptionEnumFactory.cs:60 already emits $"Allowed values for {switchName}." with a trailing period, and CobraCliScraperTests.cs:44 asserts this exact format, so the regenerated output correctly matches the current generator rather than diverging from it.

No prior review findings are outstanding: CodeRabbit explicitly skipped review of these files due to its default path filters for generated/.generated. paths, and the Codex review shown in context was still 'Running' with no comments posted yet, so there is nothing unaddressed to reconcile.

@thomhurst

Copy link
Copy Markdown
Owner Author

Snyk acceptance for #5009: this snapshot was generated by https://github.com/thomhurst/ModularPipelines/actions/runs/35725645483 from main ae2f20a after #5330 and #5350 merged. Assert-GeneratedOptionsFreshness.ps1 confirms the generator fingerprint matches current main.

The complete diff contains eight generated enum summary punctuation changes from the shared factory and the provenance fingerprint update. CLI value spellings, enum members, options, services, and the 18-command coverage manifest remain unchanged. No generated files or API baselines were manually edited.

The guarded Release/net10.0 Snyk executable test project passes all 12 tests locally. The workflow solution build passed; PR integration CI and reviews remain merge gates. #5009 stays open until Google acceptance also completes.

@thomhurst
thomhurst merged commit bc703da into main Sep 22, 2026
13 checks passed
@thomhurst
thomhurst deleted the automated/update-cli-options-snyk branch September 22, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant