Skip to content

fix(desktop): make codex env profile tests hermetic#647

Merged
huntharo merged 1 commit into
mainfrom
fix/desktop-codex-env-test-hermetic
Jun 5, 2026
Merged

fix(desktop): make codex env profile tests hermetic#647
huntharo merged 1 commit into
mainfrom
fix/desktop-codex-env-test-hermetic

Conversation

@huntharo
Copy link
Copy Markdown
Contributor

@huntharo huntharo commented Jun 5, 2026

Summary

Codex auth profile tests now stay hermetic when resolving the app-server spawn environment. The CODEX_HOME assertions no longer fall through to the real login-shell environment probe, so they verify only the selected-profile path behavior.

Test Plan

  • ./node_modules/.bin/vitest run --config vitest.workspace.ts apps/desktop/src/main/__tests__/desktop-settings-service.test.ts

Compound Engineering
GPT-5

@huntharo huntharo merged commit 32e2c84 into main Jun 5, 2026
6 checks passed
@huntharo huntharo deleted the fix/desktop-codex-env-test-hermetic branch June 5, 2026 16:03
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.

1 participant