Skip to content

CLI returns personal account connection links - #901

Merged
zlareb1 merged 4 commits into
mainfrom
feat/connected-accounts-cli
Nov 18, 2026
Merged

zlareb1 merged 4 commits into
mainfrom
feat/connected-accounts-cli

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Related: #883
Related: #897

Changelog category (leave one):

  • New Feature

Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):

loom connect google|notion|linear prints the dashboard link for connecting your own provider account. It uses the same server and credentials profiles as loom login.

Why

Provider consent needs a cookie set in the browser that completes the callback. The CLI reads the existing own-account dashboard link so users can start and finish consent in that browser.

Scope and risk

The SDK command reads connection.list, selects the requested provider and prints the server's validated dashboard link. The server CLI delegates before loading its deployment environment. Refusals print no response body or credential material. The command does not wait for consent or claim that the account is connected.

The CLI snapshots and reference include the delegated command. The regression cases cover provider selection, credentials profiles, typed refusals, client cleanup and output redaction.

Compatibility, rollout and rollback

  • Wire: none; the command uses the existing connection.list output and canonical dashboard route.
  • Operator steps: none.
  • Rollback: reverting removes the command and its documentation; it creates no stored data.

Tests

Scoped Ruff lint, formatting, statement-limit, whitespace and prose checks pass. Static AST and JSON comparisons verify that the regression source is unchanged and unrelated base snapshot values are retained. The CLI snapshot and reference companions were generated with the unchanged canonical serializer, help and renderer functions through standard-library source extraction, with baseline comparisons before writing.

The hosted unit report for the command source records all 26 CLI regression cases passing with no skips. The command source is unchanged. Fresh independent whole review reports no findings or nits. Full hosted CI passes on the final head, including all six unit shards, coverage and benchmark floors, native and isolated integrations, both Postgres memory authorities, mixed-build checks, both Quickstarts, SDKs, plugins, frontend, documentation and security checks. No local tests ran. The temporary diagnostic workflow is removed; its instrumented result is not qualification evidence.

An earlier full hosted CI run failed the SQL splitting performance assertion outside this command. The splitter and its test are unchanged. The mechanism remains unresolved; passing CLI cases or instrumented measurements do not replace that gate. The final full hosted CI passes; this does not identify the mechanism of the earlier failure.

AI assistance in the code (leave one; writing this description with AI is fine):

  • AI-generated: An agent wrote the change.

  • I can explain every line of this diff and how it interacts with the rest of Loom.

Checklist

  • Required CI checks pass.
  • CLI snapshots and generated reference companions are generated from their canonical source functions.
  • The English feature documentation describes the CLI flow.
  • Commits are signed off.

@zlareb1
zlareb1 force-pushed the feat/connected-accounts-dashboard branch from a8710db to e99bf37 Compare November 18, 2026 19:52
Consent starts in the dashboard so the browser retains the callback binding cookie.

Signed-off-by: zlareb1 <[email protected]>
The parser snapshots and CLI reference include the delegated provider connection command.

Signed-off-by: zlareb1 <[email protected]>
@zlareb1
zlareb1 force-pushed the feat/connected-accounts-cli branch from a1990a3 to 3e05458 Compare November 18, 2026 21:07
@zlareb1
zlareb1 changed the base branch from feat/connected-accounts-dashboard to main November 18, 2026 21:07
@zlareb1
zlareb1 force-pushed the feat/connected-accounts-cli branch from ff05a62 to 9ee722d Compare November 18, 2026 22:06
@zlareb1
zlareb1 force-pushed the feat/connected-accounts-cli branch from 9ee722d to d7ab9d4 Compare November 18, 2026 22:20
Keep the account connection command and its regression coverage unchanged. Required pull-request CI remains the qualification gate.

Signed-off-by: zlareb1 <[email protected]>
@zlareb1
zlareb1 marked this pull request as ready for review November 18, 2026 23:08
@zlareb1
zlareb1 merged commit d1144ea into main Nov 18, 2026
51 checks passed
@zlareb1 zlareb1 mentioned this pull request Nov 18, 2026
6 tasks done
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