Skip to content

prioritize workflow should use the reusable workflow pattern #1761

Description

@ralphbean

What happens

The five stage workflows (triage, code, review, fix, retro) follow a reusable workflow pattern: callers invoke reusable-*.yml with a fullsend_ai_ref input, and the reusable workflow handles the checkout, workspace prep, and action resolution from .defaults/.

prioritize.yml and repo-maintenance.yml in internal/scaffold/fullsend-repo/.github/workflows/ still use the old pattern: hardcoded ref: v0, sparse-checkout, rm -rf .defaults, and remote action refs (fullsend-ai/fullsend/.github/actions/*@v0).

What should happen

prioritize should follow the same reusable workflow pattern as the other stages, with a reusable-prioritize.yml upstream and a thin caller in the scaffold. This would bring it into the fullsend_ai_ref version-pinning story and keep the checkout/action-resolution logic consistent across all workflows.

Context

Came up during review of #1278 (version pinning). The author noted that prioritize doesn't have a reusable workflow, so the pattern can't be applied without a larger change. #1611 (synchronous dispatch, ADR 41) touches prioritize but doesn't convert it to the reusable pattern. See the discussion thread.

Related: #1075 (SHA pinning for reusable workflows and actions).

Metadata

Metadata

Assignees

Labels

agent/prioritizePrioritize agentcomponent/dispatchWorkflow dispatch and triggersfeatureFeature-category issue awaiting human prioritizationpriority/mediumNormal priority, plan for next cycletriagedTriaged but awaiting human prioritizationtype/choreMaintenance and housekeeping tasks

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions