Skip to content

refactor(cli): user show reuses the account commands' passkey and identity tables - #575

Merged
PiquelChips merged 1 commit into
mainfrom
refactor/544-operations-cli-reports
Nov 21, 2026
Merged

PiquelChips merged 1 commit into
mainfrom
refactor/544-operations-cli-reports

Conversation

@PiquelChips

@PiquelChips PiquelChips commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Part of #544. Stacked on #569: its base is refactor/544-operations-cli-reason.

user show printed passkeys and linked identities with its own copies of the tables that account <USER> passkeys list and account <USER> identities list print. UserDetail holds the same Passkey and Identity types, so it now calls those reports, as it already did for known browsers. The client list and client details also built the same Owner cell twice; ClientCommand::owner beside ClientCommand::status now builds it once.

  • Tests merged or removed: none.
  • Files edited outside the Operations area: none.
  • Untested code touched: no test renders these reports (cli/user.rs and cli/client.rs have little coverage).
  • Proof the output is unchanged: a throwaway test, not committed, rendered user show with and without passkeys and identities (one passkey name tries to drive the terminal) and client list with and without an owner, in plain and colour mode. It ran against this branch and against its base (refactor(cli): changes share one --reason option per wording #569's files), and the outputs were byte-identical.

Checks: just fmt, cargo clippy with and without --all-features (-D warnings), cargo doc -D warnings, and the cli:: tests (15 passed).

Note

Written by Claude Opus 5.5 in Claude Code and reviewed by Claude Opus 5.5 (via T3 Code)

🤖 Generated with Claude Code

@PiquelChips
PiquelChips marked this pull request as draft November 20, 2026 07:40
@github-project-automation github-project-automation Bot moved this to Needs Triage in sourceorigin.dev Nov 20, 2026
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 78e11a50-816f-4870-97aa-e65df2700959
Commits

Reviewing files that changed from the base of the PR and between f30a152 and 614b50c.

Files selected for processing: 3

  • apps/auth-service/src/cli/account.rs
  • apps/auth-service/src/cli/client.rs
  • apps/auth-service/src/cli/user.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@PiquelChips PiquelChips added apps/auth-service Origin Auth at auth.sourceorigin.dev, its settings and developer console, and the operator CLI refactor No behviour changes labels Nov 20, 2026
@PiquelChips
PiquelChips marked this pull request as ready for review November 20, 2026 08:31
@PiquelChips
PiquelChips marked this pull request as draft November 21, 2026 14:00
@PiquelChips
PiquelChips marked this pull request as ready for review November 21, 2026 14:26
Base automatically changed from refactor/544-operations-cli-reason to main November 21, 2026 16:47
user show printed its passkeys and linked identities with copies of the
tables account passkeys list and account identities list print. It now
calls those reports, and the client reports share one owner cell.
@PiquelChips
PiquelChips force-pushed the refactor/544-operations-cli-reports branch from ee40f76 to 614b50c Compare November 21, 2026 16:56
@PiquelChips
PiquelChips added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit d99ae0d Nov 21, 2026
14 checks passed
@PiquelChips
PiquelChips deleted the refactor/544-operations-cli-reports branch November 21, 2026 18:21
@github-project-automation github-project-automation Bot moved this from Needs Triage to Done in sourceorigin.dev Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apps/auth-service Origin Auth at auth.sourceorigin.dev, its settings and developer console, and the operator CLI refactor No behviour changes

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant