Skip to content

Converge the awk and mjs YAML grammars before setup-apply uses yaml-subset.mjs - part 2 of 4 #10129

Description

@melodic-automation-lanes

Part 2 of 4 of #8677, split at intake (owner Q93). The done-when below is copied from #8677 and intake's refinement comment on it as written.

Done when

  • lib/yaml-subset.awk refuses duplicate keys without -v STRICT=1
  • lib/yaml-subset.awk refuses unknown backslash escapes in double quotes
  • lib/yaml-subset.awk refuses nested flow sequences such as 'a: [[1, 2]]'
  • lib/yaml-subset.awk refuses '%' directive lines instead of skipping them
  • lib/yaml-subset.awk refuses a sequence-item map indented past dash column + 2, as mjs does
  • lib/yaml-subset.test.sh covers each awk change and passes

Activity

  1. added
    needs-triage
    on Oct 25, 2026
  2. github-actions commented on Oct 25, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Small
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Understood: this is part 2 of 4 of #8677. It tightens lib/yaml-subset.awk so it rejects the same inputs the mjs grammar rejects. That covers duplicate keys, unknown escapes, nested flow sequences, '%' directives, and over-indented sequence-item maps. Each change gets a test in lib/yaml-subset.test.sh. The done-when list is concrete and checkable. No duplicates found among the open issues.

    Automated triage, applied by the lanes App.

  3. added and removed
    needs-triage
    on Oct 25, 2026
  4. added
    status: ready
    on Oct 25, 2026
  5. added
    admission-deferred
    agent-ready
    and removed
    admission-deferred
    on Oct 29, 2026
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

    agent-readystatus: ready

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions