Skip to content

Raw project query #3074

Raw project query

Raw project query #3074

Triggered via pull request December 28, 2024 17:16
Status Failure
Total duration 4m 6s
Artifacts

e2e-api-tests.yaml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

2 errors
tests/general/verify-data-integrity.test.ts > Data integrity verification > completes successfully: packages/stack-shared/dist/utils/errors.js#L6
AssertionError: Expected no error to be thrown! stdout: > @stackframe/[email protected] verify-data-integrity /home/runner/work/stack/stack > only-allow pnpm && pnpm -C apps/backend run verify-data-integrity > @stackframe/[email protected] verify-data-integrity /home/runner/work/stack/stack/apps/backend > pnpm run with-env tsx scripts/verify-data-integrity.ts > @stackframe/[email protected] with-env /home/runner/work/stack/stack/apps/backend > dotenv -c development -- "tsx" "scripts/verify-data-integrity.ts" =================================================== Welcome to verify-data-integrity.ts. This script will ensure that the data in the database is not corrupted. It will call the most important endpoints for each project and every user, and ensure that the status codes are what they should be. It's a good idea to run this script on REPLICAS of the production database regularly (not the actual prod db!); it should never fail at any point in time. IMPORTANT: This script may modify the database during its execution in all sorts of ways, so don't run it on production! =================================================== Starting in 3 seconds... 2... 1... Found 67 projects, iterating over them. [project 1/67] internal Stack Dashboard [project 1/67] internal Stack Dashboard ERROR!  ELIFECYCLE  Command failed with exit code 1.  ELIFECYCLE  Command failed with exit code 1.  ELIFECYCLE  Command failed with exit code 1. stderr: ERROR! Could not verify data integrity. See the error message for more details. StackAssertionError: Users are paginated? Please update the verify-data-integrity.ts script to handle this. This is likely an error in Stack. Please make sure you are running the newest version and report it. at throwErr (/home/runner/work/stack/stack/packages/stack-shared/dist/utils/errors.js:6:15) at <anonymous> (/home/runner/work/stack/stack/apps/backend/scripts/verify-data-integrity.ts:96:31) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async _recurse (/home/runner/work/stack/stack/apps/backend/scripts/verify-data-integrity.ts:172:12) at async main (/home/runner/work/stack/stack/apps/backend/scripts/verify-data-integrity.ts:77:5) { extraData: undefined } : expected Error: Command failed: pnpm run verify-da… { …(4) } to be null ❯ throwErr ../../packages/stack-shared/dist/utils/errors.js:6:15 ❯ <anonymous> ../backend/scripts/verify-data-integrity.ts:96:31 ❯ _recurse ../backend/scripts/verify-data-integrity.ts:172:12 ❯ tests/general/verify-data-integrity.test.ts:12:104
build (20.x)
Process completed with exit code 1.