fix: collect-engagement.sh never commits evidence to ops repo — data silently lost #982
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#982
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?
Problem
site/collect-engagement.shwrites engagement JSON to$OPS_REPO_ROOT/evidence/engagement/but performs zero git operations. Data is lost on container restart.The
formulas/collect-engagement.tomlformula has acommit-evidencestep that handles this, but the edge entrypoint calls the shell script directly, bypassing the formula entirely. The formula is a confirmed structural orphan.Proposed solution
Two options (pick one):
collect-engagement.sh(preferred — avoids formula dispatch overhead for a simple write)Note: #758 (ops repo branch protection) compounds this — the fix must use Forgejo API commits, not git push.
Affected files
site/collect-engagement.shdocker/edge/entrypoint.sh(if restoring formula dispatch)Acceptance criteria
collect-engagement.shruns, a dated JSON file appears in the ops repoevidence/engagement/directory (committed to remote)Dependencies
evidence/directory, OR the script must create it via APIOrigin
Promoted from prediction #967.