File Registry Persistence #70
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Every file detected by the watcher must be recorded in
uploaded_filesand linked to the run it triggered, providing a full audit trail of automated job dispatches.Tasks
HandleFileEvent(Phase 7.3), after dispatching a run:uploaded_files:filename,path,detected_at,trigger_id,run_iduploaded_filesrecord per trigger/run pairTriggerRunfails for a trigger match: still createuploaded_filesrecord withrun_id = NULL, log the errorGetFileByID :onewith a JOIN to fetch trigger details and run status in one queryAcceptance Criteria
uploaded_filesGET /files/:idreturns trigger and run details in a single response