djalim
daa7f4951f
fix(ci): fix postgres TCP setup and truncateAll superuser error
...
Check Deno code / Check Deno code (push) Failing after 5s
Tests / Unit tests (push) Successful in 11s
Tests / Integration tests (push) Successful in 55s
- Use apt-get install + configure listen_addresses + md5 auth in pg_hba
so psql can connect via 127.0.0.1 (not just Unix socket)
- Use pg_ctlcluster restart after config changes + wait for pg_isready
- Replace session_replication_role (requires superuser) with a single
TRUNCATE ... CASCADE which handles FK deps without elevated privileges
- All 3 integration tests now pass in CI (act + Gitea Actions)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-26 11:30:33 +00:00
djalim
a95818e3bf
fix(ci): use connection URL with ssl:false in drizzle config
2026-04-26 11:30:33 +00:00
djalim
26eedcc4f2
debug(ci): add connection diagnostics before migrate
2026-04-26 11:30:33 +00:00
djalim
ce4782580d
fix(ci): remove unsupported --verbose from drizzle-kit migrate
2026-04-26 11:30:33 +00:00
djalim
91248370da
fix(ci): add GRANT on public schema and verbose migrate output
2026-04-26 11:30:33 +00:00
djalim
6b8b5e6aa3
fix(ci): start postgres with pg_ctlcluster instead of systemctl
2026-04-26 11:30:33 +00:00
djalim
d1c3b93755
fix(ci): install postgres via apt-get instead of docker
2026-04-26 11:30:33 +00:00
djalim
f42df29f06
fix(ci): use docker run instead of services for postgres
2026-04-26 11:30:33 +00:00
djalim
c8b808f509
fix(ci): use bash /dev/tcp for postgres readiness check
2026-04-26 11:30:33 +00:00
djalim
fdfdd74894
fix(ci): replace pg_isready with nc for postgres readiness check
2026-04-26 11:30:33 +00:00
djalim
60dde4675c
fix(ci): use deno install for unit tests, add postgres readiness check
2026-04-26 11:30:33 +00:00
djalim
fef9457795
fix(ci): install npm deps before running unit tests
2026-04-26 11:30:33 +00:00
djalim
6db04045f4
fix(lint): add version to drizzle-orm imports and prefix unused NOT_FOUND
2026-04-26 11:30:33 +00:00