Skip to content

add contrib jq conformance suite - #763

Merged
ewhauser merged 1 commit into
mainfrom
ewhauser/contrib-conformance
Mar 28, 2026
Merged

ewhauser merged 1 commit into
mainfrom
ewhauser/contrib-conformance

Conversation

@ewhauser

Copy link
Copy Markdown
Owner

What changed

This adds a package-local contrib conformance path for contrib/jq instead of keeping jq parity coverage under internal/conformance.

The PR:

  • adds a shared-harness-backed jq parity suite under contrib/jq/conformance
  • adds pinned jq oracle resolution via scripts/ensure-jq.sh and GBASH_CONFORMANCE_JQ
  • adds make contrib-conformance-test as the contrib parity entrypoint
  • adds a CI job to run contrib conformance on PRs and main
  • keeps the shared conformance parser wording generic instead of OILS-specific for non-OILS suites

Why it changed

The jq conformance corpus needs to live with the jq contrib module while still using the same oracle-based comparison model as the existing curl suite.

Impact

Developers can now run contrib parity coverage separately from the core shell conformance suite, and CI enforces the contrib conformance path.

Validation

  • make lint
  • go test ./internal/testutil -run TestResolveNixJQ -count=1
  • go test ./contrib/jq -count=1
  • make contrib-conformance-test

@ewhauser ewhauser changed the title [codex] add contrib jq conformance suite add contrib jq conformance suite Mar 28, 2026
@ewhauser
ewhauser marked this pull request as ready for review March 28, 2026 16:27
@ewhauser
ewhauser merged commit fac0099 into main Mar 28, 2026
16 checks passed
@ewhauser
ewhauser deleted the ewhauser/contrib-conformance branch March 28, 2026 16:29
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