Skip to content

Quote NO in zubpm Yamale schema to fix example-config validation#287

Draft
Yong HU (huyong1979) with Copilot wants to merge 12 commits into
mainfrom
copilot/fix-validate-example-configs-job
Draft

Quote NO in zubpm Yamale schema to fix example-config validation#287
Yong HU (huyong1979) with Copilot wants to merge 12 commits into
mainfrom
copilot/fix-validate-example-configs-job

Conversation

Copilot AI commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

The Validate Example Configs job failed on the zubpm example because the schema key NO was parsed as a YAML boolean token, causing Yamale to look for environment.False. This change makes the schema key explicit so the example validates as intended.

  • Root cause

    • In roles/device_roles/zubpm/schema.yml, unquoted NO was interpreted as boolean-like YAML syntax instead of a literal field name.
  • Change

    • Updated the zubpm role schema to quote the field name:
      • NO: int()"NO": int()
  • Impact

    • Aligns schema key parsing with the existing example config structure.
    • Removes the zubpm-specific failure in the example-schema validation workflow.
environment:
  IOCNAME: str()
  "NO": int()
  PSC: str()

Copilot AI changed the title [WIP] Fix failing GitHub Actions job Validate Example Configs Quote NO in zubpm Yamale schema to fix example-config validation Jul 15, 2026
Copilot stopped work on behalf of Yong HU (huyong1979) due to an error July 15, 2026 18:55
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