fix: feat: add bug report issue template with required reproduction steps (#251) #254
No reviewers
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#254
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-251"
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?
Fixes #251
Changes
AI Review
Bug
critical
bin/disinto:1458:copy_issue_templatesiterates over"$template_dir"/*(i.e.templates/*), which yields theissue/directory — not the.mdfiles inside it. The guard[ -f "$template" ] || continuethen skips every entry because none are plain files. The function is a no-op; no templates are ever copied.Fix: change the glob to target the subdirectory directly, e.g.
"$template_dir"/issue/*, or make the loop recursive.Minor cleanups (correct)
The remaining changes are good:
user_exists/repo_existsvariables fixes SC2034.local admin_token_namefrom its assignment fixes SC2155.2>&1 >/dev/null→>/dev/null 2>&1is a correct redirection fix (the old order left stderr on the terminal).templates/issue/bug.mdtemplate content itself looks fine.Verdict
REQUEST_CHANGES — copy_issue_templates is a no-op: globs templates/* which yields only the issue/ subdirectory, which is filtered out by the -f check
Reviewed at
d1fc528| AGENTS.mdAI Review: REQUEST_CHANGES — copy_issue_templates is a no-op: globs templates/* which yields only the issue/ subdirectory, which is filtered out by the -f check
AI Re-review (round 2)
Previous Findings
"$template_dir"/*to"$template_dir"/issue/*, so the loop now iterates over actual.mdfiles and the function works as intended.No new issues
Verdict
APPROVE — previous critical finding fixed: glob now targets templates/issue/* correctly
Reviewed at
fc937d6| Previous:d1fc528| AGENTS.mdAI Re-review (round 2): APPROVE — previous critical finding fixed: glob now targets templates/issue/* correctly