Skip to content

Isolate test env and speed up offline E2E - #258

Merged
XXPermanentXX merged 4 commits into
mainfrom
chore/chore-e2e-test
Oct 15, 2026
Merged

XXPermanentXX merged 4 commits into
mainfrom
chore/chore-e2e-test

Conversation

@hopelynd

Copy link
Copy Markdown
Collaborator

Summary

  • Add shared test isolation so HOME, config language/output, and host Agent detect paths (and related env overrides) no longer leak into unit and e2e runs
  • Speed up offline command E2E by running validation/dry-run cases in-process with route-scoped module loading, while keeping subprocess coverage for live, I/O, preload, and proxy contracts
  • Harden in-process isolation with a full env snapshot/restore so credential and preference env vars cannot bleed across cases

hopelynd and others added 4 commits October 15, 2026 11:44
- Run offline validation and dry-run cases in process
- Serialize captures and restore process state after each run
- Preserve subprocess coverage for live, I/O, preload and proxy contracts
- Load only command modules required by topic routes
- Isolate the harness npm update lookup while preserving business fetches
- Add execution parity and isolation tests
- Stabilize preload checks across cache modes
- Document offline E2E execution boundaries
…timization' into chore/chore-e2e-test

# Conflicts:
#	packages/commands/tests/e2e/helpers.ts
@XXPermanentXX
XXPermanentXX merged commit 44a7330 into main Oct 15, 2026
2 checks passed
@XXPermanentXX
XXPermanentXX deleted the chore/chore-e2e-test branch October 15, 2026 07:04
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