fix: every quick_search table has createDate and modifyDate with the standard behaviors #94

Merged
james.maes merged 2 commits from feat/table-standard-dates into develop 2026-11-20 15:58:09 +00:00
Owner

Brings every quick_search_* table to the QQQ table standard: createDate and modifyDate, DATE_TIME, not editable, with the CREATE_DATE and MODIFY_DATE behaviors.

  • quick_search_config_tombstone, quick_search_diagnostic_event and quick_search_validation_run gain modifyDate (field, entity, section).
  • All eight tables get the two behaviors. Five already declared the fields but had no behavior, so nothing filled them.
  • Every write goes through QQQ's own insert and update actions (no raw SQL or JDBC), so no writer needed changing. The full reindex heartbeat still writes modifyDate explicitly; the behavior stamps the same moment.
  • The QBit ships no DDL. Host DDL (additive, nullable with a now() default, safe while the previous release runs, idempotent) is in docs/MIGRATION-1.1.md, "Standard dates on every table". Nothing about what is indexed or how a document is identified changes.
  • Tests: QuickSearchTableStandardDatesTest walks every table the producer declares (fields, types, editability, behaviors), the entities, insert and update through the QQQ actions, and the bare-modifyDate heartbeat write. FullReindexStepTest heartbeat assertion compares at the millisecond the behavior stamps.

Gated build (CI=true ./mvnw verify): 570 unit tests and 46 integration tests pass, coverage gate met, Checkstyle at validate clean.

🤖 Generated with Claude Code

Brings every `quick_search_*` table to the QQQ table standard: `createDate` and `modifyDate`, `DATE_TIME`, not editable, with the `CREATE_DATE` and `MODIFY_DATE` behaviors. - `quick_search_config_tombstone`, `quick_search_diagnostic_event` and `quick_search_validation_run` gain `modifyDate` (field, entity, section). - All eight tables get the two behaviors. Five already declared the fields but had no behavior, so nothing filled them. - Every write goes through QQQ's own insert and update actions (no raw SQL or JDBC), so no writer needed changing. The full reindex heartbeat still writes `modifyDate` explicitly; the behavior stamps the same moment. - The QBit ships no DDL. Host DDL (additive, nullable with a `now()` default, safe while the previous release runs, idempotent) is in `docs/MIGRATION-1.1.md`, "Standard dates on every table". Nothing about what is indexed or how a document is identified changes. - Tests: `QuickSearchTableStandardDatesTest` walks every table the producer declares (fields, types, editability, behaviors), the entities, insert and update through the QQQ actions, and the bare-`modifyDate` heartbeat write. `FullReindexStepTest` heartbeat assertion compares at the millisecond the behavior stamps. Gated build (`CI=true ./mvnw verify`): 570 unit tests and 46 integration tests pass, coverage gate met, Checkstyle at validate clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
james.maes added 2 commits 2026-11-20 14:50:06 +00:00
fix: every quick_search table has createDate and modifyDate with the standard behaviors
maven / build (push) Successful in 7m40s
build / maven (push) Successful in 7m40s
0d07adc814
The tombstone, diagnostic event and validation run tables gain modifyDate; all
eight tables get the CREATE_DATE and MODIFY_DATE behaviors, which the five that
already declared the fields lacked, so the QBit never filled them. All writes use
QQQ's own insert and update actions. Adds the additive host DDL and upgrade note,
and a test that walks every declared table.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
test: compare the full reindex heartbeat at the millisecond the MODIFY_DATE behavior stamps
maven / build (push) Successful in 6m58s
build / maven (push) Successful in 6m58s
66c785e1e5
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
james.maes merged commit 8a80db15d5 into develop 2026-11-20 15:58:09 +00:00
Sign in to join this conversation.