json 3.x breaking pact-ruby v1
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 82/100
Research direction
Read lib/pact/provider/pact_source.rb at the referenced call and check the JSON 3.x API behavior. Replace the failing JSON.load usage with the JSON.parse call shown in the issue, then run the relevant pact-provider-verifier CI or tests to confirm the error is resolved. Done when pact-ruby v1 works with json 3.x and can be released as a patch.
Written by the indexing model from the issue text.
Description
pact 1.67.5 (branch v1) lib/pact/provider/pact_source.rb:21 calls JSON.load(pact_json, nil, { max_nesting: 50 }), which raises ArgumentError under json 3.0;
This has broken pact-provider-verifier master CI since 2026-09-22
Requires a patch release for v1
use JSON.parse(pact_json, max_nesting: 50) instead
- Dominant language
- Ruby
- Stars
- 2.2k
- Forks
- 220
- Avg merge
- 5h 22m
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pact-foundation/pact-ruby
-
Difficulty 4/5 3-5 days Newbie friendliness 49/100
pact-foundation/pact-ruby#437 ·
-
Dependency DashboardOpen
Difficulty 1/5 Under an hour Newbie friendliness 10/100
pact-foundation/pact-ruby#336 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
pact-foundation/pact-ruby#321 ·
All issues in pact-foundation/pact-ruby
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
riscv/riscv-unified-db#2841 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
OpenAPITools/openapi-generator#25768 ·
Maintainers usually reply within 1 day
-
bug documentation priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
davidteren/mutineer#513 ·
Maintainers usually reply within 2 days
-
API: per_page is bitwise-OR'd with 10, so page sizes are wrongPossibly taken @kzroo claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
TarteelAI/quranic-universal-library#1088 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
olivierlacan/trebuche#8 ·