Skip to content

Trunk render leaves sync-main-to-dev prose mentions in promote-release.yml #1233

Closed

Description

@c-vigo

Problem

Follow-up to #1226 (which scrubbed the ci.yml / codeql.yml / sync-issues.yml prose spots, PR #1229). Review of that PR found the same class of residue in a file render_workflow_model() does not touch at all:

  • assets/workspace/.github/workflows/promote-release.yml:8 — "(triggers sync-main-to-dev)"
  • assets/workspace/.github/workflows/promote-release.yml:473 — "(sync-main-to-dev may run next)"

sync-main-to-dev.yml is not rendered in trunk mode (confirmed absent from trunk scaffolds), so trunk consumers ship two comments referencing a workflow that doesn't exist in their repo.

Impact

Cosmetic only, same as #1226 — pre-existing gap, not a regression from PR #1229. Completes the "trunk scaffold has no lying dev-model prose" invariant.

Suggested fix

Extend the trunk prose scrub in render_workflow_model() to promote-release.yml (or make the comments model-neutral), with negative test assertions in tests/test_workflow_model.py mirroring the #1226 pattern.

Refs: #1226, #1205

Activity

  1. added
    chore
    area:workspace
    on Jul 21, 2026
  2. added this to the 1.4.1 milestone on Jul 21, 2026
  3. c-vigo commented on Jul 21, 2026

    @c-vigo
    ContributorAuthor

    Fixed on dev via PR #1243 (merge commit 1052755): render_workflow_model now drops both sync-main-to-dev parentheticals from promote-release.yml in trunk mode; gitflow render proven byte-identical (file added to the byte-identical guard tuple). Ships with 1.4.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:workspacechore

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions