fix: entrypoint-reproduce.sh ignores DISINTO_FORMULA env var — always runs reproduce formula #356
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
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#356
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
The entrypoint hardcodes
REPRODUCE_FORMULAtoformulas/reproduce.toml(line 26) and never checks theDISINTO_FORMULAenvironment variable passed by the dispatcher for triage runs.The dispatcher sets
-e DISINTO_FORMULA=triagefor triage dispatch, but the entrypoint ignores it — always running the reproduce formula.Fix
At line 26, select the formula based on
DISINTO_FORMULA:Then use
ACTIVE_FORMULAeverywhereREPRODUCE_FORMULAis currently used.Also update log messages to reflect which formula is running ("Starting triage-agent" vs "Starting reproduce-agent").
Files
docker/reproduce/entrypoint-reproduce.sh— line 26 and all references to REPRODUCE_FORMULA