Skip to content

feat: add personal access tokens #4645

feat: add personal access tokens

feat: add personal access tokens #4645

Triggered via pull request April 2, 2026 12:25
Status Failure
Total duration 2m 38s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
static-analysis
Process completed with exit code 1.
static-analysis
@argos/backend#lint: command (/home/runner/work/argos/argos/apps/backend) /usr/local/bin/pnpm run lint exited (1)
static-analysis: apps/backend/src/api/handlers/getBuildDiffs.ts#L17
'forbidden' is defined but never used. Allowed unused vars must match /^_/u
integration-test
Process completed with exit code 1.
apps/backend/src/build/strategy/strategies/ci/merge-queue.e2e.test.ts > #getCIMergeQueueBase > merges all targeted merge queue pull requests: apps/backend/src/database/testing/factory.ts#L20
ValidationError: githubPullRequestId: must be string ❯ BuildMergeQueueGhPullRequest.createValidationError node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:338:12 ❯ parseValidationError node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/AjvValidator.js:206:21 ❯ AjvValidator.validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/AjvValidator.js:82:19 ❯ validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/modelValidate.js:35:20 ❯ BuildMergeQueueGhPullRequest.$validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:90:12 ❯ setJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/modelSet.js:28:16 ❯ BuildMergeQueueGhPullRequest.$setJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:128:12 ❯ BuildMergeQueueGhPullRequest.fromJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:264:11 ❯ ObjectionAdapter.build apps/backend/src/database/testing/factory.ts:20:23 ❯ Factory.create node_modules/.pnpm/factory-girl-ts@2.3.1/node_modules/factory-girl-ts/src/factory.ts:137:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: { githubPullRequestId: [ { message: 'must be string', keyword: 'type', params: { type: 'string' } } ] }, statusCode: 400, modelClass: 'Function<BuildMergeQueueGhPullRequest>' }
apps/backend/src/build/strategy/strategies/ci/merge-queue.e2e.test.ts > #getCIMergeQueueBase > uses the latest "no-changes" build instead of the latest approved one: apps/backend/src/database/testing/factory.ts#L20
ValidationError: githubPullRequestId: must be string,null ❯ Build.createValidationError node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:338:12 ❯ parseValidationError node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/AjvValidator.js:206:21 ❯ AjvValidator.validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/AjvValidator.js:82:19 ❯ validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/modelValidate.js:35:20 ❯ Build.$validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:90:12 ❯ setJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/modelSet.js:28:16 ❯ Build.$setJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:128:12 ❯ Build.fromJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:264:11 ❯ ObjectionAdapter.build apps/backend/src/database/testing/factory.ts:20:23 ❯ Factory.create node_modules/.pnpm/factory-girl-ts@2.3.1/node_modules/factory-girl-ts/src/factory.ts:137:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: { githubPullRequestId: [ { message: 'must be string,null', keyword: 'type', params: { type: [ 'string', 'null' ] } } ] }, statusCode: 400, modelClass: 'Function<Build>' }
apps/backend/src/build/strategy/strategies/ci/merge-queue.e2e.test.ts > #getCIMergeQueueBase > merges the CI base bucket with the latest merge queue bucket: apps/backend/src/database/testing/factory.ts#L20
ValidationError: githubPullRequestId: must be string,null ❯ Build.createValidationError node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:338:12 ❯ parseValidationError node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/AjvValidator.js:206:21 ❯ AjvValidator.validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/AjvValidator.js:82:19 ❯ validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/modelValidate.js:35:20 ❯ Build.$validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:90:12 ❯ setJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/modelSet.js:28:16 ❯ Build.$setJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:128:12 ❯ Build.fromJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:264:11 ❯ ObjectionAdapter.build apps/backend/src/database/testing/factory.ts:20:23 ❯ Factory.create node_modules/.pnpm/factory-girl-ts@2.3.1/node_modules/factory-girl-ts/src/factory.ts:137:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: { githubPullRequestId: [ { message: 'must be string,null', keyword: 'type', params: { type: [ 'string', 'null' ] } } ] }, statusCode: 400, modelClass: 'Function<Build>' }
apps/backend/src/build/strategy/strategies/ci/merge-queue.e2e.test.ts > #getCIMergeQueueBase > returns the last approved bucket when CI base does not exist: apps/backend/src/database/testing/factory.ts#L20
ValidationError: githubPullRequestId: must be string,null ❯ Build.createValidationError node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:338:12 ❯ parseValidationError node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/AjvValidator.js:206:21 ❯ AjvValidator.validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/AjvValidator.js:82:19 ❯ validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/modelValidate.js:35:20 ❯ Build.$validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:90:12 ❯ setJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/modelSet.js:28:16 ❯ Build.$setJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:128:12 ❯ Build.fromJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:264:11 ❯ ObjectionAdapter.build apps/backend/src/database/testing/factory.ts:20:23 ❯ Factory.create node_modules/.pnpm/factory-girl-ts@2.3.1/node_modules/factory-girl-ts/src/factory.ts:137:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: { githubPullRequestId: [ { message: 'must be string,null', keyword: 'type', params: { type: [ 'string', 'null' ] } } ] }, statusCode: 400, modelClass: 'Function<Build>' }
apps/backend/src/automation/actions/sendSlackMessage/message.e2e.test.ts > buildSlackMessage > event: build.reviewed > returns text and blocks: apps/backend/src/database/testing/factory.ts#L20
ValidationError: githubPullRequestId: must be string,null ❯ Build.createValidationError node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:338:12 ❯ parseValidationError node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/AjvValidator.js:206:21 ❯ AjvValidator.validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/AjvValidator.js:82:19 ❯ validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/modelValidate.js:35:20 ❯ Build.$validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:90:12 ❯ setJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/modelSet.js:28:16 ❯ Build.$setJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:128:12 ❯ Build.fromJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:264:11 ❯ ObjectionAdapter.build apps/backend/src/database/testing/factory.ts:20:23 ❯ Factory.create node_modules/.pnpm/factory-girl-ts@2.3.1/node_modules/factory-girl-ts/src/factory.ts:137:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: { githubPullRequestId: [ { message: 'must be string,null', keyword: 'type', params: { type: [ 'string', 'null' ] } } ] }, statusCode: 400, modelClass: 'Function<Build>' }
apps/backend/src/automation/actions/sendSlackMessage/message.e2e.test.ts > buildSlackMessage > event: build.completed > returns text and blocks: apps/backend/src/database/testing/factory.ts#L20
ValidationError: githubPullRequestId: must be string,null ❯ Build.createValidationError node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:338:12 ❯ parseValidationError node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/AjvValidator.js:206:21 ❯ AjvValidator.validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/AjvValidator.js:82:19 ❯ validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/modelValidate.js:35:20 ❯ Build.$validate node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:90:12 ❯ setJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/modelSet.js:28:16 ❯ Build.$setJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:128:12 ❯ Build.fromJson node_modules/.pnpm/objection@3.1.5_knex@3.2.6_pg@8.20.0_/node_modules/objection/lib/model/Model.js:264:11 ❯ ObjectionAdapter.build apps/backend/src/database/testing/factory.ts:20:23 ❯ Factory.create node_modules/.pnpm/factory-girl-ts@2.3.1/node_modules/factory-girl-ts/src/factory.ts:137:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: { githubPullRequestId: [ { message: 'must be string,null', keyword: 'type', params: { type: [ 'string', 'null' ] } } ] }, statusCode: 400, modelClass: 'Function<Build>' }
unit-test
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/
static-analysis
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/
e2e-test
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/
integration-test
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/