Skip to content

Commit c02f3fb

Browse files
committed
debug(ci): tmate ssh into macos-14 node24 e2e job on failure
Cannot reproduce the macos-14 + node 24 watch e2e failure locally on the same Node version (24.15.0), same fixture, same binding, same concurrency. Last unknown is the GitHub Actions macos-14 runner's actual hardware/OS state. Open a tmate session on failure, limited to that one matrix slot, so we can inspect: - runner CPU/memory pressure - the fresh-dir contents after fs.update - whether rspack input fs cache holds the old content - whether vnode invalidation lag is observable Will be reverted after the investigation.
1 parent d02a0cc commit c02f3fb

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,18 @@ jobs:
226226
- name: E2E Test (${{ matrix.test_script }})
227227
run: cd e2e && pnpm ${{ matrix.test_script }}
228228

229+
# RCA debug: SSH into the macos-14 + node 24 runner on e2e failure
230+
# so we can inspect why the watch test sees stale dist content
231+
# (mode B "No test files need re-run") that we cannot reproduce
232+
# locally on the same Node version. Limited to the one matrix slot
233+
# that consistently fails, so other failures are not impacted.
234+
- name: Setup tmate session (RCA debug)
235+
if: failure() && matrix.os == 'macos-14' && matrix.node_version == '24'
236+
uses: mxschmitt/action-tmate@172994372753cb896adac383df48b1d7a2dae4d1 # v3.23
237+
timeout-minutes: 30
238+
with:
239+
limit-access-to-actor: true
240+
229241
- name: VS Code Extension Test
230242
if: matrix.test_script == 'test'
231243
run: pnpm run test:vscode

0 commit comments

Comments
 (0)