From 9eac5747e0203be4c8060f31c4b1e6c43ed4ccb8 Mon Sep 17 00:00:00 2001 From: CharlieHelps Date: Fri, 15 May 2026 02:01:48 +0000 Subject: [PATCH 1/6] fix(smoke-v2): run ci smoke tests in Playwright container --- .github/workflows/test-smoke-v2.yml | 5 ++++- test/smoke-v2/moon.yml | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-smoke-v2.yml b/.github/workflows/test-smoke-v2.yml index aadeed6d..bd1a2e9e 100644 --- a/.github/workflows/test-smoke-v2.yml +++ b/.github/workflows/test-smoke-v2.yml @@ -12,6 +12,9 @@ jobs: validate: runs-on: ubuntu-latest name: Smoke v2 Tests + container: + image: mcr.microsoft.com/playwright:v1.57.0-noble + options: --ipc=host --init steps: - name: Checkout Commit @@ -35,4 +38,4 @@ jobs: env: DOT_LOG_LEVEL: debug LOCAL_SMOKE: 'true' - run: moon smoke-v2:run + run: moon smoke-v2:run-ci diff --git a/test/smoke-v2/moon.yml b/test/smoke-v2/moon.yml index 9828c0e0..fb7d84f1 100644 --- a/test/smoke-v2/moon.yml +++ b/test/smoke-v2/moon.yml @@ -28,6 +28,15 @@ tasks: outputStyle: 'stream' runDepsInParallel: false + run-ci: + command: playwright test -x + deps: + - ~:setup + options: + cache: false + outputStyle: 'stream' + runDepsInParallel: false + setup: command: ./scripts/ci-preview-setup-smoke-v2.sh options: From 6470539f9df9b4507907d48c671c716d6715f812 Mon Sep 17 00:00:00 2001 From: CharlieHelps Date: Fri, 15 May 2026 03:06:01 +0000 Subject: [PATCH 2/6] chore(repo): configure safe.directory in smoke v2 workflow --- .github/workflows/test-smoke-v2.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test-smoke-v2.yml b/.github/workflows/test-smoke-v2.yml index bd1a2e9e..64372f1a 100644 --- a/.github/workflows/test-smoke-v2.yml +++ b/.github/workflows/test-smoke-v2.yml @@ -22,6 +22,9 @@ jobs: with: fetch-depth: 10 + - name: Configure git safe.directory + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" + - name: Checkout Main run: | git fetch origin From 2e636c74d418818e3780f442a498f33784cce354 Mon Sep 17 00:00:00 2001 From: CharlieHelps Date: Fri, 15 May 2026 03:12:05 +0000 Subject: [PATCH 3/6] fix(ci): install xz-utils in smoke v2 workflow --- .github/workflows/test-smoke-v2.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/test-smoke-v2.yml b/.github/workflows/test-smoke-v2.yml index 64372f1a..b49fc4c1 100644 --- a/.github/workflows/test-smoke-v2.yml +++ b/.github/workflows/test-smoke-v2.yml @@ -30,6 +30,18 @@ jobs: git fetch origin git branch -f main origin/main + - name: Ensure xz is available + run: | + if ! command -v xz >/dev/null 2>&1; then + if command -v sudo >/dev/null 2>&1; then + sudo apt-get update + sudo apt-get install -y xz-utils + else + apt-get update + apt-get install -y xz-utils + fi + fi + - name: Setup uses: ./.github/actions/setup From f1e816440c7de283c0667fcfded5ebba02e14347 Mon Sep 17 00:00:00 2001 From: CharlieHelps Date: Fri, 15 May 2026 23:04:38 +0000 Subject: [PATCH 4/6] ci(repo): keep smoke-v2 task shell changes --- test/smoke-v2/moon.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/smoke-v2/moon.yml b/test/smoke-v2/moon.yml index fb7d84f1..931f0edc 100644 --- a/test/smoke-v2/moon.yml +++ b/test/smoke-v2/moon.yml @@ -1,22 +1,22 @@ # https://moonrepo.dev/docs/config/tasks -$schema: 'https://moonrepo.dev/schemas/tasks.json' +$schema: "https://moonrepo.dev/schemas/tasks.json" workspace: inheritedTasks: - exclude: ['build', 'compile', 'release', 'test'] + exclude: ["build", "compile", "release", "test"] tasks: dev: command: email preview fixtures/templates options: cache: false - outputStyle: 'stream' + outputStyle: "stream" install: command: playwright install --with-deps options: cache: false - outputStyle: 'stream' + outputStyle: "stream" run: command: playwright test -x @@ -25,7 +25,7 @@ tasks: - ~:setup options: cache: false - outputStyle: 'stream' + outputStyle: "stream" runDepsInParallel: false run-ci: @@ -34,21 +34,21 @@ tasks: - ~:setup options: cache: false - outputStyle: 'stream' + outputStyle: "stream" runDepsInParallel: false setup: - command: ./scripts/ci-preview-setup-smoke-v2.sh + command: bash ./scripts/ci-preview-setup-smoke-v2.sh options: cache: false - outputStyle: 'stream' + outputStyle: "stream" runFromWorkspaceRoot: true platform: system start: - command: ./scripts/ci-preview-start-smoke-v2.sh + command: bash ./scripts/ci-preview-start-smoke-v2.sh options: cache: false - outputStyle: 'stream' + outputStyle: "stream" runFromWorkspaceRoot: true platform: system From 37a23c6cd499db90c62ac2b063ed6b75aecb6ee1 Mon Sep 17 00:00:00 2001 From: CharlieHelps Date: Fri, 15 May 2026 17:45:24 +0000 Subject: [PATCH 5/6] fix(smoke-v2): restore single-quoted moon schema --- test/smoke-v2/moon.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/smoke-v2/moon.yml b/test/smoke-v2/moon.yml index 931f0edc..680cd0c2 100644 --- a/test/smoke-v2/moon.yml +++ b/test/smoke-v2/moon.yml @@ -1,5 +1,5 @@ # https://moonrepo.dev/docs/config/tasks -$schema: "https://moonrepo.dev/schemas/tasks.json" +$schema: 'https://moonrepo.dev/schemas/tasks.json' workspace: inheritedTasks: From 4d7fbe0ecb94951dab9d1b6286ad680ab81c21b6 Mon Sep 17 00:00:00 2001 From: shellscape Date: Fri, 15 May 2026 19:59:00 -0400 Subject: [PATCH 6/6] chore: revert double quote change --- test/smoke-v2/moon.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/smoke-v2/moon.yml b/test/smoke-v2/moon.yml index 680cd0c2..f0832b92 100644 --- a/test/smoke-v2/moon.yml +++ b/test/smoke-v2/moon.yml @@ -3,20 +3,20 @@ $schema: 'https://moonrepo.dev/schemas/tasks.json' workspace: inheritedTasks: - exclude: ["build", "compile", "release", "test"] + exclude: ['build', 'compile', 'release', 'test'] tasks: dev: command: email preview fixtures/templates options: cache: false - outputStyle: "stream" + outputStyle: 'stream' install: command: playwright install --with-deps options: cache: false - outputStyle: "stream" + outputStyle: 'stream' run: command: playwright test -x @@ -25,7 +25,7 @@ tasks: - ~:setup options: cache: false - outputStyle: "stream" + outputStyle: 'stream' runDepsInParallel: false run-ci: @@ -34,14 +34,14 @@ tasks: - ~:setup options: cache: false - outputStyle: "stream" + outputStyle: 'stream' runDepsInParallel: false setup: command: bash ./scripts/ci-preview-setup-smoke-v2.sh options: cache: false - outputStyle: "stream" + outputStyle: 'stream' runFromWorkspaceRoot: true platform: system @@ -49,6 +49,6 @@ tasks: command: bash ./scripts/ci-preview-start-smoke-v2.sh options: cache: false - outputStyle: "stream" + outputStyle: 'stream' runFromWorkspaceRoot: true platform: system