Skip to content

[codex] Cover schema target drift for triggers and indexes#147

Merged
adamziel merged 1 commit into
trunkfrom
codex/schema-target-drift-index-trigger
May 16, 2026
Merged

[codex] Cover schema target drift for triggers and indexes#147
adamziel merged 1 commit into
trunkfrom
codex/schema-target-drift-index-trigger

Conversation

@adamziel
Copy link
Copy Markdown
Contributor

What

  • Extend schema stale-audit coverage for target-side SQL drift from source-added views to source-added triggers and indexes.
  • Assert reviewed schema conflicts return to needs-action, record current target SQL evidence, and stay conservatively unclassified.
  • Update the merge reliability matrix to reflect the broader view/trigger/index target-drift evidence.

Why

The implementation handles schema source/target drift for indexes, views, and triggers, but focused coverage only proved the target-side view case. This closes that evidence gap while preserving the conservative review model for schema conflicts.

Testing

  • php -l tests/cow/schema_review.php
  • git diff --check
  • make test-cow-schema-review (115 assertions)
  • npm run build

@adamziel adamziel merged commit 908e27b into trunk May 16, 2026
5 checks passed
@adamziel adamziel deleted the codex/schema-target-drift-index-trigger branch May 16, 2026 11:54
@adamziel adamziel mentioned this pull request May 16, 2026
adamziel added a commit that referenced this pull request May 16, 2026
## Release `v0.1.18`

Version bump and release metadata update for `v0.1.18`.

**Changelog draft:**
* Update merge reliability release evidence
([#145](#145))
* Cover schema target SQL drift revalidation
([#146](#146))
* Cover schema target drift for triggers and indexes
([#147](#147))
* Cover root-escaping filesystem symlink conflicts
([#148](#148))
* Cover usermeta behind explicit user ID imports
([#149](#149))

**Full changelog:**
v0.1.17...release/v0.1.18

## Next steps

1. **Review** the changes in this pull request.
2. **Push** any additional edits to this branch (`release/v0.1.18`).
3. **Merge** this pull request to publish `v0.1.18`.

Merging will automatically build ForkPress binaries, create a GitHub
release, and update the Homebrew formula.
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.

1 participant