Skip to content

fix(tests): isolate HUD state in integration tests#1497

Merged
JeremyDev87 merged 1 commit into
masterfrom
fix/test-hud-state-isolation
Apr 12, 2026
Merged

fix(tests): isolate HUD state in integration tests#1497
JeremyDev87 merged 1 commit into
masterfrom
fix/test-hud-state-isolation

Conversation

@JeremyDev87
Copy link
Copy Markdown
Owner

Summary

  • Set CODINGBUDDY_HUD_STATE_FILE env var to a nonexistent path in TestIntegration subprocess calls
  • Prevents tests from reading the live session's hud_state.json, which caused face character mismatch (◔‿◔ thinking vs expected ◕‿◕ idle) depending on the current session mode

Test plan

  • TestIntegration 3/3 pass (previously 2 failures)
  • Full test_hud.py 126/126 pass
  • No production code changes — test isolation only

Set CODINGBUDDY_HUD_STATE_FILE to a nonexistent path so integration
tests don't read the live session's hud_state.json.  Previously, the
subprocess picked up the real session mode (e.g. PLAN → ◔‿◔ thinking
face) instead of the expected idle face (◕‿◕).
@JeremyDev87 JeremyDev87 added the bug Something isn't working label Apr 12, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Apr 12, 2026 4:44am

@JeremyDev87 JeremyDev87 self-assigned this Apr 12, 2026
@JeremyDev87 JeremyDev87 merged commit d20150d into master Apr 12, 2026
29 checks passed
@JeremyDev87 JeremyDev87 deleted the fix/test-hud-state-isolation branch April 12, 2026 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant