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 @@ -177,7 +177,7 @@ jobs:
--health-retries 10
env:
# The pinned conformance release (ADR-0032). Bump together with tests/conformance/.
BQ_CONFORMANCE_VERSION: 1.10.0
BQ_CONFORMANCE_VERSION: 1.11.0
# sha256 of that release's fetch.sh: the script runs on the runner, so it is pinned rather
# than trusted from a mutable tag. Bump together with BQ_CONFORMANCE_VERSION.
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 @@ -28,7 +28,7 @@ jobs:
--health-retries 10
env:
# The pinned conformance release (ADR-0032). Keep identical to ci.yml.
BQ_CONFORMANCE_VERSION: 1.10.0
BQ_CONFORMANCE_VERSION: 1.11.0
BQ_FETCH_SH_SHA256: 8bb6ba567b288fb0ac71a70fd17041b2503df119e01998d76fdad372570bf849
permissions:
id-token: write # PyPI Trusted Publishing (OIDC) — no API token needed
Expand Down
2 changes: 1 addition & 1 deletion tests/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 tests/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 tests/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
4 changes: 2 additions & 2 deletions tests/conformance/schema/message-envelope.schema.json
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 tests/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