Repository navigation
fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge - #654
Conversation
…tch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughAdds ChangesInitiative Planner Redispatch Bridge
Sequence DiagramsequenceDiagram
participant GH as GitHub (discussion labeled)
participant RDJob as redispatch job
participant Script as redispatch.sh
participant GHCLI as gh CLI
participant PlanJob as plan job (workflow_dispatch)
GH->>RDJob: discussion [labeled: idea:approved]
RDJob->>RDJob: validate GH_PAT_WORKFLOWS secret present
RDJob->>Script: run with REPO, DISCUSSION_NUMBER, DRY_RUN, GITHUB_REF
Script->>Script: validate inputs, derive dry_run string, build optional --ref
Script->>GHCLI: workflow run initiative-planner.yml --repo REPO -f discussion=N -f dry_run=bool
GHCLI->>PlanJob: triggers workflow_dispatch run
PlanJob->>PlanJob: reads DISCUSSION_NUMBER from inputs.discussion, DRY_RUN from inputs.dry_run
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related issues
Suggested labels
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Dev-Lead — review-changes (no-changes)No changes were needed for this PR. |
There was a problem hiding this comment.
Code Review
This pull request introduces redispatch.sh to bridge the discussion [labeled] event to a workflow_dispatch event, bypassing the limitation where claude-code-action aborts on discussion events. It also updates the README and adds comprehensive BATS unit tests. The reviewer provided several constructive suggestions to improve the Bash script, including strictly validating the discussion number as a positive integer, making the DRY_RUN check case-insensitive, and using standard glob pattern matching instead of regular expressions for prefix matching on GITHUB_REF.
Dev-Lead — fix-bot-comment (no-changes)Agent reasoning |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Dev-Lead — fix-bot-comment (no-changes)Agent reasoning |
Dev-Lead — review-changes (applied)Changes committed and pushed. |
|
Dev-Lead — waiting on PR blockers (intent: review-changes)PR: #654 |
|
Note @don-petry I reviewed this PR and no code changes were needed, but it still has blocking checks or reviews (failing or cancelled checks, or changes-requested reviews), so I cannot mark it done yet. I'll re-check automatically. |
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…tch bridge (#654) * fix(initiative-planner): restore discussion→workflow_dispatch redispatch bridge PR #618 (issue #591) fixed the `idea:approved` auto-trigger: claude-code-action aborts with "Unsupported event type: discussion", so the planner re-invokes itself via workflow_dispatch through a `redispatch` bridge job. PR #606 (an unrelated pr-review change) was branched off main before #618 landed and, on merge, silently reverted the fix — deleting the redispatch job, redispatch.sh, and its bats test, and restoring the broken direct-on-discussion `if`. As a result, labelling a Discussion `idea:approved` (e.g. #650) again failed with "Unsupported event type: discussion" and never planned. Restore #618 verbatim, preserving the current claude-code-action v1.0.148 pin: - re-add the `redispatch` job; `plan` runs only on workflow_dispatch - restore scripts/initiative-planner/redispatch.sh - restore tests/test_initiative_planner_redispatch.bats - restore the README rows for redispatch.sh and its test https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao * chore: apply manual instructions [skip ci-relay] --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>



Problem
Labelling an Ideas Discussion
idea:approved— the documented primary trigger for the planner — fails and never plans the initiative. The run fires correctly but dies inside the Claude action step:This was observed on Discussion #650 (planner run
27479891465,DISCUSSION_NUMBER: 650).Root cause — a silently reverted fix
This bug was already identified (#591) and fixed (#618,
6feb0fe) with aredispatchbridge job: on adiscussion [labeled]event the planner resolves the discussion number and re-invokes itself viaworkflow_dispatch(whichclaude-code-actiondoes support); theplanjob then runs only onworkflow_dispatch.PR #606 (
0407ea5, an unrelated pr-review oversized-PR change) was branched offmainbefore #618 landed and, on merge, silently reverted the entire fix — deleting:redispatchjob ininitiative-planner.yml(restoring the broken direct-on-discussionif)scripts/initiative-planner/redispatch.shtests/test_initiative_planner_redispatch.batsThe later dependabot bump #640 (
claude-code-action→ v1.0.148) only touched the action SHA; it did not cause the regression.Fix
Restore #618 verbatim, preserving the current
claude-code-actionv1.0.148 pin from #640:redispatchjob;planruns only onworkflow_dispatchscripts/initiative-planner/redispatch.shtests/test_initiative_planner_redispatch.batsredispatch.shand its testThe resulting
initiative-planner.ymlis byte-identical to the post-#618 version except for the action SHA.shellcheckclean.After merge
Re-trigger Discussion #650 (remove + re-add
idea:approved, or dispatch the planner manually withdiscussion: 650) and it will plan.https://claude.ai/code/session_01WRJisJyfNK2CuR4f1n9cao
Generated by Claude Code
Summary by CodeRabbit
New Features
Bug Fixes
Documentation