From 290210c0c2fba8c661681d655c4b318b3e2d8303 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 10 Apr 2026 00:15:18 +0200 Subject: [PATCH 1/3] tools: add a check for clean git tree after tests Signed-off-by: Antoine du Hamel --- .github/workflows/test-linux.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index 6d49f08991cf86..0cde3e949ce9e2 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -80,6 +80,8 @@ jobs: run: make -C node build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --v8-enable-temporal-support" - name: Test run: make -C node test-ci -j1 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9" + - name: Ensure running tests did not cause any change in the tree + run: cd node && git diff --name-only --exit-code - name: Re-run test in a folder whose name contains unusual chars run: | mv node "$DIR" From 9791a395c222475b483f5e8e407c4ea702891589 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 10 Apr 2026 10:06:36 +0200 Subject: [PATCH 2/3] fixup! tools: add a check for clean git tree after tests use working-directory --- .github/workflows/test-linux.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index 0cde3e949ce9e2..2725a9f2c49cd9 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -77,11 +77,14 @@ jobs: - name: Environment Information run: npx envinfo - name: Build - run: make -C node build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --v8-enable-temporal-support" + working-directory: node + run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --v8-enable-temporal-support" - name: Test - run: make -C node test-ci -j1 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9" + working-directory: node + run: make test-ci -j1 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9" - name: Ensure running tests did not cause any change in the tree - run: cd node && git diff --name-only --exit-code + working-directory: node + run: git diff --name-only --exit-code - name: Re-run test in a folder whose name contains unusual chars run: | mv node "$DIR" From 9198c89df969ee354d37ac0ae33db18defe4bbb4 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 10 Apr 2026 11:05:00 +0200 Subject: [PATCH 3/3] fixup! tools: add a check for clean git tree after tests --- .github/workflows/test-linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index 2725a9f2c49cd9..8d878c26f74888 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -84,7 +84,7 @@ jobs: run: make test-ci -j1 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9" - name: Ensure running tests did not cause any change in the tree working-directory: node - run: git diff --name-only --exit-code + run: git add -A && git diff --name-only --exit-code --staged - name: Re-run test in a folder whose name contains unusual chars run: | mv node "$DIR"