Skip to content

feat(console): rotation alerts — banner + dashboard widget [v1.11.0]#19

Merged
lopadova merged 1 commit into
mainfrom
task/h12-rotation-alerts
Jul 3, 2026
Merged

feat(console): rotation alerts — banner + dashboard widget [v1.11.0]#19
lopadova merged 1 commit into
mainfrom
task/h12-rotation-alerts

Conversation

@lopadova

@lopadova lopadova commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Consumes metrics/clients: global banner + Dashboard widget of app secrets needing rotation (expiring/expired), both conditional + fail-soft. Green: build+lint, E2E.

….11.0)

Consumes metrics/clients (v1.11.0). A global banner (in the app shell) warns "N app secrets need rotation"
whenever any confidential client secret is expiring/expired, linking to Applications. The Dashboard gains a
"Client secrets to rotate" widget listing the most-urgent clients (app, client_id, status, expiry). Both
hide themselves when there is nothing to act on, and fail-soft if the operator lacks iam:metrics.read.

Green: SPA build (tsc) + oxlint, pint, Playwright golden-path.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lopadova lopadova added the testE2E Run the end-to-end Playwright CI label Jul 3, 2026
@lopadova lopadova merged commit 0679fea into main Jul 3, 2026
3 checks passed
@lopadova lopadova deleted the task/h12-rotation-alerts branch July 3, 2026 20:11

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

Copy link
Copy Markdown

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: a169883d83

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

return () => {
alive = false
}
}, [])

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Refresh rotation alerts after secret changes

Because this effect runs only once for the mounted Layout, rotating or revoking a client secret later in the Applications modal leaves the global banner with the pre-rotation needs_rotation counts until a full page reload; route navigation will not rerun it because Layout stays mounted. Please add an invalidation, polling, or reload path from the secret mutations so operators do not keep seeing resolved alerts.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testE2E Run the end-to-end Playwright CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant