feat(cli): add authconnection delete command - #1310
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 2d79827 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
⚡ pkg.pr.new@tailor-platform/sdk@tailor-platform/create-sdk
|
toiroakr
force-pushed
the
feat/auth-connection-delete
branch
from
June 5, 2026 13:58
adcfca6 to
3f53df5
Compare
This comment has been minimized.
This comment has been minimized.
Add a `tailor authconnection delete` command that fully removes an auth connection (configuration, secret, and tokens), complementing `revoke` which only invalidates the active session. deploy now uses DeleteAuthConnection when it replaces or removes the connections it manages. Regenerate tailor-proto to include DeleteAuthConnection.
toiroakr
force-pushed
the
feat/auth-connection-delete
branch
from
June 9, 2026 01:29
abcaeb0 to
228b244
Compare
commit: |
This comment has been minimized.
This comment has been minimized.
dqn
reviewed
Jun 9, 2026
| description: | ||
| "Revoke an auth connection's tokens (keeps the connection; use 'delete' to remove it).", | ||
| notes: | ||
| "Revoke invalidates the connection's active session and tokens but keeps the connection and its stored credentials, so it can be re-authorized later. Use `delete` to remove the connection entirely.", |
Contributor
There was a problem hiding this comment.
POLITTY_DOCS_DOCTOR=true POLITTY_DOCS_UPDATE=true pnpm docs:check needs to be run to insert the missing notes markers.
Insert the politty notes markers for `authconnection revoke` so the command's notes are rendered in the generated CLI docs.
Code Metrics Report (packages/sdk)
Details | | main (0c9244b) | #1310 (8e8a419) | +/- |
|--------------------|----------------|-----------------|-------|
+ | Coverage | 66.0% | 66.1% | +0.0% |
| Files | 398 | 399 | +1 |
| Lines | 13769 | 13785 | +16 |
+ | Covered | 9095 | 9115 | +20 |
- | Code to Test Ratio | 1:0.4 | 1:0.4 | -0.1 |
| Code | 91692 | 91787 | +95 |
+ | Test | 39822 | 39861 | +39 |Code coverage of files in pull request scope (58.0% → 66.4%)
SDK Configure Bundle Size
Runtime Performance
Type Performance (instantiations)
Reported by octocov |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tailor authconnection delete, which fully removes an auth connection (configuration, secret, and tokens), complementingauthconnection revoke(token-only).deploynow usesDeleteAuthConnectionwhen it replaces or removes the auth connections it manages (previously revoke).@tailor-protobindings to includeDeleteAuthConnection.Notes
DeleteAuthConnection; consistent with fix(cli): track auth connection ownership via platform labels #1309 already requiring auth-connection metadata support (no legacy fallback).@tailor-protoregen also syncs unrelated upstream proto updates.