Repository navigation
fix(generator): record verified gcloud 589 command removals - #6002
Conversation
Codex Review SummaryThis 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. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
There was a problem hiding this comment.
Claude Review
The PR adds 16 exact gcloud coverage exclusions to GcloudCliScraper. They cover the seven gcloud assured v2 paths and the nine gcloud telco-automation paths that SDK 589.0.0 no longer has. Each exclusion carries a reason that cites issue #6000 and the evidence fixture. The PR also adds a fixture with provenance, SHA256, environment and captured help output, plus regression tests. I found no actionable problems.
Review evidence
tools/ModularPipelines.OptionsGenerator/src/ModularPipelines.OptionsGenerator/Scrapers/Cli/GcloudCliScraper.cs: Adds exactly 16 exact-path exclusions through a shared reason constant. The reason mentions 589.0.0, exit 2, Invalid choice and #6000, which the tests assert. No wildcard or blanket approval was introduced, and the existing 587 exclusions are unchanged.
tools/ModularPipelines.OptionsGenerator/src/ModularPipelines.OptionsGenerator.Tests/Scrapers/Cli/GcloudCommandCoverageTests.cs: The new tests check the fixture against the exclusion list. They also check that other removals (such as a retained path or an unreviewed descendant), minimum-count and sentinel violations, and unavailable help are all still rejected. The fixture is read from AppContext.BaseDirectory, and the csproj copies Fixtures** to the output directory, so the path resolves.
tools/ModularPipelines.OptionsGenerator/src/ModularPipelines.OptionsGenerator.Tests/Fixtures/Gcloud/589.0.0/command-removal-help.json: Contains 16 exit-2 Invalid choice responses with empty stdout, plus 5 exit-0 control responses (root, assured, assured workloads, assured workloads list, compute instances list). The commandPath and arguments fields are consistent, and the data matches what the tests assert.
tools/ModularPipelines.OptionsGenerator/src/ModularPipelines.OptionsGenerator.Tests/Fixtures/Gcloud/589.0.0/provenance.txt: Documents the archive URL, SHA256, capture environment and reproduction steps. It states the limits of the evidence honestly: the release notes do not announce the removals, and it makes no claim about which release first removed them.
No actionable findings.
Optional follow-up notes
The fixture was captured on Windows with Python 3.14.3, but the provenance describes the Linux archive. This does no harm, because the help output is platform-independent.
The exclusion list is duplicated in the scraper and in the test constants. That is a deliberate guard against accidental drift, so I left it as is.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c4804bcb99
ℹ️ 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".
|
Review disposition on c4804bc: the Codex regeneration request is outside the explicit scope of #6000. The thread reply links #6001, which owns complete regeneration and is natively blocked by #6000; the thread is resolved. CodeRabbit docstring coverage is a non-blocking documentation/style suggestion. Declined additional docstrings because the new regression tests describe their behavior through test names and assertions, and no blocking code fix requires a push. Claude and CodeRabbit report no actionable code findings. CI Fast fail successfully ran the OptionsGenerator unit tests and generator formatting verification, covering the previously documented local full-suite validation limit. |
Google Cloud generation rejects the 587-to-589 transition because 16 upstream commands disappeared. Add exact coverage exclusions for the seven
gcloud assured v2paths and ninegcloud telco-automationpaths, with reasons backed by direct help from the official SDK 589.0.0 archive.The fixtures record archive provenance, SHA256, invocation environment, all 16 exit-2
Invalid choiceresponses, and five successful control help responses. Regression tests retain the SDK 587 exclusions and verify that other removals, minimum counts, sentinel commands, and unavailable help still fail. Package regeneration remains the separate dependent issue #6001.Closes #6000
Validation with pinned SDK 11.0.100-rc.1.26425.128 through
Invoke-AgentDotNet.ps1:GcloudCommandCoverageTestspassed; the transition test failed before the policy fix.CommandCoverageGuardTestspassed.format --verify-no-changes --severity info.Summary by CodeRabbit
assured v2andtelco-automationcommand paths. Assured Workloads continues to support thelistcommand withv1andv2version options.