Skip to content

[pull] master from DataDog:master - #461

Merged
pull[bot] merged 11 commits into
ConnectionMaster:masterfrom
DataDog:master
Apr 3, 2026
Merged

[pull] master from DataDog:master#461
pull[bot] merged 11 commits into
ConnectionMaster:masterfrom
DataDog:master

Conversation

@pull

@pull pull Bot commented Apr 2, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

dkirov-dd and others added 8 commits April 2, 2026 09:33
…3130)

* fix(ibm_mq): handle non-UTF-8 description fields without crashing

IBM MQ queue managers may store channel and queue description fields
(MQCACH_DESC, MQCA_Q_DESC) in non-UTF-8 encodings (e.g. Latin-1,
Windows code pages) because they are free-form text entered by
administrators. The previous code called to_string() which
unconditionally decoded bytes as UTF-8, raising UnicodeDecodeError
when the data didn't conform.

Adds decode_mq_description() in utils.py that tries UTF-8 first and
falls back to UTF-8 with errors='replace' on failure, logging a debug
message so the issue is visible without crashing the check.

Fixes: AGENT-15938

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(ibm_mq): rename changelog entry to match PR number

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* Add AST-based expression validation for query extras

* changelog

* lint

* improve log messages and tests

* update changelog

* address agint-review
* [Release] Bumped datadog_checks_base version to 37.34.1

* [Release] Update metadata
* [LOGSC-2385] Add bypass annotations for new linter checks

We’re enabling new linter rules and some integrations are expected to remain non‑compliant.
Add permanent bypass annotations so CI stays green and not fail for new PRs.

* Revert "[LOGSC-2385] Add bypass annotations for new linter checks"

This reverts commit a0a65b9.

* update
@pull pull Bot locked and limited conversation to collaborators Apr 2, 2026
@pull pull Bot added the ⤵️ pull label Apr 2, 2026
piochelepiotr and others added 3 commits April 2, 2026 20:43
* kafka_actions: Add raw message format with base64 encoding for key and value

Support 'raw' as a value_format and key_format for read_messages action.
Raw bytes are returned as base64-encoded strings, enabling consumption of
binary messages that don't conform to JSON, BSON, string, Avro, or Protobuf
formats.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Fix changelog entry PR number

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Fix raw format coercion: wrap base64 in json.dumps to survive _parse_deserialized

Certain byte sequences produce base64 strings like "null", "true", or
"1234" that json.loads would coerce into None, True, or int. Wrapping
in json.dumps ensures _parse_deserialized always returns a string.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ring (#23106)

* [kafka_actions] Base64-encode binary headers and support header filtering

Binary Kafka headers were displayed as unhelpful `<binary, N bytes>` placeholders.
Now they are base64-encoded with a `<base64>` prefix so the actual data is visible.

Header filtering is now supported in both filter systems:
- jq-style: `.headers.dbmOrgId == "2"`
- MessageFilter: `field: "header.dbmOrgId", operator: "eq", value: "2"`

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Remove unnecessary MessageFilter header filtering

MessageFilter is not used anywhere in the codebase. Only the jq-style
filter in check.py is used, so header filtering only needs to be there.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Use lazy dict for filter context to preserve partial deserialization

The filter context was eagerly accessing deserialized_msg.key and
deserialized_msg.value, defeating the lazy deserialization. Now uses
_LazyMessageDict which only triggers deserialization when the filter
actually accesses a field (e.g., filtering on .headers won't
deserialize key/value).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Add changelog entry for header improvements

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@pull
pull Bot merged commit 956cf7e into ConnectionMaster:master Apr 3, 2026
3 of 5 checks passed
@pull
pull Bot had a problem deploying to typo-squatting-release April 3, 2026 05:04 Failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants