Skip to content

fix: delegate tea login discovery and preserve settings key order - #4420

Merged
max-sixty merged 6 commits into
mainfrom
codex/tea-logins-settings-order
Oct 11, 2026
Merged

max-sixty merged 6 commits into
mainfrom
codex/tea-logins-settings-order

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

Delegate tea login discovery to its local logins list --output json command, 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.

This was written by Codex on behalf of max-sixty

@worktrunk-bot worktrunk-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/git/remote_ref/gitea.rs Resolved
@max-sixty
max-sixty merged commit 074a925 into main Oct 11, 2026
42 checks passed
@max-sixty
max-sixty deleted the codex/tea-logins-settings-order branch October 11, 2026 10:01
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.

2 participants