Skip to content

nightly tests

nightly tests #141

Triggered via schedule March 29, 2026 03:57
Status Success
Total duration 4m 5s
Artifacts 2

tests.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 3 warnings
Failed Test: views GET /team/:teamId/avatar should not be public: cables_api/test/views.js#L0
views GET /team/:teamId/avatar should not be public: Error expected 401 "Unauthorized", got 200 "OK" - Error: expected 401 "Unauthorized", got 200 "OK" at TeamViewsTest.request (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/common/view_tests.js:92:19) at TeamViewsTest.testLoginRequired (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/common/view_tests.js:57:14) at Context.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/views.js:59:46) at process.processImmediate (node:internal/timers:478:21) ---- at Test._assertStatus (node_modules/supertest/lib/test.js:252:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:308:13 at Test._assertFunction (node_modules/supertest/lib/test.js:285:13) at Test.assert (node_modules/supertest/lib/test.js:164:23) 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/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: views anon GET for /devsites.html: cables_api/test/views.js#L0
views anon GET for /devsites.html: Error expected one of "200, 401", got 500 "Internal Server Error" - Error: expected one of "200, 401", got 500 "Internal Server Error" at Context.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/views.js:114:85) at process.processImmediate (node:internal/timers:478:21) ---- at Test._assertStatusArray (node_modules/supertest/lib/test.js:268:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:308:13 at Test._assertFunction (node_modules/supertest/lib/test.js:285:13) at Test.assert (node_modules/supertest/lib/test.js:164:23) 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 IncomingMessage.<anonymous> (node_modules/superagent/lib/node/index.js:1070:18) 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: views user GET for /devsites.html: cables_api/test/views.js#L0
views user GET for /devsites.html: Error expected one of "200, 401", got 500 "Internal Server Error" - Error: expected one of "200, 401", got 500 "Internal Server Error" at Context.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/views.js:100:85) at process.processImmediate (node:internal/timers:478:21) ---- at Test._assertStatusArray (node_modules/supertest/lib/test.js:268:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:308:13 at Test._assertFunction (node_modules/supertest/lib/test.js:285:13) at Test.assert (node_modules/supertest/lib/test.js:164:23) 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 IncomingMessage.<anonymous> (node_modules/superagent/lib/node/index.js:1070:18) 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: views admin GET for /devsites.html: cables_api/test/views.js#L0
views admin GET for /devsites.html: Error expected 200 "OK", got 500 "Internal Server Error" - Error: expected 200 "OK", got 500 "Internal Server Error" at Context.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/views.js:86:86) at process.processImmediate (node:internal/timers:478:21) ---- at Test._assertStatus (node_modules/supertest/lib/test.js:252:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:308:13 at Test._assertFunction (node_modules/supertest/lib/test.js:285:13) at Test.assert (node_modules/supertest/lib/test.js:164:23) 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 IncomingMessage.<anonymous> (node_modules/superagent/lib/node/index.js:1070:18) 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: views GET /sitemap.xml should be public: cables_api/test/views.js#L0
views GET /sitemap.xml should be public: Error expected 200 "OK", got 500 "Internal Server Error" - Error: expected 200 "OK", got 500 "Internal Server Error" at PublicViewsTest.request (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/common/view_tests.js:92:19) at PublicViewsTest.testSiteMap (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/views/public_views_test.js:259:14) at Context.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/views.js:59:46) at process.processImmediate (node:internal/timers:478:21) ---- at Test._assertStatus (node_modules/supertest/lib/test.js:252:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:308:13 at Test._assertFunction (node_modules/supertest/lib/test.js:285:13) at Test.assert (node_modules/supertest/lib/test.js:164:23) 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 IncomingMessage.<anonymous> (node_modules/superagent/lib/node/index.js:1070:18) 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: views GET /docs should be public and redirect to index page: cables_api/test/views.js#L0
views GET /docs should be public and redirect to index page: Error expected 302 "Found", got 200 "OK" - Error: expected 302 "Found", got 200 "OK" at PublicViewsTest.simpleRequest (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/common/base_tests.js:127:19) at PublicViewsTest.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/common/view_tests.js:40:18) at Context.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/views.js:59:46) at process.processImmediate (node:internal/timers:478:21) ---- at Test._assertStatus (node_modules/supertest/lib/test.js:252:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:308:13 at Test._assertFunction (node_modules/supertest/lib/test.js:285:13) at Test.assert (node_modules/supertest/lib/test.js:164:23) 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 IncomingMessage.<anonymous> (node_modules/superagent/lib/node/index.js:1070:18) 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.
Failed Test: endpoints POST /api/user/signup should disallow signup of existing user: cables_api/test/endpoints.js#L0
endpoints POST /api/user/signup should disallow signup of existing user: AssertionError expected 2 to be 1 - AssertionError: expected 2 to be 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/auth_endpoint_tests.js:100:44) 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/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)
Failed Test: endpoints POST /api/user/signup should sanitize username when starting with number: cables_api/test/endpoints.js#L0
endpoints POST /api/user/signup should sanitize username when starting with number: AssertionError expected 1 to be 0 - AssertionError: expected 1 to be 0 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/auth_endpoint_tests.js:78:44) 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/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)
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/project/:projectId should deliver nonpublic patch to owner: cables_api/test/endpoints.js#L0
endpoints GET /api/project/:projectId should deliver nonpublic patch to owner: AssertionError expected 0 not to be 0 (false negative fail) - AssertionError: expected 0 not to be 0 (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/project_endpoint_tests.js:196: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: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)
Failed Test: endpoints GET /api/project/:projectId should not deliver patch for anon/nonpublic: cables_api/test/endpoints.js#L0
endpoints GET /api/project/:projectId should not deliver patch for anon/nonpublic: AssertionError expected 0 not to be 0 (false negative fail) - AssertionError: expected 0 not to be 0 (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/project_endpoint_tests.js:219: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: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)
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 15.
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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
28.8 KB
sha256:35909ed5d56d3f1806939a499eadb3e895a1891f75c6eadb6b58684205b43bcb
views-report
10.5 KB
sha256:c9f757c01980afd25052ba157f44785bce0b671e68da20ee76051ac2274a13cf