Skip to content

fix(core): share stage audit persistence within a runner - #990

Open
bercianor wants to merge 2 commits into
masterfrom
fix/runner-stage-persistence
Open

bercianor wants to merge 2 commits into
masterfrom
fix/runner-stage-persistence

Conversation

@bercianor

Copy link
Copy Markdown
Member

Summary

  • Reuse one initialized AuditPersistence for each stage ID within one runner, via a common factory wrapper rather than backend-specific caches.
  • Pass the same factory to injected changes and the execute, validate, and audit-fix paths. Leave audit reads, lock ownership, and cross-runner isolation unchanged.
  • Companion to feat(core): add audit history journal backfill change #982. This preserves in-runner identity; collision recovery after a lock handoff is a separate change.

Testing

  • ./gradlew :core:flamingock-core:test :core:flamingock-core:spotlessCheck :e2e:core-e2e:test — 352 core and 44 E2E tests passed, none skipped.
  • The runner regression observed three persistence allocations on baseline and one with this wrapper; the audit-fix regression verifies successful manual correction in the original stage.

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