Skip to content

Rename sync "template infra" to "workshop machinery" - #22

Merged
Pierre Malarme (pmalarme) merged 1 commit into
mainfrom
pmalarme-urban-system
Jul 16, 2026
Merged

Rename sync "template infra" to "workshop machinery"#22
Pierre Malarme (pmalarme) merged 1 commit into
mainfrom
pmalarme-urban-system

Conversation

@pmalarme

Copy link
Copy Markdown
Collaborator

What & why

The .workshop/ + .github/ trees the sync-template workflow pulls from upstream are called "workshop machinery" everywhere in the repo (script docstrings/comments, advance-on-push.yml's --check-machinery-only guard, tests, copilot-instructions.md, .workshop/README.md). Meanwhile "infra"/"infrastructure" already has a distinct, established meaning in the step docs: the azd-generated Azure Bicep infra/ directory.

The sync-template workflow mislabeled the machinery as "template infra" in a few user-facing spots, overloading that term. This renames them to the canonical wording.

Changes

File Before After
sync-template.yml (name) Sync template infra Sync workshop machinery
sync-template.yml (commit) workshop: sync template infra from upstream … workshop: sync machinery from upstream …
sync-template.yml (summary) ✅ Template infra synced ✅ Workshop machinery synced
sync_template.py (docstring) Sync workshop infrastructure … Sync workshop machinery …
sync_template.py (COMMIT_MESSAGE) … sync template infra … … sync machinery …
reset-current-step.yml (comment) companion to "Sync template infra" companion to "Sync workshop machinery"

Safety

  • No behavior change. The [skip-advance] sentinel is untouched; advance logic keys only on that sentinel, not the message wording.
  • The workflow's hardcoded git commit -m and the script's COMMIT_MESSAGE remain byte-identical to each other.
  • New wording follows the existing commit convention (workshop: <verb> [sentinel], no repeated "workshop").
  • python -m pytest .workshop/scripts/tests/test_sync_template.py20 passed.

The .workshop/ + .github/ trees synced from upstream are called "workshop
machinery" throughout the repo, while "infra" already denotes the
azd-generated Azure Bicep infra/ directory. Rename the user-facing labels
(workflow display name, commit message, step-summary heading), the module
docstring, and the reset-current-step companion reference to the canonical
wording. No behavior change: the [skip-advance] sentinel is intact and all
20 sync-template tests pass.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 05e5514d-ea83-4467-bffb-d3ac2e1b1636
@pmalarme
Pierre Malarme (pmalarme) merged commit eb5f8ba into main Jul 16, 2026
10 checks passed
@pmalarme
Pierre Malarme (pmalarme) deleted the pmalarme-urban-system branch July 16, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant