Repository navigation
Conversation
Tiny Code Reviewthe AI provider rate-limited the request This is advice, not a gate. Re-run with the |
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.
What changed and why
Clicking Sign in again for an expired Tiny server account (in the expired composer banner, Settings → Accounts, sidebar attention banner, or phone conversation banner) now resolves that account's saved server origin in
chatdand immediately launches browser sign-in for that server instead of dropping returning users onto a blank invite or host prompt. Expired Tiny rows in Settings → Accounts always display their server host and expired status, and connected Tiny servers now surface a Sign-in & passkeys row in Settings → Accounts that jumps directly to that server's Sign-in settings page for passkey and recovery-code management. The Tiny server host prompt also shows clear inline validation feedback if submitted empty and uses unmistakable host/invite copy.Type
Platforms
Proof
Scenario: e2e/scenarios/tiny-reauth-account-ux
Lab run:
Compatibility
Older Tiny servers and older clients keep working unchanged.
protocol::Request::SignInBeginonly grew with two optional fields (accountandserver), both annotated with#[serde(default, skip_serializing_if = Option::is_none)], so legacy JSON without them deserializes identically and fresh sign-ins emit the exact previous wire payload.Risk and rollback
Low risk: changes are scoped to Tiny server re-authentication, Settings → Accounts presentation/navigation, and Sign-in sheet host validation. Rollback is a clean revert of this commit with no data migration or server deploy required.
Release note
Expired Tiny server accounts now re-authenticate in one click without re-entering the server host, passkey management is accessible directly from Settings → Accounts, and empty server host submissions show inline validation feedback.