Skip to content

nightly tests

nightly tests #163

Triggered via schedule April 9, 2026 08:04
Status Success
Total duration 17m 0s
Artifacts 4

tests.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
build
The action 'Views Tests' has timed out after 10 minutes.
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)
Failed Test: endpoints GET /api/admin/activity should return active users: cables_api/test/endpoints.js#L0
endpoints GET /api/admin/activity should return active users: AssertionError expected 0 to be above or equal 1 - AssertionError: expected 0 to be above or equal 1 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/admin_endpoint_tests.js:141:43) 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:857:12) 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/json.js:21:7) 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 6.
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 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.7 KB
sha256:bb3ccd063d4b142617f89a699800f5f033b592a5900e290766ceba874eb9dd4b
devlive-report
4.18 KB
sha256:5df45015e900b263695ed66a8cad915f2442bdec54bec5c464458d321720fb5c
export-report
11.1 KB
sha256:fd2af25b99973f76f1ff6a2b7c69dcaa11b92d055b64e0fd2d1b5d89555630c8
views-report
37.3 KB
sha256:b7228636e5bb500268284ef40220157fc959dafd31971ebd806362b3d3027072