Skip to content

fix(tests): read DLQ entries through scalo - #324

Merged
catinspace-au merged 1 commit into
mainfrom
fix/grpc-outage-tests
Nov 10, 2026
Merged

catinspace-au merged 1 commit into
mainfrom
fix/grpc-outage-tests

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

The release run on main failed three full-tier grpc_outage tests.

scalo 2.14.28 (#323) writes a dead letter with the original under _json, or _raw with an optional _raw_encoding. There is no base64 payload key any more. The readers in dead_letter_reasons and json_depth still decoded payload. Every file DLQ read came back empty.

  • a_table_changed_under_the_cached_schema_is_caught_and_nothing_is_acked_early counts an accepted id as early when it is in neither ClickHouse nor the DLQ. Ids 30-32 were dead-lettered (messages_dlq=3) but the reader missed them.
  • The two other failures wait on the DLQ for a refused or rejected id and time out.

The helpers parse each line as scalo::dlq::DlqEntry. This restores the original from either field. The hand-written base64 decoder is gone. No loader code changes.

Full tier on desktop-derek, --run-ignored all --ignore-default-filter, filtered to the five DLQ-reading modules:

  • cd4337b (scalo 2.14.27): 29/29 passed
  • main 0103018 (scalo 2.14.28): 10/29 failed. CI's fail-fast stopped after 3 failures. The other 7 were json_depth, header_keys, three kafka_offset_floor and two more grpc_outage tests.
  • this branch: 29/29 passed. Whole full tier: 1801/1801 passed.

scalo 2.14.28 writes a dead letter as a DFE event, with the original under `_json` or under `_raw` with an optional `_raw_encoding`. It no longer writes a base64 `payload` key. The integration helpers read `payload` and found no entry. Every full-tier test that checks the file DLQ failed.

- The helpers parse each line as `scalo::dlq::DlqEntry`, which restores the original bytes from either field.
- The hand-written base64 decoder is gone because scalo's parser decodes `_raw_encoding: base64`.
@catinspace-au
catinspace-au merged commit 4ae0136 into main Nov 10, 2026
24 checks passed
@catinspace-au
catinspace-au deleted the fix/grpc-outage-tests branch November 10, 2026 10:04
@github-actions

Copy link
Copy Markdown

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