fix(declarative): enforce saved plan execution modes - #1655
Conversation
|
|
|
Trusted E2E passed for reviewed fork SHA.
This trusted E2E result applies only to the exact reviewed SHA above. Re-run trusted E2E if the contributor pushes another commit. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6731cc4955
ℹ️ 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".
6731cc4 to
abf46a9
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: abf46a99eb
ℹ️ 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".
|
@floze-the-genius please see #1655 (comment) thank you for your contribution |
|
Thanks for the reminder. I have now signed the CLA, and the |
|
Thank you @floze-the-genius . I wanted to point to some expanded information in the original issue on this Please let me know if you'd like to expand your PR to cover that additional requirement, otherwise I can take it from you and continue. Thanks again |
b3fad1d to
7be4c69
Compare
|
Thanks for the clarification. I expanded the PR to cover the full command/mode contract from #1653 and rebased it onto the latest The updated implementation now:
The full race-enabled unit and integration suites, lint, CGO-disabled build, and the focused E2E scenario all pass on the rebased head. |
|
I pushed a small follow-up that only copy-edits the plan-mode validation errors. Suggested commands now appear on their own lines with a mock terminal prompt, and the guidance names the applicable command. There are no behavioral changes. |
|
The trusted E2E payload itself passed: the build, harness, and all five acceptance shards completed successfully. The red This appears to be a transient artifact-service/verifier failure rather than a test failure on |
Summary
apply --planaccepts only apply-mode planssync --planaccepts only sync-mode plansdelete --planaccepts only delete-mode plansdiff --planmode-neutralCREATE,UPDATE, andEXTERNAL_TOOLCREATE,UPDATE,DELETE, andEXTERNAL_TOOLDELETEsyncTesting
go fix ./...gofumptandgolines -m 120make buildmake build-cimake lintmake testmake test-integrationKONGCTL_E2E_SCENARIO=declarative/plan-mode-validation go test -tags=e2e ./test/e2e -run '^Test_Scenarios$' -count=1 -vCloses #1653