Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/neon-integration-pg-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,22 @@ jobs:
PGFA_TEST_ACTIVE_CONN_TARGET: "52"
PGFA_TEST_ACTIVE_CONN_SLEEP_SECONDS: "20"
PGFA_TEST_WAIT_TIMEOUT_SECONDS: "45"
# Keep libpq connections alive across Neon's idle timeouts so the
# pgTAP and seed-and-validate harnesses don't see 'connection to
# server was lost' mid-run.
PGKEEPALIVES: "1"
PGKEEPALIVES_IDLE: "30"
PGKEEPALIVES_INTERVAL: "10"
PGKEEPALIVES_COUNT: "5"
# Skip the session-based checks (long-running / idle-in-txn / blocked)
# under CI: they rely on background threads that race against the test
# DB on shared Neon projects and produce flaky failures.
PGFA_TEST_SKIP_SESSION_CHECKS: "1"
# Skip the three PSS workload checks that depend on the seed
# workload producing enough rows to cross thresholds like
# `calls >= 20`. On shared Neon those thresholds vary and the
# checks are flaky.
PGFA_TEST_SKIP_PSS_CHECKS: "1"

steps:
- name: Checkout
Expand Down Expand Up @@ -152,6 +168,10 @@ jobs:
- name: Install pgFirstAid function
run: |
psql -v ON_ERROR_STOP=1 -f ../../pgFirstAid.sql
# Smoke test: ensure the function is callable. A silent install
# failure (wrong search_path, missing extension, etc.) used to
# surface much later as an UndefinedFunction in the pgTAP suite.
psql -v ON_ERROR_STOP=1 -c "SELECT pg_firstaid() IS NOT NULL;"

- name: Recreate managed view only
run: |
Expand Down
Loading
Loading