Repository navigation
feat(cli): add --annotation to sandbox create - #4325
ericcurtin wants to merge 4 commits into
Conversation
|
@elezar @johntmyers PTAL when you get a chance. Thank you! |
elezar
left a comment
There was a problem hiding this comment.
Please remove the CLI-only reserved annotation key check, its associated test, and the documentation stating that openshell.nvidia.com/ is reserved.
Annotation ownership should be defined consistently and enforced by the gateway across all clients. Existing annotations use both openshell.nvidia.com/ and internal.openshell.ai/, and some keys under the former already support caller/interceptor-supplied provenance.
Follow-up issue #4333 covers namespace consistency and gateway enforcement where reservation applies, including compatibility with retention and provenance workflows. This PR can stay focused on exposing creation-time annotations.
Good call removing the company name from openshell.nvidia.com/ and allowing internal.openshell.ai/ FWIW. When you start blurring the name of the company with the name of the upstream project things can get messy fast... |
|
Removed the reserved key check, its test, and the docs note. @elezar PTAL, and |
|
/ok to test 2c10046 |
|
Label |
johntmyers
left a comment
There was a problem hiding this comment.
gator-agent
PR Review Status
The full patch has no blocking findings. Thanks @ericcurtin, I checked your update removing the reserved-key check, test, and docs note requested by @elezar; those changes are present, and gateway-wide annotation ownership remains tracked in #4333. The annotation parser, creation request, ephemeral retention handling, tests, and published docs are consistent with this focused change.
Required tests are now queued or running on this head after applying test:e2e and posting /ok to test. The label-help bot suggested rerunning E2E, but the mirror push created a fresh E2E run after the label was applied; run 38296825072 is queued with its PR-metadata job complete. Gator will monitor its results. Maintainer approval remains outstanding.
Blocking findings: None.
Carried findings: None.
Non-blocking suggestions: None.
Gator metadata
- Validation: Concentrated CLI implementation of accepted issue #4303.
- Docs: Fern sandbox overview and public CLI skill updated; no navigation change needed.
- Checks: DCO and Trivy pass; current-head Branch Checks and Helm Lint running.
- E2E:
test:e2eapplied; fresh current-head Branch E2E Checks run 38296825072 queued. - Head SHA:
2c1004639c36d1178093ae057542de0eabb58f12 - Base SHA:
67adcf1a3cf054be54dfdbf6a44c65b4d426b1ec - Merge base SHA:
67adcf1a3cf054be54dfdbf6a44c65b4d426b1ec - Patch ID:
ae252e0cbe00a52d2e864f6375e4bc3f15a77e1a - Gator payload:
12 - Review mode:
initial - Previous reviewed SHA: none
- Review budget exhausted: no
- Maintainer decision required: no
- Next state:
gator:watch-pipeline
Signed-off-by: Eric Curtin <eric.curtin@docker.com>
Signed-off-by: Eric Curtin <eric.curtin@docker.com>
Signed-off-by: Eric Curtin <eric.curtin@docker.com>
2c10046 to
bdd8c4d
Compare
|
Rebased and fixed the test compile break from main. @johntmyers PTAL, and |
|
/ok to test bdd8c4d |
johntmyers
left a comment
There was a problem hiding this comment.
gator-agent
PR Review Status
No blocking findings remain after the follow-up review. Thanks @ericcurtin, I checked your rebase and test compilation fix in response to @johntmyers: both annotation tests now use the current environment helper, and the author-only delta introduces no identified regression. @elezar's earlier request to remove CLI-only annotation reservation remains addressed; gateway-wide ownership stays tracked in #4333.
The current-head Branch Checks and E2E workflows are queued or running after @johntmyers posted /ok to test. E2E run 38634070862 was created with test:e2e already applied and has build jobs queued, so no additional rerun is needed. Gator will monitor the results; maintainer approval is still outstanding.
Blocking findings: None.
Carried findings: None.
Gator metadata
- Validation: Concentrated CLI implementation of accepted issue #4303.
- Docs: Fern sandbox overview and public CLI skill updated; no navigation change needed.
- Checks: DCO, Helm Lint, and Trivy pass; current-head Branch Checks running.
- E2E:
test:e2eapplied; current-head Branch E2E Checks run 38634070862 queued with build jobs queued. - Head SHA:
bdd8c4dde9892fd503c38fd9a8b2888749371015 - Base SHA:
68b10822ce1b65b376c5c60176b765f793f460fd - Merge base SHA:
68b10822ce1b65b376c5c60176b765f793f460fd - Patch ID:
f7976e37ed0a82e040598b4aa749d60d66f36abe - Gator payload:
12 - Review mode:
follow_up - Previous reviewed SHA:
2c1004639c36d1178093ae057542de0eabb58f12 - Review budget exhausted:
no - Maintainer decision required:
no - Next state:
gator:watch-pipeline
Signed-off-by: John Myers <9696606+johntmyers@users.noreply.github.com>
|
/ok to test ff0192c |
johntmyers
left a comment
There was a problem hiding this comment.
gator-agent
PR Review Status
No blocking findings remain after reviewing the author-only delta and merge resolution. @johntmyers, I checked your update integrating main and boxing the forwarding-test future: the merge resolution changes test allocation without changing annotation behavior. @ericcurtin's earlier test-helper fix and @elezar's request to remove CLI-only annotation reservation remain addressed; gateway-wide annotation ownership stays tracked in #4333.
Branch Checks and E2E are already running for this head after @johntmyers posted /ok to test. The E2E workflow was created with test:e2e already applied and has completed build jobs, so no additional rerun is needed. Gator will monitor the results; maintainer approval remains outstanding.
Blocking findings: None.
Carried findings: None.
Gator metadata
- Validation: Concentrated CLI implementation of accepted issue #4303.
- Docs: Fern sandbox overview and public CLI skill updated; no navigation change needed.
- Checks: DCO, issue acceptance, and Helm Lint pass; Branch Checks running. No current-head Trivy Changes status is published; recheck required gate coverage before approval handoff.
- E2E:
test:e2eapplied; current-head Branch E2E Checks run 38784991295 dispatched with build jobs complete or running. - Head SHA:
ff0192caefa2360291832b85253dc0445c47e72a - Base SHA:
253884414a8c878ad8f3509be9b63140610fa598 - Merge base SHA:
253884414a8c878ad8f3509be9b63140610fa598 - Patch ID:
e0cd528114e9d99b713e8d17013029778ca24c54 - Gator payload:
12 - Review mode:
follow_up - Previous reviewed SHA:
bdd8c4dde9892fd503c38fd9a8b2888749371015 - Review budget exhausted:
no - Maintainer decision required:
no - Next state:
gator:watch-pipeline
Summary
Add repeatable
--annotation KEY=VALUEtosandbox create.Related Issue
Closes #4303
Changes
--annotationflag, merged with the ephemeral retention annotation.--labelnow uses the sharedparse_key_value_pairs(also trims keys and rejects empty ones).Testing
cargo fmt,cargo clippy -p openshell-cli --all-targets -- -D warnings,cargo test -p openshell-cli(lib, bin,sandbox_create_lifecycle_integration), and markdownlint on changed docs.Checklist