You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
5.4: Filesystem watcher for incremental commit+push
Part of Stream 5: Harness → AgentPlaybookRun alignment
ADR-0001 §Git-as-persistence states: "Mitigation: incremental push during execution, not just on exit." The harness currently only pushes at pipeline step boundaries, risking data loss if the pod crashes mid-run.
Tasks
Add internal/watcher/ package with fsnotify-based filesystem watcher
Debounce window (~30s quiet period) — after the last relevant filesystem event, wait before committing
On quiet period expiry: git add changed/new files, commit, push
5.4: Filesystem watcher for incremental commit+push
Part of Stream 5: Harness → AgentPlaybookRun alignment
ADR-0001 §Git-as-persistence states: "Mitigation: incremental push during execution, not just on exit." The harness currently only pushes at pipeline step boundaries, risking data loss if the pod crashes mid-run.
Tasks
internal/watcher/package with fsnotify-based filesystem watchergit addchanged/new files, commit, push.git/,.konveyor/, build output dirs (target/,node_modules/,graphify-out/), binary/lock files.class,.jar,.pyc,.o,.soCommitAll+ push in the harness covers anything the watcher missed (including.konveyor/files written at stage end)Acceptance Criteria
.konveyor/directory is excluded from the watcher but included in the final commitReferences