Skip to content

Add CI, set PG 14+ floor, and sync AGENTS.md - #12

Merged
xzilla merged 3 commits into
masterfrom
claude/zealous-knuth-t1snrq
Sep 26, 2026
Merged

xzilla merged 3 commits into
masterfrom
claude/zealous-knuth-t1snrq

Conversation

@xzilla

@xzilla xzilla commented Sep 26, 2026

Copy link
Copy Markdown
Owner

Summary

CI and test targets

  • New workflow .github/workflows/test.yml runs the regression suite on PostgreSQL 14–18. It covers all three install paths: the standalone build, pg_tle (built from a pinned commit), and a filesystem CREATE EXTENSION into both the default schema and an explicit one.
  • New Makefile targets: install/uninstall, test (alias for test-local), test-tle and test-extension. Each target recreates a scratch database for its run.
  • Fix: test_pgtoon.sql used to exit 0 even when assertions failed. It now raises an error at the end if anything failed. assert_toon now compares with IS NOT DISTINCT FROM, so a NULL result counts as a failure instead of being dropped from the count.

Docs

  • PostgreSQL 14 is now the minimum supported version in AGENTS.md and README.md. 12 and 13 are past upstream end-of-life and aren't tested.
  • AGENTS.md now has a "Supported Versions" section explaining how to update the CI version list and the pg_tle pin.
  • AGENTS.md corrections to match the code: row_to_toon takes anyelement, the list now includes the toon_agg state and final helper functions, and the new-function checklist uses the make test* targets.

Notes

  • pg_tle is pinned to a commit on its main branch because no tagged release supports PG 18 yet.
  • test-tle has to run before make install, because pg_tle won't register an extension that's already installed on the filesystem.
  • This is the workflow's first run. Locally, all three test targets passed 67/67 on PG 16.

🤖 Generated with Claude Code

https://claude.ai/code/session_014JAaWhjV4FjNThbcAAWksS


Generated by Claude Code

Add a GitHub Actions workflow that runs the regression suite on
PostgreSQL 14-18 against all three install paths: standalone build,
pg_tle (built from a pinned commit), and filesystem CREATE EXTENSION
in both the default and an explicit schema.

Add make install/uninstall and test-local, test-tle, test-extension
targets that recreate a scratch database per run.

The test suite previously exited 0 even with failures; it now raises
at the end when any assertion fails, and compares with IS NOT DISTINCT
FROM so NULL results count as failures instead of being dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014JAaWhjV4FjNThbcAAWksS
Declare PostgreSQL 14 as the minimum supported version (12 and 13 are
past upstream EOL and not covered by CI) in AGENTS.md and README.md,
and document how to maintain the CI version matrix and pg_tle pin.

Bring AGENTS.md in line with the code: row_to_toon takes anyelement,
list the toon_agg state/final helper functions, and point the
new-function checklist at the make test targets.

Fix the workflow push trigger to use the default branch, master.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014JAaWhjV4FjNThbcAAWksS
sudo resets the environment, so createuser ignored PGPORT=5499 and
tried the default 5432 socket, failing every matrix job at cluster
setup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014JAaWhjV4FjNThbcAAWksS
@xzilla
xzilla merged commit d71c889 into master Sep 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants