Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
2e860b0
test: migrate the PostgreSQL test tree onto the directory-owned tests…
vistart Nov 14, 2026
772f743
feat(postgres)!: directory-owned fixtures and expression DDL
vistart Nov 14, 2026
5c5882a
fix(native): skip multirange tables/tests before PostgreSQL 14
vistart Nov 14, 2026
43fd18d
fix(native): name the minimum server version per native table
vistart Nov 15, 2026
09f54ac
fix(native): ask the dialect's type support switches (corrects 43fd18d)
vistart Nov 15, 2026
1719fdf
fix(postgres): decide every skip by the dialect's probes, not by vers…
vistart Nov 15, 2026
7a96346
ci(postgres): pin the 3.8/3.9 matrix entries to ubuntu-22.04
vistart Nov 15, 2026
2897e00
fix(postgres): register jsonpath in the native table switches
vistart Nov 15, 2026
f63741f
feat(postgres): an auto-increment column is a SERIAL type, on every v…
vistart Nov 15, 2026
332253e
fix(postgres): put the capability probe on the dialect and register it
vistart Nov 15, 2026
cacda5a
ci: give each interpreter the runner that carries it
vistart Nov 15, 2026
241b197
test(postgres): an auto-increment column is accepted on every version
vistart Nov 15, 2026
b90368d
fix(postgres): register macaddr8 in the native table switches
vistart Nov 15, 2026
ddfe985
test(postgres): move the composite-PK bridge to basic/crud_composite_pk
vistart Nov 15, 2026
9cab974
test(postgres): import the shared fixture vocabulary from its new home
vistart Nov 15, 2026
758ac73
fix(postgres): accept the conversion keyword the core passes on read
vistart Nov 16, 2026
9f117fc
feat(postgres): register the backend's own value-type adapters
vistart Nov 16, 2026
affec31
fix(postgres): drop two duplicate adapter classes and read psycopg mu…
vistart Nov 16, 2026
4bb3001
test(postgres): cover the network address adapters' batch and refusal…
vistart Nov 16, 2026
8cb372b
test(postgres): cover the neutral adapters' remaining branches
vistart Nov 16, 2026
d9d3489
feat(postgres): answer the data-type suggestions and rename the subst…
vistart Nov 16, 2026
fa735f9
feat(postgres): declare the backend's own value classes in the extra …
vistart Nov 16, 2026
6d64888
test(postgres): run the shared suggested-data-type contract
vistart Nov 16, 2026
8b4b7b4
fix(postgres): keep the range wrappers out of the extra table
vistart Nov 16, 2026
ae64fba
feat(postgres): answer all twenty-four column entries, with no refusal
vistart Nov 16, 2026
88e6d33
feat(postgres): name the server's own column classes and answer the e…
vistart Nov 16, 2026
9c800aa
test(backend): run the typed-column protocol contract in this CI
vistart Nov 16, 2026
9fcdab5
feat(postgres): give the geometric column classes their built-in oper…
vistart Nov 16, 2026
be598fd
feat(postgres): give the bit-string column class its bitwise operators
vistart Nov 16, 2026
dddc050
feat(postgres): give the range column class its operators and functions
vistart Nov 16, 2026
a9b7718
feat(postgres): give the multirange column class its operators
vistart Nov 16, 2026
88aad4a
feat(postgres): give the text-search column class match and rank
vistart Nov 16, 2026
8319a4c
feat(postgres): give the vector column class its distance operators
vistart Nov 16, 2026
83531c3
feat(postgres): give the hstore column class its key predicates
vistart Nov 16, 2026
d5f579b
feat(postgres): give the PostGIS wrapper its own ST_* column class
vistart Nov 16, 2026
9ba2f7c
fix(postgres): group the cosine-similarity distance before subtracting
vistart Nov 16, 2026
473c0b0
test(backend): hold the data-type trio to the D9 and substitute contr…
vistart Nov 16, 2026
c037f1d
test(backend): hold formatters and probes to the 1:1 discipline
vistart Nov 16, 2026
dc2dd17
test(basic): import the shared type-variant groups
vistart Nov 17, 2026
64d3848
test(basic): import the DB-free expressions group
vistart Nov 17, 2026
c96b9db
test(basic): drop bridges for removed legacy field tests
vistart Nov 17, 2026
713a967
test: keep only feature/basic imports from testsuite
vistart Nov 17, 2026
3e3637b
test(backend): switch backend-owned tests to declarative parallel scopes
vistart Nov 17, 2026
aebece9
test: follow the testsuite fixture and naming moves
vistart Nov 17, 2026
aa71ac6
test: update path comments and fixture import
vistart Nov 17, 2026
5089bdf
test: drop stale fixture imports from the CRUD bridge
vistart Nov 17, 2026
772bcfb
test: follow core's dedicated unsupported-data-type error
vistart Nov 18, 2026
06e30ed
test: follow suite declaration and auto-id contracts
vistart Nov 18, 2026
479a727
feat(ddl): auto-increment suggestions, field generators, and narrowed…
vistart Nov 18, 2026
1d82b97
fix(ddl): restore primary-key identity for long-content models
vistart Nov 18, 2026
e2483f3
fix(ddl): gate complex geometry tests on PostGIS availability
vistart Nov 18, 2026
70939df
fix(ddl): probe geometry type directly for the complex-test skip gate
vistart Nov 18, 2026
5ef59bf
test(feature): bridge restructured query/cte/setop/relation/events to…
vistart Nov 19, 2026
f382677
ci: include restructured query/cte/setop/query_integration dirs in te…
vistart Nov 19, 2026
a75258f
fix(test): remove core-local test artifacts from query bridges
vistart Nov 19, 2026
1c8f4e1
ci: run full tests/ tree instead of enumerated feature dirs
vistart Nov 19, 2026
5d6cf24
fix(bench): repoint relation benchmark conftest to testsuite.feature.…
vistart Nov 19, 2026
63a2021
ci: exclude benchmark tree from the feature test job
vistart Nov 19, 2026
3e7a307
ci(coverage): narrow coverage source to the package each repo owns
vistart Nov 19, 2026
b8a4ec3
test(cli): bridge shared feature/cli contracts with isolated database
vistart Nov 19, 2026
aec341e
test(explain): add backend-local deep EXPLAIN tests for postgres
vistart Nov 19, 2026
e239508
test(explain): rewrite deep EXPLAIN tests using expression system (no…
vistart Nov 19, 2026
50cf456
test(benchmark): wire shared testsuite benchmark contracts for postgres
vistart Nov 19, 2026
fbb4dfd
test(cli): bridge shared migrate CLI contracts
vistart Nov 19, 2026
d59cd7e
test(query): bridge shared testsuite contract dirs
vistart Nov 19, 2026
07972fc
test(query): rename worker bridge to avoid pytest basename collision
vistart Nov 19, 2026
e3d5373
test: bridge query/relation + typed_column contracts
vistart Nov 20, 2026
2bb5eb4
test(postgres): self-owned tests for cli/status
vistart Nov 20, 2026
9c8b59b
ci(postgres): use stable postgres:19 image (19 GA)
vistart Nov 20, 2026
952d9a9
test(postgres): cover async status introspector (native async)
vistart Nov 20, 2026
87c9c84
test(postgres): offline tests for partition maintenance/plan
vistart Nov 20, 2026
6e4a2f3
test(postgres): offline tests for cli and ddl/type
vistart Nov 20, 2026
37d6f17
test(postgres): live CLI integration tests (info/query/introspect/sta…
vistart Nov 20, 2026
c692bde
test: bridge DDLSource contracts (ddl/core)
vistart Nov 20, 2026
278c04d
docs: restructure README to 6-section template + version badge
vistart Nov 20, 2026
2ef4d6d
docs: refine README section title and model mixin annotations
vistart Nov 20, 2026
875be29
docs: build out backend docs chapters and examples
vistart Nov 20, 2026
59b11cb
docs(migration): add backend-specific migration guide and examples
vistart Nov 20, 2026
65090b9
ci: pin testsuite dependency to release/v1.0.0.dev17
vistart Nov 20, 2026
ab949f9
ci: pin core dependency to release/v1.0.0.dev30
vistart Nov 20, 2026
e132c2b
chore: add changelog fragment for PR #72
vistart Nov 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
56 changes: 28 additions & 28 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,17 @@ jobs:
print(pathlib.Path(testsuite.__file__).parent)
PY
)
python -m pytest \
python -m pytest -p tests.benchmark.providers \
--rootdir=. \
--confcutdir=. \
"$TESTSUITE_DIR/benchmark/crud/test_delete_async.py" \
"$TESTSUITE_DIR/benchmark/crud/test_delete.py" \
"$TESTSUITE_DIR/benchmark/crud/test_insert_async.py" \
"$TESTSUITE_DIR/benchmark/crud/test_insert.py" \
"$TESTSUITE_DIR/benchmark/crud/test_query_async.py" \
"$TESTSUITE_DIR/benchmark/crud/test_query.py" \
"$TESTSUITE_DIR/benchmark/crud/test_update_async.py" \
"$TESTSUITE_DIR/benchmark/crud/test_update.py" \
"$TESTSUITE_DIR/benchmark/crud/core/test_delete_async.py" \
"$TESTSUITE_DIR/benchmark/crud/core/test_delete.py" \
"$TESTSUITE_DIR/benchmark/crud/core/test_insert_async.py" \
"$TESTSUITE_DIR/benchmark/crud/core/test_insert.py" \
"$TESTSUITE_DIR/benchmark/crud/core/test_query_async.py" \
"$TESTSUITE_DIR/benchmark/crud/core/test_query.py" \
"$TESTSUITE_DIR/benchmark/crud/core/test_update_async.py" \
"$TESTSUITE_DIR/benchmark/crud/core/test_update.py" \
"$TESTSUITE_DIR/benchmark/query" \
"$TESTSUITE_DIR/benchmark/transaction" \
"$TESTSUITE_DIR/benchmark/mixin" \
Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:

test-python-315:
name: Python ${{ matrix.python-version }}${{ matrix.freethreaded && 't' || '' }} / postgres ${{ matrix.postgres-version }}
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
Expand All @@ -236,7 +236,7 @@ jobs:
# psycopg does not support free-threaded builds -- tracked as
# psycopg/psycopg#1095 -- so the GIL leg is the only one this backend
# has, on 3.15 as on every other interpreter.
- { python-version: '3.15', postgres-version: '18', freethreaded: false }
- { python-version: '3.15', postgres-version: '18', freethreaded: false, os: ubuntu-26.04 }

services:
postgres:
Expand Down Expand Up @@ -326,25 +326,25 @@ jobs:
- name: Run tests
run: |
export PYTHONPATH=src:tests
python -m pytest tests/ --tb=short -n 8 --dist=loadgroup
python -m pytest tests/ --tb=short -n 8 --dist=loadgroup --ignore=tests/benchmark

test:
name: Python ${{ matrix.python-version }} / postgres ${{ matrix.postgres-version }}
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- { python-version: '3.8', postgres-version: '9' }
- { python-version: '3.8', postgres-version: '10' }
- { python-version: '3.9', postgres-version: '11' }
- { python-version: '3.10', postgres-version: '12' }
- { python-version: '3.11', postgres-version: '13' }
- { python-version: '3.12', postgres-version: '14' }
- { python-version: '3.13', postgres-version: '15' }
- { python-version: '3.13', postgres-version: '16' }
- { python-version: '3.14', postgres-version: '17' }
- { python-version: '3.14', postgres-version: '18' }
- { python-version: '3.8', postgres-version: '9', os: ubuntu-22.04 }
- { python-version: '3.8', postgres-version: '10', os: ubuntu-22.04 }
- { python-version: '3.9', postgres-version: '11', os: ubuntu-22.04 }
- { python-version: '3.10', postgres-version: '12', os: ubuntu-24.04 }
- { python-version: '3.11', postgres-version: '13', os: ubuntu-24.04 }
- { python-version: '3.12', postgres-version: '14', os: ubuntu-24.04 }
- { python-version: '3.13', postgres-version: '15', os: ubuntu-24.04 }
- { python-version: '3.13', postgres-version: '16', os: ubuntu-24.04 }
- { python-version: '3.14', postgres-version: '17', os: ubuntu-26.04 }
- { python-version: '3.14', postgres-version: '18', os: ubuntu-26.04 }

services:
postgres:
Expand Down Expand Up @@ -439,14 +439,14 @@ jobs:
if: matrix.postgres-version != '18'
run: |
export PYTHONPATH=src:tests
python -m pytest tests/ --tb=short -n 8 --dist=loadgroup
python -m pytest tests/ --tb=short -n 8 --dist=loadgroup --ignore=tests/benchmark

- name: Run tests with coverage (only for postgres 18 on Python 3.14)
if: matrix.postgres-version == '18' && matrix.python-version == '3.14'
run: |
export PYTHONPATH=src:tests
pip install codecov
python -m pytest tests/ --tb=short -n auto --dist=loadgroup --cov=src/rhosocial --cov-report=xml
python -m pytest tests/ --tb=short -n auto --dist=loadgroup --cov=rhosocial.activerecord.backend.impl.postgres --cov-report=xml --ignore=tests/benchmark

- name: Upload coverage to Codecov
if: matrix.postgres-version == '18' && matrix.python-version == '3.14'
Expand All @@ -459,12 +459,12 @@ jobs:
fail_ci_if_error: false

test-postgres-19:
name: Python 3.14 / postgres 19rc1
name: Python 3.14 / postgres 19
runs-on: ubuntu-latest

services:
postgres:
image: postgres:19rc1
image: postgres:19
env:
POSTGRES_DB: test_db
POSTGRES_USER: root
Expand Down Expand Up @@ -525,4 +525,4 @@ jobs:
- name: Run tests
run: |
export PYTHONPATH=src:tests
python -m pytest tests/ --tb=short -n 8 --dist=loadgroup
python -m pytest tests/ --tb=short -n 8 --dist=loadgroup --ignore=tests/benchmark
Loading
Loading