Skip to content

STAC-25557: remove YAML-level comments from workflows - #370

Open
LouisParkin wants to merge 1 commit into
stackstate-7.78.2from
STAC-25557-strip-yaml-comments
Open

STAC-25557: remove YAML-level comments from workflows#370
LouisParkin wants to merge 1 commit into
stackstate-7.78.2from
STAC-25557-strip-yaml-comments

Conversation

@LouisParkin

Copy link
Copy Markdown
Contributor

House convention is uncommented YAML. The migration workflows had drifted a long way from it — 225 of 525 lines in checks-tests.yml.

Pure deletion, 258 lines, no behaviour change.

Shell comments inside run: blocks are kept: they're string content rather than YAML syntax, and they explain non-obvious runtime behaviour where it applies.

Verification

Checked mechanically rather than by eye, since a comment strip is easy to get subtly wrong:

  • every file parses to an identical document before and after
  • all 16 run: blocks byte-identical
  • actionlint and Zizmor clean

Companion PR for stackstate-process-agent follows under the same ticket.

House convention is uncommented YAML; the migration workflows had accumulated
a lot of it (225 of 525 lines in checks-tests.yml).

Shell comments inside `run:` blocks are kept deliberately. They are string
content rather than YAML syntax, and they explain non-obvious runtime
behaviour at the point of use.

Verified a pure comment removal, not a rewrite: every file parses to an
identical document before and after, and all 16 `run:` blocks are
byte-identical. actionlint and Zizmor clean.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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