From 817143fdb1810643e45a25cc9b8e5a2bd7082cae Mon Sep 17 00:00:00 2001 From: Himanshu Singh Date: Wed, 24 Sep 2025 16:30:17 +0200 Subject: [PATCH 1/4] chore: debugging snyk --- .github/workflows/actions/test-and-build/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions/test-and-build/action.yaml b/.github/workflows/actions/test-and-build/action.yaml index e3d6b39e3..6e6161e0d 100644 --- a/.github/workflows/actions/test-and-build/action.yaml +++ b/.github/workflows/actions/test-and-build/action.yaml @@ -32,7 +32,7 @@ runs: # https://github.com/nodejs/node-gyp/issues/2869 - uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: "3.11" - name: Run node-gyp bug workaround script run: | @@ -116,7 +116,7 @@ runs: env: SNYK_TOKEN: ${{ inputs.SNYK_TOKEN }} run: | - npm run snyk-test > /dev/null 2>&1 + npm run snyk-test - name: Create Jira Tickets if: > From 6ef77e7d48f01613a92827261f88fbff4557ebd3 Mon Sep 17 00:00:00 2001 From: Himanshu Singh Date: Wed, 24 Sep 2025 16:46:00 +0200 Subject: [PATCH 2/4] chore: debugging snyk --- scripts/snyk-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/snyk-test.js b/scripts/snyk-test.js index 688ce15d6..705e51283 100644 --- a/scripts/snyk-test.js +++ b/scripts/snyk-test.js @@ -31,7 +31,7 @@ async function snykTest(cwd) { } const res = JSON.parse(await fs.readFile(tmpPath)); - console.info(`testing ${cwd} done.`); + console.info(`testing ${cwd} done.`, res); return res; } catch (err) { console.error(`testing ${cwd} failed. ${err.message}`); From c5a701de433f845035018e28e43b8331592f6ddf Mon Sep 17 00:00:00 2001 From: Himanshu Singh Date: Wed, 24 Sep 2025 16:50:58 +0200 Subject: [PATCH 3/4] chore: debugging snyk --- .github/workflows/actions/test-and-build/action.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/actions/test-and-build/action.yaml b/.github/workflows/actions/test-and-build/action.yaml index 6e6161e0d..73a6fba2f 100644 --- a/.github/workflows/actions/test-and-build/action.yaml +++ b/.github/workflows/actions/test-and-build/action.yaml @@ -116,6 +116,8 @@ runs: env: SNYK_TOKEN: ${{ inputs.SNYK_TOKEN }} run: | + echo "Dir contents: $(ls -a)" + echo "node_modules contents: $(ls -a node_modules)" npm run snyk-test - name: Create Jira Tickets From 276c47ddd20bfd2e7bf29bd0d52393c25ea97a5b Mon Sep 17 00:00:00 2001 From: Himanshu Singh Date: Wed, 24 Sep 2025 17:06:18 +0200 Subject: [PATCH 4/4] chore: debugging snyk --- .github/workflows/actions/test-and-build/action.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions/test-and-build/action.yaml b/.github/workflows/actions/test-and-build/action.yaml index 73a6fba2f..215dfac3d 100644 --- a/.github/workflows/actions/test-and-build/action.yaml +++ b/.github/workflows/actions/test-and-build/action.yaml @@ -116,9 +116,10 @@ runs: env: SNYK_TOKEN: ${{ inputs.SNYK_TOKEN }} run: | - echo "Dir contents: $(ls -a)" - echo "node_modules contents: $(ls -a node_modules)" npm run snyk-test + EXIT_CODE=$? + echo "Exit code $EXIT_CODE" + exit $EXIT_CODE" - name: Create Jira Tickets if: >