From 430cbb5a302d04f153683af5d356e1672beffa81 Mon Sep 17 00:00:00 2001 From: Wayne Sun Date: Tue, 2 Jun 2026 12:09:11 -0400 Subject: [PATCH] fix(dispatch): map fix stage to coder role in per-org scaffold MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The per-org scaffold dispatch.yml was missing the fix→coder role mapping that reusable-dispatch.yml already has. This caused /fs-fix to be silently skipped on all per-org installations with the notice: "Stage 'fix' skipped — role 'fix' not in defaults.roles" The fix stage reuses the coder app (reusable-fix.yml mints a coder token), so it should map to the coder role in the stage-to-role check — matching the per-repo dispatch at reusable-dispatch.yml:267. Root cause: commit 709d8af0 added code|fix on main, but the merge of PR #1022 (c7c57170) resolved a conflict in the case statement using the branch version that lacked the fix mapping. Partially addresses #1725 Signed-off-by: Wayne Sun --- internal/scaffold/fullsend-repo/.github/workflows/dispatch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/scaffold/fullsend-repo/.github/workflows/dispatch.yml b/internal/scaffold/fullsend-repo/.github/workflows/dispatch.yml index a2c7164cc..1d48309be 100644 --- a/internal/scaffold/fullsend-repo/.github/workflows/dispatch.yml +++ b/internal/scaffold/fullsend-repo/.github/workflows/dispatch.yml @@ -271,7 +271,7 @@ jobs: set -euo pipefail STAGE_ROLE="$STAGE" case "$STAGE" in - code) STAGE_ROLE="coder" ;; + code|fix) STAGE_ROLE="coder" ;; retro|prioritize) STAGE_ROLE="fullsend" ;; esac