chore: Replace execSync with execFileSync to prevent command injectio… #154
ci.yml
on: push
Matrix: job_compile
Lint
21s
Matrix: job_test_bindings
All required jobs passed
2s
Annotations
15 errors
|
Compile Binary (v22) ubuntu-22.04, ghcr.io/getsentry/sentry-test-ubuntu-20.04-amd64:0dd255f3d41d013c1db4c4e08ffd22ee7959c3cc, glibc
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
|
|
Compile Binary (v22) ubuntu-22.04, ghcr.io/getsentry/sentry-test-ubuntu-20.04-amd64:0dd255f3d41d013c1db4c4e08ffd22ee7959c3cc, glibc
WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
|
|
Compile Binary (v22) ubuntu-22.04, ghcr.io/getsentry/sentry-test-ubuntu-20.04-amd64:0dd255f3d41d013c1db4c4e08ffd22ee7959c3cc, glibc
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
|
|
Compile Binary (v20) ubuntu-22.04, ghcr.io/getsentry/sentry-test-ubuntu-20.04-amd64:0dd255f3d41d013c1db4c4e08ffd22ee7959c3cc, glibc
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
|
|
Compile Binary (v20) ubuntu-22.04, ghcr.io/getsentry/sentry-test-ubuntu-20.04-amd64:0dd255f3d41d013c1db4c4e08ffd22ee7959c3cc, glibc
WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
|
|
Compile Binary (v20) ubuntu-22.04, ghcr.io/getsentry/sentry-test-ubuntu-20.04-amd64:0dd255f3d41d013c1db4c4e08ffd22ee7959c3cc, glibc
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
|
|
Compile Binary (v24) ubuntu-22.04, ghcr.io/getsentry/sentry-test-ubuntu-20.04-amd64:0dd255f3d41d013c1db4c4e08ffd22ee7959c3cc, glibc
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
|
|
Compile Binary (v24) ubuntu-22.04, ghcr.io/getsentry/sentry-test-ubuntu-20.04-amd64:0dd255f3d41d013c1db4c4e08ffd22ee7959c3cc, glibc
WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
|
|
Compile Binary (v24) ubuntu-22.04, ghcr.io/getsentry/sentry-test-ubuntu-20.04-amd64:0dd255f3d41d013c1db4c4e08ffd22ee7959c3cc, glibc
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
|
|
Compile Binary (v18) ubuntu-22.04, ghcr.io/getsentry/sentry-test-ubuntu-20.04-amd64:0dd255f3d41d013c1db4c4e08ffd22ee7959c3cc, glibc
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
|
|
Compile Binary (v18) ubuntu-22.04, ghcr.io/getsentry/sentry-test-ubuntu-20.04-amd64:0dd255f3d41d013c1db4c4e08ffd22ee7959c3cc, glibc
WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
|
|
Compile Binary (v18) ubuntu-22.04, ghcr.io/getsentry/sentry-test-ubuntu-20.04-amd64:0dd255f3d41d013c1db4c4e08ffd22ee7959c3cc, glibc
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
|
|
Test (v24) macos-15-intel
Process completed with exit code 1.
|
|
test/e2e.test.mjs > e2e Tests > Capture stack trace from multiple threads:
test/e2e.test.mjs#L71
AssertionError: expected { '0': { frames: [ …(12) ] }, …(1) } to deeply equal ObjectContaining{…}
- Expected
+ Received
- ObjectContaining {
+ {
"0": {
- "frames": ArrayContaining [
+ "frames": [
{
- "colno": Any<Number>,
- "filename": Any<String>,
+ "colno": 28,
+ "filename": "node:buffer",
+ "function": "from",
+ "lineno": 308,
+ },
+ {
+ "colno": 17,
+ "filename": "node:internal/crypto/pbkdf2",
"function": "pbkdf2Sync",
- "lineno": Any<Number>,
+ "lineno": 79,
},
{
- "colno": Any<Number>,
- "filename": StringMatching /long-work.js$/,
+ "colno": 25,
+ "filename": "/Users/runner/work/sentry-javascript-node-native-stacktrace/sentry-javascript-node-native-stacktrace/test/long-work.js",
"function": "longWork",
- "lineno": Any<Number>,
+ "lineno": 6,
},
{
- "colno": Any<Number>,
- "filename": StringMatching /stack-traces.js$/,
+ "colno": 1,
+ "filename": "/Users/runner/work/sentry-javascript-node-native-stacktrace/sentry-javascript-node-native-stacktrace/test/stack-traces.js",
"function": "?",
- "lineno": Any<Number>,
+ "lineno": 11,
+ },
+ {
+ "colno": 14,
+ "filename": "node:internal/modules/cjs/loader",
+ "function": "?",
+ "lineno": 1761,
+ },
+ {
+ "colno": 10,
+ "filename": "node:internal/modules/cjs/loader",
+ "function": "?",
+ "lineno": 1893,
+ },
+ {
+ "colno": 32,
+ "filename": "node:internal/modules/cjs/loader",
+ "function": "?",
+ "lineno": 1481,
+ },
+ {
+ "colno": 12,
+ "filename": "node:internal/modules/cjs/loader",
+ "function": "?",
+ "lineno": 1300,
+ },
+ {
+ "colno": 14,
+ "filename": "node:diagnostics_channel",
+ "function": "traceSync",
+ "lineno": 328,
+ },
+ {
+ "colno": 24,
+ "filename": "node:internal/modules/cjs/loader",
+ "function": "wrapModuleLoad",
+ "lineno": 245,
},
+ {
+ "colno": 5,
+ "filename": "node:internal/modules/run_main",
+ "function": "executeUserEntryPoint",
+ "lineno": 154,
+ },
+ {
+ "colno": 47,
+ "filename": "node:internal/main/run_main_module",
+ "function": "?",
+ "lineno": 33,
+ },
],
},
"2": {
- "frames": ArrayContaining [
+ "frames": [
{
- "colno": Any<Number>,
- "filename": Any<String>,
- "function": "pbkdf2Sync",
- "lineno": Any<Number>,
+ "colno": 24,
+ "filename": "node:internal/crypto/random",
+ "function": "randomFillSync",
+ "lineno": 119,
},
{
- "colno": Any<Number>,
- "filename": StringMatching /long-work.js$/,
+ "colno": 5,
+ "filename": "node:internal/crypto/random",
+ "function": "randomBytes",
+ "lineno": 108,
+ },
+ {
+ "colno": 25,
+ "filename": "/Users/runner/work/sentry-javascript-node-native-stacktrace/sentry-javascript-node-native-stacktrace/test/long-work.js",
"function": "longWork",
- "lineno": Any<Number>,
+ "lineno": 5,
+ },
+ {
+ "colno": 1,
+ "filename": "/Users/runner/work/sentry-javascript-node-native-stacktrace/sentry-javascript-node-native-stacktrace/test/worker.js",
+ "function": "?",
+ "lineno": 6,
+ },
+ {
+ "colno": 14,
+ "filename": "node:internal/modules/cjs/loader",
+ "function": "?",
+ "lineno": 1761,
+ },
+ {
+ "colno": 10,
+ "filename": "node:internal/modules/cjs/loader",
+ "function": "?",
+ "lineno": 1893,
+ },
+ {
+ "colno": 32,
+ "filena
|
|
All required jobs passed
Process completed with exit code 1.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
cf003aca4661b4c3dcd403d25dd0b7f45fa078ee
|
985 KB |
sha256:be869705edac1486e653b3d5a1112767b58de6691c4e94f88d232f684e6e5b86
|
|
|
stack-trace-darwin-arm64-108
|
17.9 KB |
sha256:1749dcdf9d231452b3861ce801a85ee6f368d3bcf1e86c3a745f7d3d8a1e2f17
|
|
|
stack-trace-darwin-arm64-115
|
17.9 KB |
sha256:7705ca6416bc277cf3fa4c71288dc4b5bf792b38ce7df428cad39bdbfac772b0
|
|
|
stack-trace-darwin-arm64-127
|
18.4 KB |
sha256:8c52030988eea4ebd56a21b2ce362fe8eb2a08c7114e4939a4157c8c9c920d7e
|
|
|
stack-trace-darwin-arm64-137
|
19 KB |
sha256:a613e8ea2dda39444e8622d3b6d6faaf5fc375148d4f3541fcd38f528fdb8df4
|
|
|
stack-trace-darwin-x64-108
|
17.5 KB |
sha256:94b4a6892dcf267b8401cc8bb380081c452df0c81c0aee48a4bb1f3d7b3ceb9d
|
|
|
stack-trace-darwin-x64-115
|
17.5 KB |
sha256:4e9605b3a90f8a8296b0ef42cd6050f2074785afd1cb5bd5097cb6e2343f106b
|
|
|
stack-trace-darwin-x64-127
|
18 KB |
sha256:ba64922baf1156de7dd5f7efc6747923685acc58b67b096fa3462ac55efbb2a4
|
|
|
stack-trace-darwin-x64-137
|
18.7 KB |
sha256:82046bb48673c3d118308419e3b4d057b416a8b078aa3411730eab0e51e7c434
|
|
|
stack-trace-linux-arm64-glibc-108
|
30.5 KB |
sha256:ab5646b7a02a2617c4970749ee3a70417ce265471d368370f39caee2eb67c9d0
|
|
|
stack-trace-linux-arm64-glibc-115
|
30.5 KB |
sha256:050bb2768e3b768ccacd6c9779b1addfd7bc057fa030ce5a58020203fc09eab5
|
|
|
stack-trace-linux-arm64-glibc-127
|
31.1 KB |
sha256:7dc02c788a82368e9f0740d168cb4168db73af099e13fb47d5bf0896944d4e68
|
|
|
stack-trace-linux-arm64-glibc-137
|
31.1 KB |
sha256:fc90c4b19fee4673dba1c0661bbe913ecb38b568aefafead793a8d67f90b3887
|
|
|
stack-trace-linux-arm64-musl-108
|
30.5 KB |
sha256:ae100aa5da4f0a0b31648adf2c9e004c045cdc637f40879e2956237d52fc7226
|
|
|
stack-trace-linux-arm64-musl-115
|
30.5 KB |
sha256:2f6758d8e0f79043901b476f31e99212d56181825a872ad40f7a089de1f3ae92
|
|
|
stack-trace-linux-arm64-musl-127
|
31.1 KB |
sha256:d4f7c787d19a59887b5a1cbd3b65aec327001e72478cbdfdfb9d9770fdbd1189
|
|
|
stack-trace-linux-arm64-musl-137
|
31.1 KB |
sha256:25b65612b09c641ffda25230d87a13506acd699aa6edf750d217d046f94aee14
|
|
|
stack-trace-linux-x64-glibc-108
|
30.7 KB |
sha256:d16d9b346325d7ae55fb285ec3d13fe5bfe0f1e29c7cdc2ea90c747d2e42a394
|
|
|
stack-trace-linux-x64-glibc-115
|
30.7 KB |
sha256:2c621464e3e741b0956f99ee561d56f92d5102c57aca49d029c56b9ac9c0b294
|
|
|
stack-trace-linux-x64-glibc-127
|
31.5 KB |
sha256:a2a796b9125ee8c8057f192c46c18a5e93dcf1cfa51cad382546e6aca621e7e2
|
|
|
stack-trace-linux-x64-glibc-137
|
31.2 KB |
sha256:4e996d11272b0ff15a83c10a9ac735472cb307bf36c1a3ec71e471db1b3b0841
|
|
|
stack-trace-linux-x64-musl-108
|
29.9 KB |
sha256:5ffc0eb07e705029c19cfb04f2a0d2aaf5c8ebd1255700be21eecd07f164f291
|
|
|
stack-trace-linux-x64-musl-115
|
29.9 KB |
sha256:ee7d91c7214d586d30ee80fde17b3fd1098e8f6bf4b630e7807b0a4477ee59d9
|
|
|
stack-trace-linux-x64-musl-127
|
30.6 KB |
sha256:e762394c52077c3b3c4cd4a76840ac299d74cc695d7fa0ce306dfa40391ccaf4
|
|
|
stack-trace-linux-x64-musl-137
|
34.6 KB |
sha256:28e6adb6390e96ee03e167dc7c3c2465d1be361def95d0984c913f15fa87a40b
|
|
|
stack-trace-win32-x64-108
|
91.6 KB |
sha256:632f544622164ea36139ebe2e434e670bd2cb0da2065f1f552c76909acc9713c
|
|
|
stack-trace-win32-x64-115
|
91.8 KB |
sha256:21a8814488a1301c5a4a4f84ddb9e6b9e16d844191541a5c7b16b543c1e35f8a
|
|
|
stack-trace-win32-x64-127
|
92.5 KB |
sha256:159abfc9b5c459de5052bf56ba4147ab9a2ee90dd8863595370dc3262be34484
|
|
|
stack-trace-win32-x64-137
|
92.4 KB |
sha256:15854330aa82cd8c710837fdf5add75dd41e490c2d6ca29e7acb2f673514163d
|
|