Skip to content

fix(disconnect): no credential means nothing to revoke — say nothing - #561

Merged
fujibee merged 1 commit into
integration/remotefrom
fix/disconnect-noop
Jul 30, 2026
Merged

fix(disconnect): no credential means nothing to revoke — say nothing#561
fujibee merged 1 commit into
integration/remotefrom
fix/disconnect-noop

Conversation

@fujibee

@fujibee fujibee commented Jul 30, 2026

Copy link
Copy Markdown
Owner

A pull- or connect-bootstrapped team under the no-auth model has no credential file and no credential id, yet disconnect printed "Revoking credential with server... failed." followed by security-flavoured advice about compromised devices. The revoke call had nothing to send; "failed" was expected-but-misreported. Found by the machine-two dogfood (run 3) and queued since.

Now: when neither credential artifact exists, the revoke step is skipped silently — there is nothing to revoke, so there is nothing to report. Legacy credential-bearing state keeps the existing revoke success/failure reporting unchanged.

Regressions cover both bootstrap paths (connect and pull) asserting no phantom warning appears.

PR opened on the author's behalf — their sandbox blocks GitHub access.

Current connect and pull bindings have no server credential to revoke. Report revoke success or failure only for legacy credential-bearing state, while still stopping the engine and marking every binding disconnected locally.
@fujibee
fujibee merged commit 9a84765 into integration/remote Jul 30, 2026
17 checks passed
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