Artifact eae5a518a5ca473e888a8fb722b74ad1e942e6371763effd60edf4ecdff7b85f:
- File
ci/test.yml
— part of check-in
[c7e932c08b]
at
2026-11-10 04:02:23
on branch schema-version
— Version the schema, and rebuild derived tables instead of migrating
State and derived tables are split into schema/state.sql and schema/index.sql, both applied on open. When the derived version changes, ctx rebuilds those tables from the repositories once; ctx rebuild does it on request. Technotes now record each turn's id, so a rebuilt index still knows which turns it holds. (user: dmestas, size: 472) [annotate] [blame] [check-ins using] [more...]
on: [push, landing] jobs: test: timeout-minutes: 30 steps: - run: make test - run: make sanitize - run: make fuzz-ci - run: python3 bench/check_corpus.py - run: bash -n bench/run.sh - run: python3 -c "import sqlite3; sqlite3.connect(':memory:').executescript(open('bench/schema.sql').read())" - run: | sqlite3 :memory: -bail -cmd '.read schema/state.sql' -cmd '.read schema/index.sql' '.read schema/check.sql'