Skip to content

🧪 Auto-PR: Merge develop → test - #970

Merged
proxy-smart-releaser[bot] merged 4 commits into
testfrom
develop
Aug 8, 2026
Merged

🧪 Auto-PR: Merge develop → test#970
proxy-smart-releaser[bot] merged 4 commits into
testfrom
develop

Conversation

@proxy-smart-releaser

@proxy-smart-releaser proxy-smart-releaser Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Automated Pull Request 🤖

Commits ahead of test: 4
Commits behind test: 0
TODOs remaining in codebase: 4

Last updated: 2026-08-08 17:25:30 UTC

quotentiroler and others added 4 commits August 8, 2026 19:24
Losing `default-roles-proxy-smart` costs a user `offline_access`, and a
user without that role fails the token exchange of any client requesting
that scope — after logging in successfully. That is how beta's `admin`
account came to fail MCP connection while looking completely healthy on
this screen.

The admin console could neither show it nor fix it. Technical roles were
dropped as soon as they were fetched, then filtered again at the picker,
so `default-roles-*`, `offline_access` and `uma_authorization` were
invisible and unassignable.

They are now fetched and filtered at the picker instead, behind a "Show
technical roles" switch that reuses RolesManager's existing pattern
rather than inventing a second one. Off by default, so the normal view is
unchanged. Any technical role a user already holds is listed even with
the switch off, since that is what someone opens this dialog to check.

Edit form only. New users get the realm defaults from Keycloak
automatically; it is existing users that can lose them.
Cuts eslint from 38 warnings to 8 by fixing all 30 no-console sites
rather than suppressing them.

src/lib/logger.ts already buffers to a ring, persists to localStorage and
mirrors to console only when debug mode is on. These calls bypassed it,
so they were both missing from the debug buffer and printing in a
production console. They now go through logger.debug/info.

logger.ts keeps one eslint-disable: it dispatches all four levels
dynamically and is the sanctioned console boundary.

Two things surfaced while converting:

  tokenRefresh.ts called console.debug and logger.info on adjacent lines
  with the same message. Dropped the console half.

  authStore.ts guarded six calls with `if (import.meta.env.DEV)`. The
  logger already gates its console mirror on debug mode, so the guards
  were redundant — and removing them means those messages reach the
  buffer in production, where they are worth having.

The 8 remaining warnings are left deliberately: 7 react-hooks/
exhaustive-deps and 1 react-refresh. Three of the seven are a missing
`t`, but IdPManager and MonitoringDashboard want values added to a
useEffect/useMemo whose referential stability has not been checked, and
adding deps to satisfy a linter is how a render loop ships.
@proxy-smart-releaser
proxy-smart-releaser Bot merged commit 65581f6 into test Aug 8, 2026
11 checks passed
proxy-smart-releaser Bot pushed a commit that referenced this pull request Aug 8, 2026
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