refactor(policy)!: remove NetworkBinary harness field - #3222
refactor(policy)!: remove NetworkBinary harness field#3222varshaprasad96 wants to merge 2 commits into
Conversation
Closes NVIDIA#3054 Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
|
@varshaprasad96 I did a manual validation and it works as explained, scalar provider profile lint/import/export/delete works against a local Docker gateway; legacy harness profiles are rejected with the intended migration diagnostic; sandbox creation works. |
|
Label |
|
/ok to test 28495d8 |
johntmyers
left a comment
There was a problem hiding this comment.
gator-agent
PR Review Status
This implementation matches the linked removal and migration scope, preserves advisor-origin provenance at the endpoint boundary, and has no blocking findings from the initial code review. Required Branch Checks and E2E workflows are running for the current head, so Gator will monitor them before requesting maintainer approval.
Blocking findings:
- No blocking findings remain
Carried findings:
- None
Non-blocking suggestions:
- None
Gator metadata
- Validation: Project-valid implementation of linked issue #3054
- Docs: Architecture, provider profile, and 0.1.0 migration documentation updated
- Checks: Current-head Branch Checks and E2E are in progress; Helm Lint is green
- E2E:
test:e2eapplied, mirror authorization posted, and Branch E2E Checks running - Head SHA:
28495d8803b4380252435ea0d72fed565bbb5611 - Base SHA:
e1084e19db622fd1134454d3b589aab2022aaddf - Merge base SHA:
2ad86c1b2e3e81a26e0fd38ec860398acb31f2fc - Patch ID:
7e8e9eb0678cc383090be852ce40f199d97608ca - Gator payload:
8 - Review mode:
initial - Previous reviewed SHA: none
- Review budget exhausted: no
- Maintainer decision required: no
- Next state:
gator:watch-pipeline
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
|
Thanks @gmenher, have added in The stored-policy compatibility regression adds an unrelated future field (tag 99) alongside the former Validation steps:
|
|
/ok to test 758f643 |
johntmyers
left a comment
There was a problem hiding this comment.
gator-agent
Re-check After Author Update
Thanks @varshaprasad96. I checked the regression test added in 758f64309 after your September 9 response: it exercises an unrelated future nested protobuf field through the stored-policy record/payload round trip and then confirms the legacy provenance migration still separates explicit and advisor binaries correctly. The focused follow-up review found no blocking issues. Required current-head Branch E2E Checks are now queued and running.
Disposition: resolved.
Remaining items:
- No blocking items remain
Gator metadata
- Validation: Project-valid implementation of linked issue #3054
- Docs: Architecture, provider profile, and 0.1.0 migration documentation were updated in the reviewed patch; this follow-up is test-only
- Checks: Current-head required Branch Checks, Helm Lint, and E2E status contexts are pending
- E2E:
test:e2eis applied; current-head mirror authorization was posted and Branch E2E Checks run 34410134126 is queued/running - Head SHA:
758f64309b497cbbc06779dc695d73b6b0cae28f - Base SHA:
e1084e19db622fd1134454d3b589aab2022aaddf - Merge base SHA:
2ad86c1b2e3e81a26e0fd38ec860398acb31f2fc - Patch ID:
b5d4531b4160b71369e101b89a00d980584b4346 - Gator payload:
8 - Review mode:
follow_up - Previous reviewed SHA:
28495d8803b4380252435ea0d72fed565bbb5611 - Review budget exhausted: no
- Maintainer decision required: no
- Next state:
gator:watch-pipeline
|
@varshaprasad96 looks like some tests need to be fixed, if you could take a look then we should be able to prep to merge |
Summary
Remove the deprecated
NetworkBinary.harnessfield before 0.1.0 while preserving advisor-origin provenance at the endpoint/rule boundary.Related Issue
Closes #3054
Changes
harness, update generated Go bindings, and remove runtime, SDK, and profile uses.harnessinput with migration guidance while retaining protobuf wire compatibility.Testing
mise run pre-commitcargo test --workspace --exclude openshell-server -qcargo test -p openshell-server --lib -qcargo test -p openshell-supervisor-network --lib -qcargo test -p openshell-sandbox --lib -qmise run go:cimise run sdk:ts:cimise run test:pythonmise run e2e:docker— blocked before execution because the local Docker daemon was unreachable.Checklist