Repository navigation
Conversation
Resolve release-scoped Secret references after session and IAM checks. Fail closed on unavailable credentials, observe rotation on each request, and preserve backend identity validation. Fixes #148
Codex Review Summary: ✅ CompletedThis 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. |
|
Companion modelsphere/console-canary-plugin#11 has been reworked and its cloud build passed: https://github.com/modelsphere/console-canary-plugin/actions/runs/45316712596. The 0.4.2 cloud package passed checksum, pinned-host CLI validation and rendered Secret-reference checks; canaryd main.go/service.go now have no diff against that PR base. All Console CI/publish checks passed. No cluster modifications or merges performed; this PR is awaiting the required GitHub Approver. |
Share plugin-local data queries with action callbacks and preserve independent SLO edit policy instead of inheriting the uninstall lock. Keep open SLO drafts mounted during policy refresh while writes remain disabled. Add isolation, changed-resource, stale-error and rendered-action regression tests.
Keep the existing authProxy session and identity contract. Remove the unshared Secret-reference schema, lookup and validation while retaining the proposal as deferred. Add regressions for existing routes and session forwarding without Secret reads. Refs #148
What type of PR is this?
What this PR does and why
Resource actions received an empty data context even when their plugin registered data extensions. The inference-detail SLO action also inherited the uninstall lock, blocking independently editable SLO policies.
authProxySecretRefat the user's request. Remove the proposed type, generated schema field, route/release validation and Secret lookup/injection. Global does not implement this extension; it is not an existing cross-host contract.authProxy, session Bearer, IAM, verified identity forwarding and Cookie stripping unchanged. Add regressions for the existing contract and rejection of the unsupported field.f4c50c9.Which issue(s) this PR fixes
Fixes #151
Refs #148 (deferred proposal, not implemented by this PR).
Companion frontend/package PR: modelsphere/console-canary-plugin#11.
How it was tested
go test ./...andgo vet ./...passed.go test -race ./internal/iam ./internal/pluginregistry ./internal/serverpassed.pnpm --dir web typecheckpassed after the removal; unchanged frontend source previously passed all 835 tests in 92 files and a production build.helm lint --strict helm/consolepassed with Helm 3.17.4; formatting andgit diff --checkpassed.9c659a3.Checks
go test ./...andgofmt -lon modified packages is emptyhelm lint --strict helm/consoleNotes for reviewers
Start with
web/src/extensions/queries.ts,web/src/extensions/registry.tsandweb/src/modules/inferences/InferenceDetail.tsx. The Secret proposal remains indocs/development/plugin-proxy-credentials.mdwith an explicit deferred/not-shipped status.The earlier Secret-extension prototype is removed by
9c659a3; review the cumulative diff. #148 remains deferred, not completed.The current generic proxy forwards a user session, not Canary's existing backend shared key. Backend authentication integration remains owned by the backend team and is not established by package validation. No new CRD field or Secret-read permission is required by this PR. No live deployment or merge was performed.
Release note