Skip to content

Add explicit custom-table transactions and SQL failure handling - #42

Merged
vaclavgreif merged 3 commits into
masterfrom
feature/transactions
Dec 5, 2026
Merged

vaclavgreif merged 3 commits into
masterfrom
feature/transactions

Conversation

@vaclavgreif

Copy link
Copy Markdown
Contributor

Adds an explicit transaction helper for custom-table repositories, including nested savepoints, rollback on failed writes, and multisite connection checks. Repository writes and reads report SQL failures instead of allowing partially successful operations to look committed.

Documents the transaction API and its limits: HTTP calls and schema migrations stay outside transactions.

Validation: full single-site suite passed (180 tests / 515 assertions); multisite suite passed (9 tests / 27 assertions), using PHP 8.4 and an isolated local database.

mejta and others added 3 commits July 26, 2026 20:42
…sync enforcement

Replace the drifted single-file README with a Diátaxis-lite docs/ tree
(getting started, concepts, guides, reference) written from source and
adversarially verified page-by-page against src/. Add llms.txt as the
AI-agent index, CONTEXT.md as the domain glossary, and ADR 0001
recording the documentation architecture.

Keep docs in sync with code via three layers: a source→page map in
docs/agents/docs-map.md, a hard docs-sync rule in CLAUDE.md plus a
definition-of-done item in docs/agents/issue-tracker.md, and a Stop
hook (.claude/settings.json) that blocks sessions modifying src/
without touching docs.
@vaclavgreif
vaclavgreif merged commit a77d0d0 into master Dec 5, 2026
6 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