Repository navigation
fix(prover): distinguish sibling endpoints and fail closed on solver errors - #4326
Conversation
…errors Signed-off-by: Adrien Langou <alangou@nvidia.com>
|
Label |
|
🌿 Preview your docs: https://nvidia-preview-pr-4326.docs.buildwithfern.com/openshell |
alangou
left a comment
There was a problem hiding this comment.
gator-agent
PR Review Status
The independent code review found no blocking issues in the endpoint identity changes or fail-closed solver handling. The required Branch Checks, Helm Lint, Trivy Changes, and standard E2E gates are green on this head.
Action required: A human maintainer must review and approve this PR.
Blocking findings: None.
Carried findings: None.
Non-blocking suggestions: None.
Gator metadata
- Validation: Focused prover correctness fix and gateway error propagation; the author has verified repository admin authority.
- Docs: Prover README, published policy-advisor documentation, and CLI skill updated; existing navigation is sufficient.
- Checks: All required current-head gates are green; DCO and vouch checks passed; no merge conflict.
- E2E:
test:e2eis present and the standard E2E workflow completed successfully on this exact head. No additional GPU, Windows, or Kubernetes-specific labels are needed for this patch. - Head SHA:
2a29ab2052164a56b424ac1c9747fdeb5a8e2b0c - Base SHA:
67adcf1a3cf054be54dfdbf6a44c65b4d426b1ec - Merge base SHA:
e406c2befbe65501409026d49259602669f7246a - Patch ID:
160c66399ac671eda6cf56da74960b54cb00f337 - Gator payload:
12 - Review mode:
initial - Previous reviewed SHA:
none - Review budget exhausted:
no - Maintainer decision required:
no - Next state:
gator:approval-needed
Monitoring CompleteMonitoring is complete because this PR has merged. Final status: Gator review found no blocking findings, required checks passed, and human maintainer approval was recorded before merge. I removed the active Gator metadata
|
Summary
Keep sibling endpoints distinct in the prover and read each endpoint's own allowed methods. Propagate inconsistent or inconclusive solver results as validation errors so policy approval requires successful analysis of both the current and proposed policies.
Changes
Compatibility
openshell-proverAPI changes:run_all_queriesandcheck_credential_safetynow returnResult<Vec<Finding>>, andEndpointIdaddsendpoint_index. Repository callers are updated.Testing
-D warnings, Rust formatting, andgit diff --checkpassed.mise run docs: navigation passed; Fern reported 0 errors and 3 warnings.allow_index_crates_io_443, the rule name produced by the base implementation. This exercised approval, the active REST/read-only policy, and a successful request after hot-reload. The unmodified scenario still fails on its stalecargo_registryname assertion; the tracked E2E script is unchanged.test:e2e.Checklist