Skip to content

fix(se): gracefully terminate pg connections on SIGINT and SIGTERM #1445

fix(se): gracefully terminate pg connections on SIGINT and SIGTERM

fix(se): gracefully terminate pg connections on SIGINT and SIGTERM #1445

name: 'QC'
on:
push:
branches:
- main
pull_request:
paths-ignore:
- '.github/**'
- '!.github/workflows/test-query-compiler.yml'
- '!.github/workflows/test-query-compiler-template.yml'
- '.buildkite/**'
- '*.md'
- 'LICENSE'
- 'CODEOWNERS'
- 'renovate.json'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
qe-tests-with-qc:
strategy:
fail-fast: false
matrix:
adapter:
- name: pg
setup_task: dev-pg-qc
ignored_tests_list: query-compiler/query-engine-tests-todo/pg/skip
should_fail_tests_list: query-compiler/query-engine-tests-todo/pg/fail
relation_load_strategy: '["join", "query"]'
- name: libsql
setup_task: dev-libsql-qc
ignored_tests_list: query-compiler/query-engine-tests-todo/libsql/skip
should_fail_tests_list: query-compiler/query-engine-tests-todo/libsql/fail
relation_load_strategy: '["query"]'
- name: sqlite
setup_task: dev-better-sqlite3-qc
ignored_tests_list: query-compiler/query-engine-tests-todo/better-sqlite3/skip
should_fail_tests_list: query-compiler/query-engine-tests-todo/better-sqlite3/fail
relation_load_strategy: '["query"]'
- name: planetscale
setup_task: dev-planetscale-qc
ignored_tests_list: query-compiler/query-engine-tests-todo/planetscale/skip
should_fail_tests_list: query-compiler/query-engine-tests-todo/planetscale/fail
relation_load_strategy: '["query"]'
- name: d1
setup_task: dev-d1-qc
ignored_tests_list: query-compiler/query-engine-tests-todo/d1/skip
should_fail_tests_list: query-compiler/query-engine-tests-todo/d1/fail
relation_load_strategy: '["query"]'
test_threads: 1
name: ${{ matrix.adapter.name }}
uses: ./.github/workflows/test-query-compiler-template.yml
with:
setup_task: ${{ matrix.adapter.setup_task }}
ignored_tests_list: ${{ matrix.adapter.ignored_tests_list }}
should_fail_tests_list: ${{ matrix.adapter.should_fail_tests_list }}
relation_load_strategy: ${{ matrix.adapter.relation_load_strategy }}
test_threads: ${{ matrix.adapter.test_threads || 4 }}