The GitHub Actions job "CI" on rocketmq-dashboard.git/codex/session-lifecycle 
has failed.
Run started by GitHub user tju-yxq (triggered by tju-yxq).

Head commit for run:
dfe325e25c092d5ba6b448d8ed6ed69e3e932394 / Yxq <[email protected]>
feat(auth): revoke a single session from the drawer

The session drawer offers exactly one action: revoke ALL of a user's
active sessions. An administrator who spots one suspicious session —
now identifiable by its origin — has to terminate the user's every
session, including the legitimate ones, and force a full re-login.

Add DELETE /api/studio-users/sessions/{sessionId} backed by
AuthService.revokeSessionById:

- one UPDATE over the row (id + revoked_at IS NULL) setting
  revoked_at, mirroring the active-session predicate the bulk paths
  use;
- revoking an already-revoked or expired session is a no-op rather
  than an error, so a stale drawer never turns a repeated
  confirmation into a failure toast;
- an unknown id answers the familiar 404 "Session not found".

The drawer's session table gains an action column: a per-row
destructive confirmation that revokes exactly that session, reloads
the drawer with the survivors, and refreshes the user table's active
counts. It shares the per-user in-flight guard with revoke-all, so
the two actions can never overlap on the same account.

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/38067273644

With regards,
GitHub Actions via GitBox

Reply via email to