Skip to content

test(cli-e2e): shared local-source fixture preparation helper#627

Merged
rickylabs merged 1 commit into
mainfrom
test/606-shared-local-source-fixture
Jul 11, 2026
Merged

test(cli-e2e): shared local-source fixture preparation helper#627
rickylabs merged 1 commit into
mainfrom
test/606-shared-local-source-fixture

Conversation

@rickylabs

Copy link
Copy Markdown
Owner

Closes #606

Summary

Extracts the per-gate generated-project local-source mapping into one shared helper, packages/cli/e2e/src/application/gates/scaffold/local-source-fixture.ts (resolveLocalSourceImports / prepareLocalSourceFixture / localSourceFixtureScript), parameterized by package set + config/import-map targets. Both existing call sites refactored onto it:

Test-layer only: no scaffold templates, no product source, no deno.lock churn. The generated deno eval script is executed in a real subprocess test, not just string-inspected.

Lane + evidence

WSL Codex slice (thread 019f5118-7d25…, worktree ns-wt-606) under the beta-7 orchestrator (df71d36c); run artifacts at .llm/runs/test-606-shared-fixture--codex/. Helper + e2e-layer tests 11/0; scoped check/lint/fmt on packages/cli 599 files 0 findings. Narrow per-gate CLI execution isn't supported by the current gates/run surface (worklog drift D2) — this PR's CI scaffold-runtime job exercises both refactored call sites live.

@rickylabs
rickylabs force-pushed the test/606-shared-local-source-fixture branch from bb2f1a6 to 0af714a Compare July 11, 2026 12:45
@rickylabs
rickylabs marked this pull request as ready for review July 11, 2026 13:06
@rickylabs
rickylabs merged commit 7009d3e into main Jul 11, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cli-e2e: extract shared local-source preparation fixture helper

1 participant