You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up to #466 (and referencing #406): fixes remaining macOS Tailscale detection edge cases where Detect Tailscale can select a non-usable candidate and then fail parsing status --json output.
This change hardens candidate selection and validation so CLI wrapper paths are preferred, and unexpected tailscale version output is rejected before status parsing.
Invalid tailscale status JSON: expected value at line 1 column 1 (stdout: The Tailscale GUI failed to start: The operation couldn’t be completed. (Tailscale.CLIError error 3.))
Version: The Tailscale GUI failed to start: The operation couldn’t be completed. (Tailscale.CLIError error 3.)
Validation Run
pnpm run lint (passes; 1 pre-existing warning in src/features/app/hooks/useRemoteThreadLiveConnection.ts)
@Dimillian I'm still out of codex cloud review credits lol
do you have yours set up with any custom/more strict instructions for PRs (or a specific model)? I cannot seem to reproduce the nitpicks and findings when running /review locally with codex 5.3
@Dimillian I'm still out of codex cloud review credits lol do you have yours set up with any custom/more strict instructions for PRs (or a specific model)? I cannot seem to reproduce the nitpicks and findings when running /review locally with codex 5.3
No, the cloud model really behaves differently for now, but it's a good first pass. I also do a lot of custom /review locally because, yeah, it's better for now.
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
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
Follow-up to #466 (and referencing #406): fixes remaining macOS Tailscale detection edge cases where
Detect Tailscalecan select a non-usable candidate and then fail parsingstatus --jsonoutput.This change hardens candidate selection and validation so CLI wrapper paths are preferred, and unexpected
tailscale versionoutput is rejected before status parsing.Key Changes
/Applications/Tailscale.app/Contents/MacOS/Tailscale/Applications/Tailscale.app/Contents/MacOS/tailscaletailscale(PATH)/opt/homebrew/bin/tailscale/usr/local/bin/tailscale/usr/local/bin/Tailscalelooks_like_tailscale_version(...)guardtailscale versionsucceeds and stdout contains a plausible version token.Behavior Notes
Before Fix (macOS)
Observed on click Detect Tailscale:
Validation Run
pnpm run lint(passes; 1 pre-existing warning insrc/features/app/hooks/useRemoteThreadLiveConnection.ts)cd src-tauri && cargo test tailscale::cd src-tauri && cargo check