Repository navigation
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
💡 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; } |
There was a problem hiding this comment.
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 👍 / 👎.
Confidence Score: 5/5
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryRefreshes the generated
Reviews (1) · Last reviewed commit: "chore: Update skopeo CLI options" · Reviewed by Greptile |
There was a problem hiding this comment.
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.
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
Command coverage
Command coverage report:
Verification
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
--user-agent-prefixoption for the skopeo CLI, available in all editions.