Skip to content

test(server): strip fork home aliases from the test environment - #350

Merged
shuv1337 merged 1 commit into
mainfrom
fix/test-setup-strip-s2code-home
Nov 3, 2026
Merged

shuv1337 merged 1 commit into
mainfrom
fix/test-setup-strip-s2code-home

Conversation

@shuv1337

@shuv1337 shuv1337 commented Nov 3, 2026

Copy link
Copy Markdown
Owner

The apps/server test setup deleted T3CODE_HOME but left S2CODE_HOME and SHUV2CODE_HOME. The fork resolves those aliases back into T3CODE_HOME, so on a developer machine with the nightly home exported, tests could still reach the live nightly userdata.

The shared setup file now deletes both aliases alongside T3CODE_HOME.

Verification (same machine, S2CODE_HOME, SHUV2CODE_HOME and T3CODE_HOME all exported to the nightly home):

  • Full apps/server suite before: 13 files / 27 tests failed, 5586 passed (the known base failures).
  • Full apps/server suite after: the same 27 failures remain; none cleared, none newly introduced. One extra http.test.ts failure in the after run passed when rerun alone (load flake).
  • vpr knip:check: pass. Filtered typecheck (server, contracts, shared, web): 4/4 pass.

The remaining base failures are unrelated to the home environment (stale shuv2code naming expectations, macOS /private/var path realpaths, desktop app reachability, timeouts).

Claude Fable 5.1 via Claude Code

The server test setup removed T3CODE_HOME but left S2CODE_HOME and
SHUV2CODE_HOME, which the fork resolves back into T3CODE_HOME, so tests
could still reach the live nightly userdata on a developer machine.

Delete both aliases alongside T3CODE_HOME in the shared setup file.

Claude Fable 5.1 via Claude Code
@shuv1337
shuv1337 merged commit 52981ff into main Nov 3, 2026
4 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.

1 participant