Open
Conversation
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.
Windows compatibility hardening + validation pass (tests green, vuln scan clean)
Summary
This improve Windows compatibility across runtime behavior, integration-test ergonomics, and documentation, then validates the result with a full Windows test run and vulnerability scan.
Why
Windows users previously hit a few rough edges:
What Changed
Runtime/path behavior
Expanded home-path handling to support both forward-slash and backslash tilde patterns on Windows.
Integration/live testing
Added a PowerShell wrapper for live tests so Windows users can launch the live script flow directly from PowerShell.
Updated integration live test execution path to use the Windows wrapper on Windows hosts.
Test reliability on Windows
Stabilized home-directory test setup on Windows by aligning environment variables used by UserHomeDir behavior.
Documentation updates
Added Windows-native quickstart and auth examples (PowerShell build/auth/test usage).
Added Windows guidance for live test execution.
Updated refactor notes and compatibility tracking docs with completed work, residual risks, and validation outcomes.
Security Notes
Validation Performed
Build sanity check on Windows
gog binary built and help output verified.
Full test suite on Windows
go test ./... passed.
Live API sanity check (manual)
OAuth credential import and account authorization succeeded.
Gmail unread search command returned expected results.
Residual/Out of Scope
Reviewer Focus