Skip to content

Commit 9edcfbc

Browse files
backspaceclaude
andcommitted
ci: TEMPORARY host-mode flake stress run (revert before merge)
Throwaway CI changes to surface the host-mode page.goto flake on the first attempt rather than waiting for it to recur. Revert this whole commit before merging. ci.yaml: - Run only Matrix shard 1, ten times in parallel (matrix `copy` 1..10), with fail-fast off so every copy reports independently. Per-shard artifact names get the copy suffix so the parallel jobs don't collide on upload; the merge job's `blob-report-*` glob still consolidates them. - Force every change-check suite output OFF except `matrix`, so nothing but the stress jobs (and their required test-web-assets + report merge) runs. Editing ci.yaml otherwise flips every suite on via the shared paths-filter anchor. ci-host.yaml, ci-software-factory.yaml: - Gate the entry jobs with `if: false` so these suites don't run. Both are otherwise triggered for this branch — Software Factory by the packages/matrix/** path (host-mode.spec.ts), and CI Host because editing its own file matches its paths filter. Disabling the entry jobs cascades to skip everything downstream. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent bdde51f commit 9edcfbc

3 files changed

Lines changed: 50 additions & 26 deletions

File tree

.github/workflows/ci-host.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ permissions:
3535
jobs:
3636
check-percy:
3737
name: Check if Percy is needed
38+
# TEMPORARY (host-mode flake stress run): disabled so this branch runs
39+
# only ci.yaml's Matrix shard-1 ×10 stress jobs. Editing this file makes
40+
# it match its own paths filter and trigger, so every job is gated off
41+
# rather than relying on the path filter. Revert before merge.
42+
if: false
3843
runs-on: ubuntu-latest
3944
outputs:
4045
percy_needed: ${{ steps.check.outputs.percy_needed }}
@@ -78,6 +83,10 @@ jobs:
7883
7984
test-web-assets:
8085
name: Build test web assets
86+
# TEMPORARY (host-mode flake stress run) — revert before merge. Disabling
87+
# this entry job cascades to skip live-test, host-test, and all the
88+
# report/percy/baseline jobs that depend on it.
89+
if: false
8190
uses: ./.github/workflows/test-web-assets.yaml
8291
with:
8392
caller: ci-host

.github/workflows/ci-software-factory.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,19 @@ permissions:
4040
jobs:
4141
test-web-assets:
4242
name: Build test web assets
43+
# TEMPORARY (host-mode flake stress run): disabled so this branch runs
44+
# only ci.yaml's Matrix shard-1 ×10 stress jobs. This PR touches
45+
# packages/matrix/** (host-mode.spec.ts), which would otherwise trigger
46+
# the full Software Factory suite. Revert before merge.
47+
if: false
4348
uses: ./.github/workflows/test-web-assets.yaml
4449
with:
4550
caller: ci-software-factory
4651

4752
software-factory-test:
4853
name: Software Factory Tests (shard ${{ matrix.shard.index }}/${{ matrix.shard.total }})
4954
needs: test-web-assets
55+
if: false # TEMPORARY (host-mode flake stress run) — revert before merge
5056
runs-on: ubuntu-latest
5157
strategy:
5258
fail-fast: false

.github/workflows/ci.yaml

Lines changed: 35 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,26 @@ jobs:
2424
name: Check which packages changed
2525
runs-on: ubuntu-latest
2626
outputs:
27-
boxel: ${{ steps.filter.outputs.boxel }}
28-
ai-bot: ${{ steps.filter.outputs.ai-bot }}
29-
bot-runner: ${{ steps.filter.outputs.bot-runner }}
30-
eslint-plugin-boxel: ${{ steps.filter.outputs.eslint-plugin-boxel }}
31-
eslint-plugin-cardstack-host: ${{ steps.filter.outputs.eslint-plugin-cardstack-host }}
32-
postgres-migrations: ${{ steps.filter.outputs.postgres-migrations }}
33-
boxel-icons: ${{ steps.filter.outputs.boxel-icons }}
34-
boxel-ui: ${{ steps.filter.outputs.boxel-ui }}
35-
matrix: ${{ steps.filter.outputs.matrix }}
36-
realm-server: ${{ steps.filter.outputs.realm-server }}
37-
vscode-boxel-tools: ${{ steps.filter.outputs.vscode-boxel-tools }}
38-
boxel-cli: ${{ steps.filter.outputs.boxel-cli }}
39-
bench-amd: ${{ steps.filter.outputs.bench-amd }}
40-
bench-realm: ${{ steps.filter.outputs.bench-realm }}
41-
# Force all tests to run when on ci-bisect* branches
42-
run_all: ${{ steps.force-run-all.outputs.run_all }}
27+
# TEMPORARY (host-mode flake stress test): force every suite OFF except
28+
# `matrix`, so the only thing this branch runs is the Matrix shard-1 ×10
29+
# stress jobs. Revert this block (restore the `steps.filter.outputs.*`
30+
# passthroughs) together with the matrix-client-test matrix changes
31+
# before merging.
32+
boxel: "false"
33+
ai-bot: "false"
34+
bot-runner: "false"
35+
eslint-plugin-boxel: "false"
36+
eslint-plugin-cardstack-host: "false"
37+
postgres-migrations: "false"
38+
boxel-icons: "false"
39+
boxel-ui: "false"
40+
matrix: "true"
41+
realm-server: "false"
42+
vscode-boxel-tools: "false"
43+
boxel-cli: "false"
44+
bench-amd: "false"
45+
bench-realm: "false"
46+
run_all: "false"
4347
steps:
4448
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4549
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
@@ -361,10 +365,15 @@ jobs:
361365
strategy:
362366
fail-fast: false
363367
matrix:
364-
shardIndex: [1, 2, 3]
368+
# TEMPORARY (host-mode flake stress test): run only shard 1, ten times
369+
# in parallel, to surface the page.goto flake on the first attempt.
370+
# Revert this whole job's matrix/concurrency/artifact-name changes
371+
# before merging — restore `shardIndex: [1, 2, 3]` and drop `copy`.
372+
copy: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
373+
shardIndex: [1]
365374
shardTotal: [3]
366375
concurrency:
367-
group: matrix-client-test-${{ matrix.shardIndex }}-${{ github.head_ref || github.run_id }}
376+
group: matrix-client-test-${{ matrix.shardIndex }}-${{ matrix.copy }}-${{ github.head_ref || github.run_id }}
368377
cancel-in-progress: true
369378
steps:
370379
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -404,58 +413,58 @@ jobs:
404413
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
405414
if: ${{ !cancelled() }}
406415
with:
407-
name: matrix-test-realm-server-log-${{ matrix.shardIndex }}
416+
name: matrix-test-realm-server-log-${{ matrix.shardIndex }}-${{ matrix.copy }}
408417
path: /tmp/server.log
409418
retention-days: 30
410419
- name: Upload worker manager log
411420
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
412421
if: ${{ !cancelled() }}
413422
with:
414-
name: matrix-test-worker-manager-log-${{ matrix.shardIndex }}
423+
name: matrix-test-worker-manager-log-${{ matrix.shardIndex }}-${{ matrix.copy }}
415424
path: /tmp/worker-manager.log
416425
retention-days: 30
417426
- name: Upload prerender server log
418427
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
419428
if: ${{ !cancelled() }}
420429
with:
421-
name: matrix-test-prerender-server-log-${{ matrix.shardIndex }}
430+
name: matrix-test-prerender-server-log-${{ matrix.shardIndex }}-${{ matrix.copy }}
422431
path: /tmp/prerender-server.log
423432
retention-days: 30
424433
- name: Upload prerender manager log
425434
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
426435
if: ${{ !cancelled() }}
427436
with:
428-
name: matrix-test-prerender-manager-log-${{ matrix.shardIndex }}
437+
name: matrix-test-prerender-manager-log-${{ matrix.shardIndex }}-${{ matrix.copy }}
429438
path: /tmp/prerender-manager.log
430439
retention-days: 30
431440
- name: Upload icon server log
432441
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
433442
if: ${{ !cancelled() }}
434443
with:
435-
name: matrix-test-icon-server-log-${{ matrix.shardIndex }}
444+
name: matrix-test-icon-server-log-${{ matrix.shardIndex }}-${{ matrix.copy }}
436445
path: /tmp/icon-server.log
437446
retention-days: 30
438447
- name: Upload host-dist log
439448
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
440449
if: ${{ !cancelled() }}
441450
with:
442-
name: matrix-test-host-dist-log-${{ matrix.shardIndex }}
451+
name: matrix-test-host-dist-log-${{ matrix.shardIndex }}-${{ matrix.copy }}
443452
path: /tmp/host-dist.log
444453
retention-days: 30
445454

446455
- name: Upload blob report to GitHub Actions Artifacts
447456
if: ${{ !cancelled() }}
448457
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
449458
with:
450-
name: blob-report-${{ matrix.shardIndex }}
459+
name: blob-report-${{ matrix.shardIndex }}-${{ matrix.copy }}
451460
path: packages/matrix/blob-report
452461
retention-days: 1
453462

454463
- name: Upload Playwright traces
455464
if: ${{ !cancelled() }}
456465
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
457466
with:
458-
name: playwright-traces-${{ matrix.shardIndex }}
467+
name: playwright-traces-${{ matrix.shardIndex }}-${{ matrix.copy }}
459468
path: packages/matrix/test-results/**/trace.zip
460469
retention-days: 30
461470
if-no-files-found: ignore

0 commit comments

Comments
 (0)