Context
The canvas Delete Deployment button dispatches the delete-application.yml workflow (rad app delete) using delete-workflow templates and the delete-resource composite action introduced in radius-project/radius PR #12367 ("Add custom recipe pack support and delete workflows to Repo Radius").
Those templates + the delete-resource action are not yet on radius-project/radius@main, so we temporarily pin them to the PR's branch.
What to change once #12367 merges
In radius-core/src/workflows/delete.ts:
export const DELETE_RADIUS_REF = "sk593-custom-types-recipe-packs";
- Change
DELETE_RADIUS_REF to point at main (or just re-use the exported RADIUS_REF, which is "main"), and remove the now-unnecessary constant/comment.
- This ref is used for both:
- Fetching the delete-workflow templates (
generateDeleteWorkflow in adapters/canvas/src/infra.mjs), and
- The
{{RADIUS_REF}} the generated delete-azure.yml / delete-aws.yml pin their composite actions to (setup-control-plane, restore-state, delete-resource, teardown).
Verification after the switch
generateDeleteWorkflow(env) fetches templates without a 404 at main.
- Generated provider workflows reference composite actions
@main (including delete-resource@main).
- A newly-created environment commits
delete-application.yml + delete-azure.yml, and Delete Deployment dispatches successfully.
References
Context
The canvas Delete Deployment button dispatches the
delete-application.ymlworkflow (rad app delete) using delete-workflow templates and thedelete-resourcecomposite action introduced in radius-project/radius PR #12367 ("Add custom recipe pack support and delete workflows to Repo Radius").Those templates + the
delete-resourceaction are not yet onradius-project/radius@main, so we temporarily pin them to the PR's branch.What to change once #12367 merges
In
radius-core/src/workflows/delete.ts:DELETE_RADIUS_REFto point atmain(or just re-use the exportedRADIUS_REF, which is"main"), and remove the now-unnecessary constant/comment.generateDeleteWorkflowinadapters/canvas/src/infra.mjs), and{{RADIUS_REF}}the generateddelete-azure.yml/delete-aws.ymlpin their composite actions to (setup-control-plane,restore-state,delete-resource,teardown).Verification after the switch
generateDeleteWorkflow(env)fetches templates without a 404 atmain.@main(includingdelete-resource@main).delete-application.yml+delete-azure.yml, and Delete Deployment dispatches successfully.References
8e32aed(branchsk593-radius-canvas-ux-refresh, PR Radius canvas UX refresh: environments flow, Figma alignment, workflow-token fix #32).