Skip to content

Isolate test env process to prevent user context overwrite#523

Merged
timothyF95 merged 5 commits into
mainfrom
fix/isolate-test-env
Jul 9, 2026
Merged

Isolate test env process to prevent user context overwrite#523
timothyF95 merged 5 commits into
mainfrom
fix/isolate-test-env

Conversation

@timothyF95

Copy link
Copy Markdown
Contributor

Redirect CLI config writes to a temp directory via testutil.IsolateCLIHome() in NewTestConfig, NewGraphQLMockServerGetOrganization, and private-registry subprocess tests.

@timothyF95 timothyF95 marked this pull request as ready for review July 8, 2026 17:16
@timothyF95 timothyF95 requested a review from a team as a code owner July 8, 2026 17:16
Comment thread internal/testutil/cli_home.go
@timothyF95 timothyF95 added this pull request to the merge queue Jul 9, 2026
Merged via the queue into main with commit cac73de Jul 9, 2026
22 checks passed
@timothyF95 timothyF95 deleted the fix/isolate-test-env branch July 9, 2026 09:04
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