Autopilot lifecycle against fresh Postgres
SuccessRunner
Queued in pool default
Labelslinux
Containernode:22-bookworm
Pooldefault
Logs
Live output from all stepsLogs complete · 194 chunks
[Checkout] Cloning into '/var/lib/open-git/runner-work/e655448b-d138-41f3-8612-74881f7a30f9'...
[Checkout] Note: switching to '6ad87855a78c228b68d8d26146fc625219681f2e'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
[Checkout] HEAD is now at 6ad8785 open-beta
[Boot Postgres, migrate, run the Autopilot lifecycle test] debconf: delaying package configuration, since apt-utils is not installed
[Boot Postgres, migrate, run the Autopilot lifecycle test] (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
[Boot Postgres, migrate, run the Autopilot lifecycle test] (Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23258 files and directories currently installed.)
Preparing to unpack .../libc6-dev_2.36-9+deb12u14_amd64.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking libc6-dev:amd64 (2.36-9+deb12u14) over (2.36-9+deb12u13) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../libc-dev-bin_2.36-9+deb12u14_amd64.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking libc-dev-bin (2.36-9+deb12u14) over (2.36-9+deb12u13) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../libc6_2.36-9+deb12u14_amd64.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking libc6:amd64 (2.36-9+deb12u14) over (2.36-9+deb12u13) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up libc6:amd64 (2.36-9+deb12u14) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] (Reading database ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] (Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
[Boot Postgres, migrate, run the Autopilot lifecycle test] (Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
[Boot Postgres, migrate, run the Autopilot lifecycle test] (Reading database ... 100%
(Reading database ... 23258 files and directories currently installed.)
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../libc-bin_2.36-9+deb12u14_amd64.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking libc-bin (2.36-9+deb12u14) over (2.36-9+deb12u13) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up libc-bin (2.36-9+deb12u14) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Selecting previously unselected package libjson-perl.
(Reading database ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] (Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
[Boot Postgres, migrate, run the Autopilot lifecycle test] (Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23258 files and directories currently installed.)
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../00-libjson-perl_4.10000-1_all.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking libjson-perl (4.10000-1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Selecting previously unselected package postgresql-client-common.
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../01-postgresql-client-common_248+deb12u1_all.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking postgresql-client-common (248+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Selecting previously unselected package ssl-cert.
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../02-ssl-cert_1.1.2_all.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking ssl-cert (1.1.2) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Selecting previously unselected package postgresql-common.
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../03-postgresql-common_248+deb12u1_all.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking postgresql-common (248+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../04-ca-certificates_20250419~deb12u1_all.deb ...[Boot Postgres, migrate, run the Autopilot lifecycle test]
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking ca-certificates (20250419~deb12u1) over (20230311+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Selecting previously unselected package libc-l10n.
Preparing to unpack .../05-libc-l10n_2.36-9+deb12u14_all.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking libc-l10n (2.36-9+deb12u14) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Selecting previously unselected package locales.
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../06-locales_2.36-9+deb12u14_all.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking locales (2.36-9+deb12u14) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Selecting previously unselected package libz3-4:amd64.[Boot Postgres, migrate, run the Autopilot lifecycle test]
Preparing to unpack .../07-libz3-4_4.8.12-3.1_amd64.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking libz3-4:amd64 (4.8.12-3.1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Selecting previously unselected package libllvm14:amd64.
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../08-libllvm14_1%3a14.0.6-12_amd64.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking libllvm14:amd64 (1:14.0.6-12) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../09-libpq-dev_15.18-0+deb12u1_amd64.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking libpq-dev (15.18-0+deb12u1) over (15.16-0+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../10-libpq5_15.18-0+deb12u1_amd64.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking libpq5:amd64 (15.18-0+deb12u1) over (15.16-0+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Selecting previously unselected package postgresql-client-15.
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../11-postgresql-client-15_15.18-0+deb12u1_amd64.deb ...
Unpacking postgresql-client-15 (15.18-0+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Selecting previously unselected package postgresql-15.
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../12-postgresql-15_15.18-0+deb12u1_amd64.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking postgresql-15 (15.18-0+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Selecting previously unselected package postgresql.
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../13-postgresql_15+248+deb12u1_all.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking postgresql (15+248+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Selecting previously unselected package postgresql-client.
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing to unpack .../14-postgresql-client_15+248+deb12u1_all.deb ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Unpacking postgresql-client (15+248+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up postgresql-client-common (248+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up libc-l10n (2.36-9+deb12u14) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up libpq5:amd64 (15.18-0+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up postgresql-client-15 (15.18-0+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] update-alternatives: using /usr/share/postgresql/15/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up libpq-dev (15.18-0+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up locales (2.36-9+deb12u14) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Generating locales (this might take a while)...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Generation complete.
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up ca-certificates (20250419~deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Updating certificates in /etc/ssl/certs...
[Boot Postgres, migrate, run the Autopilot lifecycle test] rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
[Boot Postgres, migrate, run the Autopilot lifecycle test] 21 added, 13 removed; done.
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up libz3-4:amd64 (4.8.12-3.1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up ssl-cert (1.1.2) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up libllvm14:amd64 (1:14.0.6-12) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up libjson-perl (4.10000-1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up libc-dev-bin (2.36-9+deb12u14) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up postgresql-client (15+248+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up postgresql-common (248+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test]
Creating config file /etc/postgresql-common/createcluster.conf with new version
[Boot Postgres, migrate, run the Autopilot lifecycle test] Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:
[Boot Postgres, migrate, run the Autopilot lifecycle test] invoke-rc.d: could not determine current runlevel
[Boot Postgres, migrate, run the Autopilot lifecycle test] invoke-rc.d: policy-rc.d denied execution of start.
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up libc6-dev:amd64 (2.36-9+deb12u14) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up postgresql-15 (15.18-0+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Creating new PostgreSQL cluster 15/main ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] /usr/lib/postgresql/15/bin/initdb -D /var/lib/postgresql/15/main --auth-local peer --auth-host scram-sha-256 --no-instructions
[Boot Postgres, migrate, run the Autopilot lifecycle test] The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "C.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgresql/15/main ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... [Boot Postgres, migrate, run the Autopilot lifecycle test] 100
selecting default shared_buffers ... [Boot Postgres, migrate, run the Autopilot lifecycle test] 128MB
selecting default time zone ... [Boot Postgres, migrate, run the Autopilot lifecycle test] Etc/UTC
creating configuration files ... [Boot Postgres, migrate, run the Autopilot lifecycle test] ok
running bootstrap script ... [Boot Postgres, migrate, run the Autopilot lifecycle test] ok
[Boot Postgres, migrate, run the Autopilot lifecycle test] performing post-bootstrap initialization ... [Boot Postgres, migrate, run the Autopilot lifecycle test] ok
[Boot Postgres, migrate, run the Autopilot lifecycle test] syncing data to disk ... [Boot Postgres, migrate, run the Autopilot lifecycle test] ok
[Boot Postgres, migrate, run the Autopilot lifecycle test] update-alternatives: using /usr/share/postgresql/15/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
[Boot Postgres, migrate, run the Autopilot lifecycle test] invoke-rc.d: could not determine current runlevel
[Boot Postgres, migrate, run the Autopilot lifecycle test] invoke-rc.d: policy-rc.d denied execution of start.
[Boot Postgres, migrate, run the Autopilot lifecycle test] Setting up postgresql (15+248+deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Processing triggers for libc-bin (2.36-9+deb12u14) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Processing triggers for ca-certificates (20250419~deb12u1) ...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Updating certificates in /etc/ssl/certs...
[Boot Postgres, migrate, run the Autopilot lifecycle test] 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
[Boot Postgres, migrate, run the Autopilot lifecycle test] done.
[Boot Postgres, migrate, run the Autopilot lifecycle test] Starting postgres 15
[Boot Postgres, migrate, run the Autopilot lifecycle test] CREATE ROLE
[Boot Postgres, migrate, run the Autopilot lifecycle test] CREATE DATABASE
[Boot Postgres, migrate, run the Autopilot lifecycle test] Preparing pnpm@9.15.9 for immediate activation...
[Boot Postgres, migrate, run the Autopilot lifecycle test] Scope: all 21 workspace projects
[Boot Postgres, migrate, run the Autopilot lifecycle test] Lockfile is up to date, resolution step is skipped
[Boot Postgres, migrate, run the Autopilot lifecycle test] Progress: resolved 1, reused 0, downloaded 0, added 0
[Boot Postgres, migrate, run the Autopilot lifecycle test] Packages: +1002
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[Boot Postgres, migrate, run the Autopilot lifecycle test] Progress: resolved 1002, reused 0, downloaded 27, added 14
[Boot Postgres, migrate, run the Autopilot lifecycle test] Progress: resolved 1002, reused 0, downloaded 56, added 44
[Boot Postgres, migrate, run the Autopilot lifecycle test] Progress: resolved 1002, reused 0, downloaded 122, added 112
[Boot Postgres, migrate, run the Autopilot lifecycle test] Progress: resolved 1002, reused 0, downloaded 267, added 255
[Boot Postgres, migrate, run the Autopilot lifecycle test] Progress: resolved 1002, reused 0, downloaded 407, added 398
[Boot Postgres, migrate, run the Autopilot lifecycle test] Progress: resolved 1002, reused 0, downloaded 425, added 411
[Boot Postgres, migrate, run the Autopilot lifecycle test] Progress: resolved 1002, reused 0, downloaded 444, added 430
[Boot Postgres, migrate, run the Autopilot lifecycle test] Progress: resolved 1002, reused 0, downloaded 496, added 481
[Boot Postgres, migrate, run the Autopilot lifecycle test] Progress: resolved 1002, reused 0, downloaded 667, added 658
[Boot Postgres, migrate, run the Autopilot lifecycle test] Progress: resolved 1002, reused 0, downloaded 784, added 772
[Boot Postgres, migrate, run the Autopilot lifecycle test] Progress: resolved 1002, reused 0, downloaded 908, added 895
[Boot Postgres, migrate, run the Autopilot lifecycle test] Progress: resolved 1002, reused 0, downloaded 1000, added 1000
Progress: resolved 1002, reused 0, downloaded 1002, added 1002, done
[Boot Postgres, migrate, run the Autopilot lifecycle test] .../node_modules/msw postinstall$ node -e "import('./config/scripts/postinstall.js').catch(() => void 0)"
.../sharp@0.34.5/node_modules/sharp install$ node install/check.js || npm run build
.../esbuild@0.27.3/node_modules/esbuild postinstall$ node install.js
.../esbuild@0.18.20/node_modules/esbuild postinstall$ node install.js
[Boot Postgres, migrate, run the Autopilot lifecycle test] .../node_modules/msw postinstall: Done
[Boot Postgres, migrate, run the Autopilot lifecycle test] .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js
[Boot Postgres, migrate, run the Autopilot lifecycle test] .../esbuild@0.27.3/node_modules/esbuild postinstall: Done
[Boot Postgres, migrate, run the Autopilot lifecycle test] .../sharp@0.34.5/node_modules/sharp install: Done
[Boot Postgres, migrate, run the Autopilot lifecycle test] .../esbuild@0.18.20/node_modules/esbuild postinstall: Done
[Boot Postgres, migrate, run the Autopilot lifecycle test] .../esbuild@0.25.12/node_modules/esbuild postinstall: Done
[Boot Postgres, migrate, run the Autopilot lifecycle test] .../node_modules/core-js-pure postinstall$ node -e "try{require('./postinstall')}catch(e){}"
[Boot Postgres, migrate, run the Autopilot lifecycle test] .../node_modules/core-js-pure postinstall: Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
[Boot Postgres, migrate, run the Autopilot lifecycle test] .../node_modules/core-js-pure postinstall: The project needs your help! Please consider supporting core-js:
.../node_modules/core-js-pure postinstall: > https://opencollective.com/core-js
.../node_modules/core-js-pure postinstall: > https://patreon.com/zloirock
.../node_modules/core-js-pure postinstall: > https://boosty.to/zloirock
.../node_modules/core-js-pure postinstall: > bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz
.../node_modules/core-js-pure postinstall: I highly recommend reading this: https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md
[Boot Postgres, migrate, run the Autopilot lifecycle test] .../node_modules/core-js-pure postinstall: Done
[Boot Postgres, migrate, run the Autopilot lifecycle test]
devDependencies:
+ @workspace/eslint-config 0.0.0 <- packages/eslint-config
+ @workspace/typescript-config 0.0.0 <- packages/typescript-config
+ prettier 3.8.1
+ prettier-plugin-tailwindcss 0.7.4
+ turbo 2.9.6
+ typescript 5.9.3
+ vitest 4.1.5
Done in 15.5s using pnpm v9.15.9
[Boot Postgres, migrate, run the Autopilot lifecycle test] --- Applying migrations ---
[Boot Postgres, migrate, run the Autopilot lifecycle test]
> web@0.0.1 db:migrate /workspace/apps/web
> drizzle-kit migrate
No config path provided, using default 'drizzle.config.ts'
Reading config file '/workspace/apps/web/drizzle.config.ts'
[Boot Postgres, migrate, run the Autopilot lifecycle test] Using 'postgres' driver for database querying
[Boot Postgres, migrate, run the Autopilot lifecycle test] [⣷] applying migrations...[Boot Postgres, migrate, run the Autopilot lifecycle test] [2K[1G[⣯] applying migrations...[Boot Postgres, migrate, run the Autopilot lifecycle test] {
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_comments_pull_request_review_id_pull_request_reviews_id_fk" will be truncated to "pull_request_comments_pull_request_review_id_pull_request_revie"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] {
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_comments_parent_comment_id_pull_request_comments_id_fk" will be truncated to "pull_request_comments_parent_comment_id_pull_request_comments_i"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_comment_acknowledgements_pull_request_comment_id_pull_request_comments_id_fk" will be truncated to "pull_request_comment_acknowledgements_pull_request_comment_id_p"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] {
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_comment_acknowledgements_author_profile_id_user_profiles_id_fk" will be truncated to "pull_request_comment_acknowledgements_author_profile_id_user_pr"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_comments_resolved_by_profile_id_user_profiles_id_fk" will be truncated to "pull_request_comments_resolved_by_profile_id_user_profiles_id_f"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] {
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "issue_pull_request_links_linked_by_profile_id_user_profiles_id_fk" will be truncated to "issue_pull_request_links_linked_by_profile_id_user_profiles_id_"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] [2K[1G[⣟] applying migrations...[Boot Postgres, migrate, run the Autopilot lifecycle test] {
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_diff_versions_target_repository_id_repositories_id_fk" will be truncated to "pull_request_diff_versions_target_repository_id_repositories_id"',
where: 'compilation of PL/pgSQL function "inline_code_block" near line 1',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_diff_versions_target_repository_id_repositories_id_fk" will be truncated to "pull_request_diff_versions_target_repository_id_repositories_id"',
position: '15',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_diff_versions_target_repository_id_repositories_id_fk" will be truncated to "pull_request_diff_versions_target_repository_id_repositories_id"',
where: 'SQL statement "ALTER TABLE "pull_request_diff_versions" ADD CONSTRAINT "pull_request_diff_versions_target_repository_id_repositories_id_fk" FOREIGN KEY ("target_repository_id") REFERENCES "public"."repositories"("id") ON DELETE cascade ON UPDATE no action"\n' +
'PL/pgSQL function inline_code_block line 2 at SQL statement',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_diff_versions_source_repository_id_repositories_id_fk" will be truncated to "pull_request_diff_versions_source_repository_id_repositories_id"',
where: 'compilation of PL/pgSQL function "inline_code_block" near line 1',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_diff_versions_source_repository_id_repositories_id_fk" will be truncated to "pull_request_diff_versions_source_repository_id_repositories_id"',
position: '15',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_diff_versions_source_repository_id_repositories_id_fk" will be truncated to "pull_request_diff_versions_source_repository_id_repositories_id"',
where: 'SQL statement "ALTER TABLE "pull_request_diff_versions" ADD CONSTRAINT "pull_request_diff_versions_source_repository_id_repositories_id_fk" FOREIGN KEY ("source_repository_id") REFERENCES "public"."repositories"("id") ON DELETE cascade ON UPDATE no action"\n' +
'PL/pgSQL function inline_code_block line 2 at SQL statement',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_changed_files_diff_version_id_pull_request_diff_versions_id_fk" will be truncated to "pull_request_changed_files_diff_version_id_pull_request_diff_ve"',
where: 'compilation of PL/pgSQL function "inline_code_block" near line 1',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_changed_files_diff_version_id_pull_request_diff_versions_id_fk" will be truncated to "pull_request_changed_files_diff_version_id_pull_request_diff_ve"',
position: '15',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_changed_files_diff_version_id_pull_request_diff_versions_id_fk" will be truncated to "pull_request_changed_files_diff_version_id_pull_request_diff_ve"',
where: 'SQL statement "ALTER TABLE "pull_request_changed_files" ADD CONSTRAINT "pull_request_changed_files_diff_version_id_pull_request_diff_versions_id_fk" FOREIGN KEY ("diff_version_id") REFERENCES "public"."pull_request_diff_versions"("id") ON DELETE cascade ON UPDATE no action"\n' +
'PL/pgSQL function inline_code_block line 2 at SQL statement',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[2K[1G[⡿] applying migrations...{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_diff_hunks_changed_file_id_pull_request_changed_files_id_fk" will be truncated to "pull_request_diff_hunks_changed_file_id_pull_request_changed_fi"',
where: 'compilation of PL/pgSQL function "inline_code_block" near line 1',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_diff_hunks_changed_file_id_pull_request_changed_files_id_fk" will be truncated to "pull_request_diff_hunks_changed_file_id_pull_request_changed_fi"',
position: '15',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_diff_hunks_changed_file_id_pull_request_changed_files_id_fk" will be truncated to "pull_request_diff_hunks_changed_file_id_pull_request_changed_fi"',
where: 'SQL statement "ALTER TABLE "pull_request_diff_hunks" ADD CONSTRAINT "pull_request_diff_hunks_changed_file_id_pull_request_changed_files_id_fk" FOREIGN KEY ("changed_file_id") REFERENCES "public"."pull_request_changed_files"("id") ON DELETE cascade ON UPDATE no action"\n' +
'PL/pgSQL function inline_code_block line 2 at SQL statement',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_mergeability_states_pull_request_id_pull_requests_id_fk" will be truncated to "pull_request_mergeability_states_pull_request_id_pull_requests_"',
where: 'compilation of PL/pgSQL function "inline_code_block" near line 1',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_mergeability_states_pull_request_id_pull_requests_id_fk" will be truncated to "pull_request_mergeability_states_pull_request_id_pull_requests_"',
position: '15',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_request_mergeability_states_pull_request_id_pull_requests_id_fk" will be truncated to "pull_request_mergeability_states_pull_request_id_pull_requests_"',
where: 'SQL statement "ALTER TABLE "pull_request_mergeability_states" ADD CONSTRAINT "pull_request_mergeability_states_pull_request_id_pull_requests_id_fk" FOREIGN KEY ("pull_request_id") REFERENCES "public"."pull_requests"("id") ON DELETE cascade ON UPDATE no action"\n' +
'PL/pgSQL function inline_code_block line 2 at SQL statement',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[2K[1G[⢿] applying migrations...{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "workflow_job_secret_references_workflow_job_id_workflow_jobs_id_fk" will be truncated to "workflow_job_secret_references_workflow_job_id_workflow_jobs_id"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] [2K[1G[⣻] applying migrations...{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "campfire_thread_mentions_campfire_message_id_campfire_messages_id_fk" will be truncated to "campfire_thread_mentions_campfire_message_id_campfire_messages_"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "campfire_thread_mentions_mentioned_by_profile_id_user_profiles_id_fk" will be truncated to "campfire_thread_mentions_mentioned_by_profile_id_user_profiles_"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] [2K[1G[⣽] applying migrations...[Boot Postgres, migrate, run the Autopilot lifecycle test] {
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "repository_access_grants_granted_by_profile_id_user_profiles_id_fk" will be truncated to "repository_access_grants_granted_by_profile_id_user_profiles_id"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "repository_invitations_invited_by_profile_id_user_profiles_id_fk" will be truncated to "repository_invitations_invited_by_profile_id_user_profiles_id_f"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "repository_invitations_accepted_by_profile_id_user_profiles_id_fk" will be truncated to "repository_invitations_accepted_by_profile_id_user_profiles_id_"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] {
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "namespace_autopilot_settings_created_by_profile_id_user_profiles_id_fk" will be truncated to "namespace_autopilot_settings_created_by_profile_id_user_profile"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] [2K[1G[⣷] applying migrations...[Boot Postgres, migrate, run the Autopilot lifecycle test] [2K[1G[⣯] applying migrations...[Boot Postgres, migrate, run the Autopilot lifecycle test] {
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "agent_checkpoint_sessions_agent_checkpoint_id_agent_checkpoints_id_fk" will be truncated to "agent_checkpoint_sessions_agent_checkpoint_id_agent_checkpoints"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] {
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "agent_session_access_requests_agent_session_id_agent_sessions_id_fk" will be truncated to "agent_session_access_requests_agent_session_id_agent_sessions_i"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "agent_session_access_requests_requester_profile_id_user_profiles_id_fk" will be truncated to "agent_session_access_requests_requester_profile_id_user_profile"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] {
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "repositories_agent_sessions_source_repository_id_repositories_id_fk" will be truncated to "repositories_agent_sessions_source_repository_id_repositories_i"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] {
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "repositories_agent_sessions_source_repository_id_repositories_id_fk" will be truncated to "repositories_agent_sessions_source_repository_id_repositories_i"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] [2K[1G[⣟] applying migrations...[Boot Postgres, migrate, run the Autopilot lifecycle test] {
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "github_entity_links_repository_link_id_github_repository_links_id_fk" will be truncated to "github_entity_links_repository_link_id_github_repository_links_"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "github_installations_connected_by_profile_id_user_profiles_id_fk" will be truncated to "github_installations_connected_by_profile_id_user_profiles_id_f"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "github_ref_links_repository_link_id_github_repository_links_id_fk" will be truncated to "github_ref_links_repository_link_id_github_repository_links_id_"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] {
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "github_repository_links_installation_id_github_installations_id_fk" will be truncated to "github_repository_links_installation_id_github_installations_id"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "github_repository_links_linked_by_profile_id_user_profiles_id_fk" will be truncated to "github_repository_links_linked_by_profile_id_user_profiles_id_f"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "github_sync_conflicts_repository_link_id_github_repository_links_id_fk" will be truncated to "github_sync_conflicts_repository_link_id_github_repository_link"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "github_sync_conflicts_resolved_by_profile_id_user_profiles_id_fk" will be truncated to "github_sync_conflicts_resolved_by_profile_id_user_profiles_id_f"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
{
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "github_sync_jobs_repository_link_id_github_repository_links_id_fk" will be truncated to "github_sync_jobs_repository_link_id_github_repository_links_id_"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] [2K[1G[⡿] applying migrations...[Boot Postgres, migrate, run the Autopilot lifecycle test] {
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "github_actor_write_denials_repository_link_id_github_repository_links_id_fk" will be truncated to "github_actor_write_denials_repository_link_id_github_repository"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] [2K[1G[⢿] applying migrations...[Boot Postgres, migrate, run the Autopilot lifecycle test] {
severity_local: 'NOTICE',
severity: 'NOTICE',
code: '42622',
message: 'identifier "pull_requests_ci_workflows_approved_by_profile_id_user_profiles_id_fk" will be truncated to "pull_requests_ci_workflows_approved_by_profile_id_user_profiles"',
file: 'scansup.c',
line: '99',
routine: 'truncate_identifier'
}
[Boot Postgres, migrate, run the Autopilot lifecycle test] [2K[1G[✓] migrations applied successfully![Boot Postgres, migrate, run the Autopilot lifecycle test] --- Running Autopilot lifecycle scenarios ---
[Boot Postgres, migrate, run the Autopilot lifecycle test]
> web@0.0.1 test:autopilot-lifecycle /workspace/apps/web
> tsx scripts/test-autopilot-lifecycle.ts
[Boot Postgres, migrate, run the Autopilot lifecycle test]
Scenario 1: multiple failed checks on one commit -> one job
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok first failed check enqueues a job
ok second failed check on same commit dedupes to the same job
ok exactly one job exists
ok job records the failing commit
Scenario 2: trigger for a superseded commit -> no job
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok stale trigger returns no job
ok no job rows were created
Scenario 3: newer push cancels queued jobs for old commits
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok job queued for the old head
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok one job was canceled
ok job status is canceled
ok no comment was posted
Scenario 4: claimed job for superseded commit cancels itself
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok job canceled itself
ok no comment was posted
Scenario 5: summary comment defers until CI passes
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok no comment while checks are still pending
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok comment posted once CI is green
ok comment contains the summary
ok comment records that CI passed
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok no duplicate comment on repeat success
ok summaryPostedAt was claimed
Scenario 6: CI fails on Autopilot's commit -> no comment, retry with context
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok the never-verified success comment was not posted
ok a retry job was enqueued
ok retry job is queued
ok retry targets the failing Autopilot commit
ok retry can see the previous attempt
Scenario 7: attempt cap reached -> one give-up comment, job fails
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok give-up job is marked failed
ok exactly one give-up comment
ok comment explains the attempt cap
ok comment says it will wait for a human
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok re-trigger dedupes to the same job
ok still exactly one comment
Scenario 8: transient infrastructure failure -> rerun check, no agent
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok job completed without an agent run
ok summary records the triage decision
ok failed check was re-queued
ok no comment was posted
Scenario 9: monthly budget reached -> job fails before spending
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok job failed before starting a workspace
ok failure records the budget cap
ok no comment was posted
Scenario 10: job is held while sibling checks on its commit still run
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok claim skips the job while a sibling check is running
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok claim picks the job up once the suite settles
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok holding the job posts no comment
Scenario 11: job that already pushed recovers instead of canceling
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok job is recorded as a success, not canceled
ok the pushed commit is kept
ok the summary comment was posted
ok comment carries the recovered summary
Scenario 12: exhausted attempts -> one comment, no silence
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok job is failed
ok exactly one give-up comment
ok comment names the failure
ok comment says nothing was pushed
[Boot Postgres, migrate, run the Autopilot lifecycle test] ok a failure with attempts left requeues
ok a failure with attempts left posts no comment
[Boot Postgres, migrate, run the Autopilot lifecycle test]
Fixture created 17 autopilot job(s) total.
49 passed, 0 failed
Steps
2 passed
2 steps in this job.
02Checkoutcheckout1.7s
03Boot Postgres, migrate, run the Autopilot lifecycle testrun53s