Repository navigation
fix(plugins): record execution history for every plugin job run - #112
Conversation
Attach JobExecutionAuditListener to every job in PluginRegistryService before registration, so synchronous, asynchronous, and run-all launches all write exactly one job_executions_audit row. Remove the after-run saveAudit path in JobsManagerService, which only covered the synchronous single-job launch. The listener now records the raw BatchStatus as outcome, clears a stale audit id from the execution context, and never fails a job when audit persistence fails. Jobs without a job_definitions row stay unaudited. Closes #111
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|

Attach JobExecutionAuditListener to every job in PluginRegistryService
before registration, so synchronous, asynchronous, and run-all launches
all write exactly one job_executions_audit row. Remove the after-run
saveAudit path in JobsManagerService, which only covered the
synchronous single-job launch.
The listener now records the raw BatchStatus as outcome, clears a stale
audit id from the execution context, and never fails a job when audit
persistence fails. Jobs without a job_definitions row stay unaudited.
Closes #111
Summary by CodeRabbit