Skip to content

fix(tui): make CI tests portable#5

Merged
kefeiqian merged 1 commit into
mainfrom
fix/tui-ci-portable-tests
Jul 14, 2026
Merged

fix(tui): make CI tests portable#5
kefeiqian merged 1 commit into
mainfrom
fix/tui-ci-portable-tests

Conversation

@kefeiqian

Copy link
Copy Markdown
Owner

Summary

TUI tests now pass on Linux CI instead of assuming Windows-style home paths and loose cache-file permissions.

The cwd rendering tests build their fixture paths from the runner home directory and platform separator, while the packaged-backend race tests now leave simulated winner binaries with the same user-only mode required by production cache reuse.

Validation

  • bunx vitest run src/__tests__/App.test.tsx src/__tests__/components/HomeScreen.test.tsx src/backend/packaged/__tests__/materializeBackend.test.ts
  • cargo xtask tui-typecheck
  • cargo xtask tui-test

Compound Engineering
GPT-5.5

Use runner-local home paths in cwd rendering tests and set simulated packaged-backend race winners to user-only permissions so Linux CI exercises the intended reusable-cache path.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4c127c9c-ac00-4a90-be0f-4357720a6a8d
@kefeiqian
kefeiqian merged commit fbc4fb0 into main Jul 14, 2026
3 checks passed
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