fix: OCAS_DIR → OCAS_HOME in test helpers #59

Merged
xiaomo merged 6 commits from fix/58-test-isolation into main 2026-06-04 12:16:21 +00:00
Owner

4 remaining OCAS_DIR references in test helpers (store-unified-threads, thread-resume) caused tests to write to global ~/.ocas instead of per-test temp dirs, resulting in 6 test failures from data leakage.

All 16 affected tests now pass.

Fixes #58

4 remaining `OCAS_DIR` references in test helpers (store-unified-threads, thread-resume) caused tests to write to global `~/.ocas` instead of per-test temp dirs, resulting in 6 test failures from data leakage. All 16 affected tests now pass. Fixes #58
xiaoju force-pushed fix/58-test-isolation from d8b6974379 to a8734f29e1 2026-06-04 11:00:44 +00:00 Compare
xiaoju added 1 commit 2026-06-04 11:06:46 +00:00
- Remaining OCAS_DIR references caused test isolation failures
- agent-hermes integration tests need 'hermes' CLI, skip in CI

Fixes #58
xiaoju force-pushed fix/58-test-isolation from a8734f29e1 to 63454a4cfd 2026-06-04 11:06:46 +00:00 Compare
xiaoju added 1 commit 2026-06-04 11:18:51 +00:00
xiaoju added 1 commit 2026-06-04 11:22:48 +00:00
xiaoju added 1 commit 2026-06-04 11:34:30 +00:00
npx tsx fails in CI (tsx not found, npm tries to install it)
xiaoju added 1 commit 2026-06-04 11:51:07 +00:00
fix: add timeout to cmdThreadExec count logic tests
CI / check (pull_request) Failing after 4m17s
58b58d511e
xiaoju added 1 commit 2026-06-04 11:59:48 +00:00
npx tsx hangs in CI Docker (30s+ timeout). node dist/cli.js runs in <2s.
xiaomo approved these changes 2026-06-04 12:16:20 +00:00
xiaomo left a comment
Owner

LGTM 环境变量漏网修复 + E2E timeout + tsx→node,测试隔离到位。

LGTM ✅ 环境变量漏网修复 + E2E timeout + tsx→node,测试隔离到位。
xiaomo merged commit 9fbdd1dd2c into main 2026-06-04 12:16:21 +00:00
xiaomo deleted branch fix/58-test-isolation 2026-06-04 12:16:21 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shazhou/united-workforce#59