Skip to content

fix(ci): move stream_frame ordering note out of the components block scalar - #750

Merged
finger563 merged 1 commit into
mainfrom
fix/upload-components-comment
Sep 2, 2026
Merged

fix(ci): move stream_frame ordering note out of the components block scalar#750
finger563 merged 1 commit into
mainfrom
fix/upload-components-comment

Conversation

@finger563

Copy link
Copy Markdown
Contributor

The components list in upload_components.yml is a YAML literal block scalar (components: |), so lines beginning with # inside it are literal text, not comments. The four-line stream_frame is intentionally listed… note added in #747 therefore gets handed to upload-components-ci-action as bogus component directory paths — which is exactly what the file’s own rule forbids:

# Note: comments are not allowed in the "components" list, so please do not add any comments here.

Fix

  • Move the explanation up into the # Note: block above the scalar, alongside the existing ethernet and magnetic_encoder ordering notes.
  • Remove the four comment lines from inside the list.

Component ordering is unchanged — stream_frame still precedes its first-time dependents coredump / dispatcher / ota.

Verified the block scalar now contains 140 entries, all components/… paths, zero # lines.

🤖 Generated with Claude Code

…scalar

The upload_components.yml components list is a YAML literal block scalar
(components: |), so lines starting with # inside it are literal text, not
comments — the upload-components-ci-action would receive the four-line
"stream_frame is intentionally listed..." note as bogus component directory
paths. This violates the file own rule ("comments are not allowed in the
components list"). Move the explanation up into the # Note: block above the
scalar (next to the ethernet and magnetic_encoder ordering notes) and drop the
comment lines from inside the list. Component ordering is unchanged:
stream_frame still precedes its first-time dependents coredump / dispatcher / ota.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 2, 2026 00:49
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

✅Static analysis result - no issues found! ✅

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is a straightforward YAML correctness fix that preserves component ordering while ensuring the scalar contains only valid component paths.

Pull request overview

This PR fixes a CI/workflow YAML correctness issue in upload_components.yml by relocating an ordering explanation out of the components: | literal block scalar, where #-prefixed lines are treated as literal content (not comments) and can be misinterpreted as component paths.

Changes:

  • Moved the stream_frame ordering rationale into the comment block above the components: | scalar.
  • Removed the # stream_frame ... lines from inside the literal block scalar to ensure only valid components/... paths are passed to the upload action.
File summaries
File Description
.github/workflows/upload_components.yml Moves the stream_frame ordering note above the `components:
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@finger563
finger563 merged commit 94e297d into main Sep 2, 2026
11 checks passed
@finger563
finger563 deleted the fix/upload-components-comment branch September 2, 2026 01:10
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.

2 participants