Repository navigation
fix(platform): refresh API key views across organizations - #4382
Conversation
|
Reviewed exact commit Verdict: ACCEPT The create and revoke mutations now share a targeted predicate invalidation. It covers all Validation: exact-head CI had successful Commitlint, Security, CLI, SAST, and E2E runs; Build/Checks were cancelled while the PR was superseded. The local targeted UI test was attempted with one worker but could not load the suite because the installed runtime resolved |
|
TALE-320 / TALE-359 dispatch handoff PR: #4382 Successful personal API-key creation/revocation now invalidates personal lists and backend api_key projections across cached organization contexts. Active panels refresh; inactive org lists become stale and refresh on return. No unrelated cache invalidation or eager inactive refetch. The existing organization-partitioned reads are preserved. Added two real-hook/TanStack Query regressions and the automation register paragraph in the reserved position after Website status sync. CI initially found a pre-existing Home age-label test lint violation on the source main. The follow-up renders its LocaleProvider with JSX, renames the test to .tsx and updates its register reference; production behavior is unchanged. Local validation:
CI on final head: lint, type check, format, all four UI shards, both platform unit shards, workspace unit tests, browser tests, SAST, Knip and performance passed. No required failures are reported. Trivy has a neutral advisory result. CI is NOT fully green: runner queues and integration/build/E2E jobs remain pending at the dispatch's one-hour handoff limit. Continue the CI watch and independent review before merge. First-head platform E2E logs contained no Playwright diagnostics notice; remaining final-head E2E results still need inspection. workspace_status returned not_granted, so this PR comment is the requested fallback report for TALE-320 and TALE-359 (3729d02a-eb44-42b2-a68e-1bec2cebbcd6). Delivery: /agent/output/094214b9-9353-4e1d-b862-cde0df41152c/ contains change.patch, changed source files, automation register, planning note, local test/type/lint/format logs, CI snapshots/watch logs and this report. |
Non-author identity check: C5's ACCEPT carries from
|
2dac307 to
9790cfc
Compare
9790cfc to
d3fbd97
Compare
d3fbd97 to
d534ee5
Compare
Successful personal API-key creation and revocation currently invalidate only the organization being viewed. Returning to another organization within the five-minute freshness window can still display a revoked key or omit a new key.
Invalidate personal API-key lists and backend API-key entity projections across cached organization contexts. Active panels refresh; inactive lists become stale and refresh when reopened. Unrelated query families stay untouched. Preserve the creation refresh-before-secret completion behavior and keep organization-owned reads partitioned.
Add create/revoke hook regressions covering warmed organization return, active panels, governance picker/access caches, and bounded refetches. Register this coverage after the Website status sync entry.
Validation:
CI gate correction: original main also contains a children-prop lint violation in the Home age-label test. Render that provider with JSX, rename the test to .tsx, and update its automation reference; no production behavior changes. Its 8 scoped tests and scoped type diagnostics pass.
Closes #3899