Skip to content

feat(operator): Add beta dashboard#1343

Merged
leumor merged 14 commits into
developfrom
feature/operator-beta-dashboard
Jun 3, 2026
Merged

feat(operator): Add beta dashboard#1343
leumor merged 14 commits into
developfrom
feature/operator-beta-dashboard

Conversation

@leumor
Copy link
Copy Markdown
Collaborator

@leumor leumor commented Jun 3, 2026

Summary

  • Add host/operator-only Platform API routes for the operator beta dashboard, redacted support bundles, and durable subscription recovery actions.
  • Add operator-safe dashboard summaries for catalog health, app update/recovery state, subscriptions, Trust Graph Preview, app-service grants, quotas, diagnostics, and legacy-admin usage.
  • Add Web Shell controls for viewing the beta dashboard, generating/downloading/copying support bundles, and submitting safe recovery actions.
  • Add support-bundle redaction coverage, operator beta docs, and release-certification evidence for the new operator-beta.* rows.

Test plan

  • ./gradlew :platform-api:test --tests '*OperatorBetaDashboardServiceTest' --tests '*PlatformApiOperatorRoutesTest'
  • python3 tools/release-certification/app_platform_smoke.py --self-test
  • python3 tools/release-certification/app_platform_smoke.py --workspace-root . --out-dir build/release-certification/app-platform-smoke --mode pr --skip-gradle
  • python3 -m py_compile tools/release-certification/app_platform_smoke.py
  • ./gradlew spotlessApply

Notes

  • Base branch: develop.
  • Operator routes are intentionally host/operator-only and are not part of the app-facing Platform API compatibility contract.

leumor added 12 commits June 1, 2026 13:35
Add host/operator-only dashboard and support-bundle routes for beta app recovery, including subscription recovery wrappers and support redaction.

Wire the Web Shell panel, docs, release-certification evidence, and tests for operator beta UX and recovery.
Refresh project documentation and agent skills for the operator beta dashboard, public-beta security evidence, and live-network beta certification flow added since 56b9cb7.

Document live smoke self-tests, optional live artifacts, stale-summary handling, and the ownership boundaries for operator-only routes.
Point the operator beta evidence collector at the current AAA-style route tests and the dedicated support redactor test. Match the redactor's normalized lowercase sensitive field names so release-candidate evidence reflects the implemented checks.
Count app update candidates from the candidate status and auto-stage signal exposed by update summaries. Gate update recovery actions on app-update route availability so reduced router embeddings do not advertise actions that can only 404.
Redact authorization, cookie, and env-style credentials in exported support bundles.

Align operator recovery actions with review acknowledgement, running-app update gates, and preserve-data uninstall routing.

Add regression coverage for redaction and dashboard recovery action JSON.
Broaden support-bundle redaction to scrub PEM private-key blocks and absolute local paths across Unix, Windows, UNC, and file URI forms.

Redact uppercase file catalog sources in the operator beta dashboard and cover the behavior in focused tests.

Prune generated build, .gradle, and .git trees before adapter FCP boundary scans so validation does not descend into generated caches.
Treat key and signature names as sensitive credentials for support-bundle field, assignment, and query redaction. Update redactor tests to cover key/signature values while keeping assertion and SonarLint checks clean.
Redact support-bundle path tokens that include quoted or path-like whitespace segments so local paths with spaces are not partially exported.

Count dashboard quota warnings from quota-specific app state instead of any app warning so non-quota app review issues do not escalate quota status.
Treat common raw signature field names such as signatureBase64, signatureValue, rawSignatureValue, signaturePayload, and signatureDocument as sensitive support-bundle credentials.

Add regression coverage for structural fields, inline assignments, and query parameters so raw signature material is removed before export.
Treat seed phrase, recovery phrase, and mnemonic field variants as sensitive in support-bundle redaction. Add focused coverage for map fields, inline assignments, and query parameters.
Redact remote catalog displays and reuse the operator-safe subscription projection for recovery responses so support and Web Shell actions do not expose raw source URIs.

Reuse the Trust Graph handler already owned by the router so reduced embeddings report the same local preview state through operator dashboard and trust graph routes.
Update operator beta support-bundle evidence checks to recognize the split form-password marker used by the Java route test.

Mirror that split marker in the app-platform smoke self-test fixture so certification catches source-marker mismatches offline.
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4ab87f2e33

ℹ️ 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".

Add a dashboard warning when diagnostics are wired but legacy-admin usage counters are absent so the operator beta dashboard cannot report a healthy overall status while that section is unavailable.

Cover the reduced diagnostics case with a focused OperatorBetaDashboardService regression test.
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 09dd4688dd

ℹ️ 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".

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 3, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
79.8% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@leumor leumor merged commit 537d80d into develop Jun 3, 2026
18 of 19 checks passed
@leumor leumor deleted the feature/operator-beta-dashboard branch June 3, 2026 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant