Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

env:
# The conformance suite release this repo is vendored from and must report against.
BQ_CONFORMANCE_VERSION: "1.10.0"
BQ_CONFORMANCE_VERSION: "1.11.0"
# Integrity pin for fetch.sh (sha256 of conformance/fetch.sh at the pinned tag).
BQ_FETCH_SH_SHA256: 8bb6ba567b288fb0ac71a70fd17041b2503df119e01998d76fdad372570bf849

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: write

env:
BQ_CONFORMANCE_VERSION: "1.10.0"
BQ_CONFORMANCE_VERSION: "1.11.0"

jobs:
# Secret-free: runs the tests, produces results.json and validates it. The PyPI package it
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/conformance/CONFORMANCE_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.10.0
1.11.0
15 changes: 15 additions & 0 deletions src/test/resources/conformance/fixtures/malformed-lang.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"job": "urn:babel:orders:created",
"trace_id": "7b3f9c2a-e41d-4f88-9b2a-1c0d5e6f7a8b",
"data": {
"order_id": 1042
},
"meta": {
"id": "f1e2d3c4-b5a6-4789-90ab-cdef01234567",
"queue": "orders",
"lang": "Rust 1",
"schema_version": 1,
"created_at": 1749132727000
},
"attempts": 0
}
15 changes: 12 additions & 3 deletions src/test/resources/conformance/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"schema_version": 1,
"conformance_version": "1.10.0",
"conformance_version": "1.11.0",
"sections": {
"cases": {
"scope": "core"
Expand Down Expand Up @@ -626,13 +626,22 @@
{
"name": "unknown-lang",
"file": "fixtures/unknown-lang.json",
"description": "A meta.lang outside the known language list (a future/community SDK) is decoded without error and re-emitted unchanged — a consumer MUST NOT reject or rewrite it.",
"producer_schema_valid": false,
"description": "A meta.lang outside the built-in language list (a future/community SDK) is decoded without error and re-emitted unchanged — a consumer MUST NOT reject or rewrite it. Since 1.11.0 (ADR-0040) the tag 'cobol' matches the open pattern ^[a-z][a-z0-9-]*$, so this fixture passes the producer JSON Schema.",
"expect_attempts": 1,
"expect_preserved": {
"/meta/lang": "cobol"
}
},
{
"name": "malformed-lang",
"file": "fixtures/malformed-lang.json",
"description": "A meta.lang that does not match the open tag pattern ^[a-z][a-z0-9-]*$ (upper case and a space) is a producer-side violation, but a consumer is tolerant (ADR-0040): it is decoded without error and re-emitted unchanged — a consumer MUST NOT reject or rewrite it.",
"producer_schema_valid": false,
"expect_attempts": 1,
"expect_preserved": {
"/meta/lang": "Rust 1"
}
},
{
"name": "empty-data-roundtrip",
"file": "fixtures/empty-data-roundtrip.json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"lang": {
"type": "string",
"enum": ["php", "go", "python", "java", "dotnet", "node"],
"pattern": "^[a-z][a-z0-9-]*$",
"description": "Producer language tag."
},
"schema_version": {
Expand Down Expand Up @@ -101,7 +101,7 @@
},
"lang": {
"type": "string",
"enum": ["php", "go", "python", "java", "dotnet", "node"],
"pattern": "^[a-z][a-z0-9-]*$",
"description": "Language of the SDK that dead-lettered the message."
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/conformance/schema/results.example.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk": "example-sdk/redis",
"version": "1.9.0",
"conformance_version": "1.10.0",
"conformance_version": "1.11.0",
"generated_at": "2026-10-18T09:30:00Z",
"bindings": [
"redis",
Expand Down