Merge pull request #152 from laurentenhoor/fix/142-blocked-dispatch-loop

fix: blocked issues now go to Refining to prevent infinite dispatch loop (#142)
This commit is contained in:
Lauren ten Hoor
2026-02-13 17:12:57 +08:00
committed by GitHub

View File

@@ -22,17 +22,17 @@ export const COMPLETION_RULES: Record<string, CompletionRule> = {
"qa:pass": { from: "Testing", to: "Done", closeIssue: true }, "qa:pass": { from: "Testing", to: "Done", closeIssue: true },
"qa:fail": { from: "Testing", to: "To Improve", reopenIssue: true }, "qa:fail": { from: "Testing", to: "To Improve", reopenIssue: true },
"qa:refine": { from: "Testing", to: "Refining" }, "qa:refine": { from: "Testing", to: "Refining" },
"dev:blocked": { from: "Doing", to: "To Do" }, "dev:blocked": { from: "Doing", to: "Refining" },
"qa:blocked": { from: "Testing", to: "To Test" }, "qa:blocked": { from: "Testing", to: "Refining" },
}; };
export const NEXT_STATE: Record<string, string> = { export const NEXT_STATE: Record<string, string> = {
"dev:done": "QA queue", "dev:done": "QA queue",
"dev:blocked": "returned to queue", "dev:blocked": "moved to Refining - needs human input",
"qa:pass": "Done!", "qa:pass": "Done!",
"qa:fail": "back to DEV", "qa:fail": "back to DEV",
"qa:refine": "awaiting human decision", "qa:refine": "awaiting human decision",
"qa:blocked": "returned to QA queue", "qa:blocked": "moved to Refining - needs human input",
}; };
const EMOJI: Record<string, string> = { const EMOJI: Record<string, string> = {