Skip to content

Plan 07 batches 2+3+4: audit-log + OPcache reset + integration - #32

Merged
NickAldewereld merged 1 commit into
mainfrom
cms-core/plan-07-batches-2-3-4
Jun 1, 2026
Merged

NickAldewereld merged 1 commit into
mainfrom
cms-core/plan-07-batches-2-3-4

Conversation

@NickAldewereld

Copy link
Copy Markdown
Contributor

Plan 07 nu volledig compleet.

  • Migration\Runner logt elke applied migration via AuditLogger (fail-soft)
  • VersionTracker + opcache_reset on cms-core version change (Capistrano-safe)
  • End-to-end IntegrationTest: apply → bump → audit-entry written

316 → 332 tests, alle groen.

- Migration\Runner logs each applied migration via AuditLogger
  ('migration_applied', 'vN: description', 'systeem'). Fail-soft on
  audit failure (error_log + continue).
- Easeo\Cms\Migration\VersionTracker: tracks last-seen cms-core
  version in data/.cms-core-version. App::boot() calls opcache_reset()
  when version changes, mitigating stale OPcache paths after
  Capistrano-style symlink deploys.
- End-to-end IntegrationTest validates the full runtime: apply ->
  bump version -> audit-log entry written.
- 16 new tests: VersionTrackerTest (7), IntegrationTest (2),
  RunnerTest additions (2 + 1 skipped), AppTest (1), LegacyLoadTest (1).
- .gitignore: added **/data/.cms-core-version and companion patterns
  so test-run artifacts don't show as untracked.

Plan 07 (lazy migrations) is hiermee feitelijk compleet — alle 4
batches geland. Totaal: 332 tests (276 cms-core + 21 tools +
9 hello-module + 26 shop-module), alle groen.
@NickAldewereld
NickAldewereld merged commit 623f47f into main Jun 1, 2026
2 checks passed
@NickAldewereld
NickAldewereld deleted the cms-core/plan-07-batches-2-3-4 branch June 1, 2026 20:11
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