Skip to content

nightly tests

nightly tests #164

Manually triggered April 9, 2026 09:18
Status Success
Total duration 6m 51s
Artifacts 5

tests.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
Failed Test: endpoints GET /api/avatar/:userId/:size should return image when given invalid size: cables_api/test/endpoints.js#L0
endpoints GET /api/avatar/:userId/:size should return image when given invalid size: AssertionError expected 'true' not to be 'true' (false negative fail) - AssertionError: expected 'true' not to be 'true' (false negative fail) at Assertion.fail (node_modules/should/cjs/should.js:275:17) at Assertion.value (node_modules/should/cjs/should.js:368:17) at Test.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/endpoints/avatars_endpoint_tests.js:163:64) at Test.assert (node_modules/supertest/lib/test.js:172:8) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:867:3) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/superagent/lib/node/index.js:1070:18 at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/parsers/image.js:10:5) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Failed Test: endpoints GET /api/avatar/:userId/:size should resize image when given size: cables_api/test/endpoints.js#L0
endpoints GET /api/avatar/:userId/:size should resize image when given size: AssertionError expected '0' to be '75' - AssertionError: expected '0' to be '75' at Assertion.fail (node_modules/should/cjs/should.js:275:17) at Assertion.value (node_modules/should/cjs/should.js:356:19) at Test.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/endpoints/avatars_endpoint_tests.js:136:53) at Test.assert (node_modules/supertest/lib/test.js:172:8) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:867:3) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/superagent/lib/node/index.js:1070:18 at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/parsers/image.js:10:5) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Failed Test: endpoints GET /api/avatar/:userId/:size should return image for anon users: cables_api/test/endpoints.js#L0
endpoints GET /api/avatar/:userId/:size should return image for anon users: AssertionError expected '0' to be '263' - AssertionError: expected '0' to be '263' at Assertion.fail (node_modules/should/cjs/should.js:275:17) at Assertion.value (node_modules/should/cjs/should.js:356:19) at Test.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/endpoints/avatars_endpoint_tests.js:120:53) at Test.assert (node_modules/supertest/lib/test.js:172:8) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:867:3) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/superagent/lib/node/index.js:1070:18 at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/parsers/image.js:10:5) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Failed Test: endpoints GET /api/avatar/:userId should return image for normal user: cables_api/test/endpoints.js#L0
endpoints GET /api/avatar/:userId should return image for normal user: AssertionError expected '0' to be '33' - AssertionError: expected '0' to be '33' at Assertion.fail (node_modules/should/cjs/should.js:275:17) at Assertion.value (node_modules/should/cjs/should.js:356:19) at Test.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/endpoints/avatars_endpoint_tests.js:93:53) at Test.assert (node_modules/supertest/lib/test.js:172:8) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:867:3) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/superagent/lib/node/index.js:1070:18 at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/parsers/image.js:10:5) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Failed Test: endpoints GET /api/avatar/:userId should return image for anon users: cables_api/test/endpoints.js#L0
endpoints GET /api/avatar/:userId should return image for anon users: AssertionError expected '0' to be '33' - AssertionError: expected '0' to be '33' at Assertion.fail (node_modules/should/cjs/should.js:275:17) at Assertion.value (node_modules/should/cjs/should.js:356:19) at Test.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/endpoints/avatars_endpoint_tests.js:77:53) at Test.assert (node_modules/supertest/lib/test.js:172:8) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:867:3) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/superagent/lib/node/index.js:1070:18 at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/parsers/image.js:10:5) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
build
Process completed with exit code 5.
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build
GitHub token is required to authenticate Octokit Unable to fetch previous test results - this is likely a permissions issue. To enable previous results and test metrics, you need to: 1. Set the GITHUB_TOKEN environment variable, or 2. Use the default GitHub Actions token: "${{ secrets.GITHUB_TOKEN }}" Add this to your workflow file: jobs: test: runs-on: ubuntu-latest permissions: actions: read contents: read See documentation: https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#permissions-for-the-github_token The token is needed to access workflow runs and artifacts from previous test executions. Without it, the action will skip previous results processing and only generate reports from the current run.
build
GitHub token is required to authenticate Octokit Unable to fetch previous test results - this is likely a permissions issue. To enable previous results and test metrics, you need to: 1. Set the GITHUB_TOKEN environment variable, or 2. Use the default GitHub Actions token: "${{ secrets.GITHUB_TOKEN }}" Add this to your workflow file: jobs: test: runs-on: ubuntu-latest permissions: actions: read contents: read See documentation: https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#permissions-for-the-github_token The token is needed to access workflow runs and artifacts from previous test executions. Without it, the action will skip previous results processing and only generate reports from the current run.

Artifacts

Produced during runtime
Name Size Digest
api-report
27 KB
sha256:e6cf3f4784ab9becf7367050a3116b4d95ee718282b16a33612680e96a32db26
devlive-report
4.18 KB
sha256:fa95dee81741df22c2509a672a3c5940f5665cfbaa674660ceeb33f2daeb6943
export-report
11.1 KB
sha256:dd75efd81ae35901d541f36e6a8102c98e14abb2a112e38d784968ca440df23e
pm2-logs
29.8 KB
sha256:08ce738d09f9329b39cb85fbb113c9339d4d6d45e6e8f74ccc557cc72601c319
views-report
37.7 KB
sha256:4bbf4c7e6917728b4ad92a6a8137a560c9e3df88fd4c8ffd544c50d61a9fe9b2