Skip to content

feat: implement jq setpath, leaf_paths, and fix match/scan behavior #328

@chaliy

Description

@chaliy

Summary

5 jq spec tests are skipped due to limitations in the embedded jaq library.

Skipped tests

Feature Count Notes
Alternative `//` 1 jaq errors on `.foo` applied to null instead of returning null
`setpath` 1 Not available in jaq standard library
`leaf_paths` 1 Not available in jaq standard library
`match` 1 jaq omits capture `name` field
`scan` 1 jaq needs explicit `"g"` flag for global match

Options

  1. Implement missing functions as custom jaq extensions in bashkit
  2. Contribute upstream to jaq
  3. Accept as known limitations

Acceptance criteria

  • Evaluate feasibility of each fix
  • Implement where possible
  • Unskip tests or document as permanent limitations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions