Repository navigation
fix: delegate tea login discovery and preserve settings key order - #4420
Merged
Merged
Conversation
worktrunk-bot
left a comment
Collaborator
There was a problem hiding this comment.
codecov/patch is failing at 90.19%. Of its five missed lines, two (show.rs, the detect(None)? lines in the GitHub and GitLab arms) were already uncovered on the base. The new gap is the tea-not-installed fallback in load_logins, covered inline.
worktrunk-bot
approved these changes
Oct 11, 2026
1 task
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.
Delegate tea login discovery to its local
logins list --output jsoncommand, replacing Worktrunk's YAML scanner and platform-specific config-path guesses. Forge routing matches both web and SSH hosts; diagnostics share the same probe. Native cancellation stops subsequent probes, while ordinary command failures retain the existing unauthenticated fallback. The local-only command was also checked with real tea v0.12.0.Preserve existing JSON object order when installing the Claude statusline, including nested settings. Generated schemas and documentation retain canonical sorting; command JSON snapshots now follow construction order, with unchanged values. Regression coverage includes login discovery, routing, cancellation, and settings key order. Ref #4106.