Skip to content

[Automated] Update skopeo CLI Options - #7675

Open
thomhurst wants to merge 1 commit into
mainfrom
automated/update-cli-options-skopeo
Open

thomhurst wants to merge 1 commit into
mainfrom
automated/update-cli-options-skopeo

Conversation

@thomhurst

@thomhurst thomhurst commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Summary

This PR contains automatically generated updates to skopeo 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:

  • skopeo (1.21.0-dev): 11 commands, tree 71df545926b8f3395c60d1ed9e037569395c16b401bff0417eacdfb16d3d7908
    • Baseline comparison: 11 commands at 1.13.3 -> 11 commands at 1.21.0-dev

Verification

  • Solution builds successfully in the read-only generation job

Auto-merge arms once Claude and Codex clear this head and an owner or collaborator posts <!-- generated-options-conversation-clear:<full-head-SHA> --> after dispositioning all conversation findings (see AGENTS.md). GitHub then merges after the required checks pass. A later conversation update requires fresh clearance; a PR with findings is not armed.


🤖 Generated with ModularPipelines.OptionsGenerator

Summary by CodeRabbit

  • Documentation
    • Documented the --user-agent-prefix option for the skopeo CLI, available in all editions.

@thomhurst thomhurst added automated dependencies Pull requests that update a dependency file labels Dec 1, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T20:25:02.583331Z af3fe16 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.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Skopeo CLI reference now lists --user-agent-prefix as a global option. The entry maps to UserAgentPrefix and is marked available in all editions.

Changes: Skopeo CLI reference

Layer / File(s) Summary
Document the global option
docs/docs/mp-packages/cli/skopeo.md
The global-options table adds --user-agent-prefix, maps it to UserAgentPrefix, and marks it available in all editions.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related PRs

Merge Risk: Minimal · up to af3fe · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "[Automated] Update skopeo CLI Options" matches the main change. The PR updates generated skopeo CLI option classes from skopeo 1.21.0-dev help output, and the raw summary shows the new --us…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "[Automated] Update skopeo CLI Options" matches the main change. The PR updates generated skopeo CLI option classes from skopeo 1.21.0-dev help output, and the raw summary shows the new --user-agent-prefix option in the skopeo CLI reference. The title is short and specific. The "[Automated]" prefix is a tag, not noise that hides the change, so the title passes.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A rabbit reads the Skopeo page,
A new flag joins the options stage.
UserAgentPrefix now appears,
Marked for all editions here.
The rabbit hops away with cheer.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cc4207fe-6a8d-4e08-a27d-0b20b34a4cd1
Commits

Reviewing files that changed from the base of the PR and between 9a919fb and af3fe16.

Files ignored due to path filters: 8

  • src/ModularPipelines.Skopeo/Generated/Skopeo.CommandCoverage.json is excluded by !**/generated/**
  • src/ModularPipelines.Skopeo/Generated/Skopeo.Generation.json is excluded by !**/generated/**
  • src/ModularPipelines.Skopeo/Options/SkopeoCopyOptions.Generated.cs is excluded by !**/*.generated.*
  • src/ModularPipelines.Skopeo/Options/SkopeoDeleteOptions.Generated.cs is excluded by !**/*.generated.*
  • src/ModularPipelines.Skopeo/Options/SkopeoInspectOptions.Generated.cs is excluded by !**/*.generated.*
  • src/ModularPipelines.Skopeo/Options/SkopeoListTagsOptions.Generated.cs is excluded by !**/*.generated.*
  • src/ModularPipelines.Skopeo/Options/SkopeoOptions.Generated.cs is excluded by !**/*.generated.*
  • src/ModularPipelines.Skopeo/Options/SkopeoSyncOptions.Generated.cs is excluded by !**/*.generated.*
Files selected for processing: 1

  • docs/docs/mp-packages/cli/skopeo.md

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: af3fe16f0f

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

/// prefix to add to the user agent string
/// </summary>
[CliOption("--user-agent-prefix", Format = OptionFormat.EqualsSeparated)]
public virtual string? UserAgentPrefix { get; set; }

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Update the global-settings test for the added property

Adding UserAgentPrefix increases the number of public properties declared on SkopeoOptions from nine to ten, but Commands_Inherit_Nine_Public_Settings_Without_Promoting_Local_Flags in test/ModularPipelines.Skopeo.UnitTests/GlobalOptionsTests.cs:69–70 still asserts exactly nine. The Skopeo unit test suite will therefore fail on this generated update. Keep the generated option and update the handwritten test to reflect the new global setting, consistent with AGENTS.md treating current tool output as authoritative.

AGENTS.md reference: AGENTS.md:L42-L42

Useful? React with 👍 / 👎.

@greptile-apps

greptile-apps Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Summary

Refreshes the generated skopeo options for 1.21.0-dev while retaining all 11 commands.

  • Skopeo commands can add a prefix to their user-agent string.
  • Copy commands can control destination compression and parallel layer copies.
  • Sync commands can write resulting image digests and references to a file.
  • Skopeo commands can use a fixed pause between retries.
  • Copy and sync commands can sign images with a Sequoia-PGP fingerprint.
  • Generated Skopeo help and version details reflect newer CLI output.

Reviews (1) · Last reviewed commit: "chore: Update skopeo CLI options" · Reviewed by Greptile

@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 a generated skopeo options update. It adds the global --user-agent-prefix option (UserAgentPrefix) and new per-command options: --retry-delay, --sign-by-sq-fingerprint, --dest-force-compress-format, --image-parallel-copies and --digestfile. It also refreshes some help text and the coverage and generation metadata. The generated code is consistent and the types look right. However, the handwritten test GlobalOptionsTests.cs hard-codes nine declared public properties on SkopeoOptions. The new property makes it ten, so that test will fail and the PR is not mergeable as is.

Review evidence

src/ModularPipelines.Skopeo/Options/SkopeoOptions.Generated.cs: Adds virtual string? UserAgentPrefix with CliOption("--user-agent-prefix", EqualsSeparated). It matches the existing global option pattern, and the declared property count on the base type rises from 9 to 10.

src/ModularPipelines.Skopeo/Options/SkopeoCopyOptions.Generated.cs: New options (DestForceCompressFormat flag, ImageParallelCopies ulong, RetryDelay, SignBySqFingerprint) use the correct attributes and formats. The other changes are help-text updates only.

src/ModularPipelines.Skopeo/Options/SkopeoSyncOptions.Generated.cs: Adds Digestfile, RetryDelay and SignBySqFingerprint, and updates descriptions. The attributes are consistent with the other generated options.

src/ModularPipelines.Skopeo/Generated/Skopeo.Generation.json: The tool version and generator source hash were updated. The command tree hash is unchanged, which matches 11 commands before and after.

docs/docs/mp-packages/cli/skopeo.md: Documents the new global --user-agent-prefix option in the global options table.

test/ModularPipelines.Skopeo.UnitTests/GlobalOptionsTests.cs:67-70: Commands_Inherit_Nine_Public_Settings_Without_Promoting_Local_Flags asserts that SkopeoOptions declares exactly 9 public properties. The generated UserAgentPrefix in SkopeoOptions.Generated.cs makes it 10, so the Skopeo unit test fails (this matches the unresolved Codex finding). Do not hand-edit the generated options. Update the handwritten test to expect 10 and rename the method (for example Commands_Inherit_Ten_Public_Settings...). Better, replace the magic count with an assertion that does not break whenever a global flag is added, such as checking the expected set of global property names or that no local flags like Creds or Authfile are declared on the base type. The test already has those checks, so the count adds little.

Optional follow-up notes

The generator's PR template says it verified only that the solution builds. That check does not run the handwritten Skopeo unit tests, which is why the stale count was not caught. Consider having the generation workflow run the integration's unit tests.

This branch has not been deployed

No deployments
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