Skip to content

fix: Fix capability guarding custom event redaction - #386

Merged
keelerm84 merged 1 commit into
v2from
mk/sdk-2730/fix-custom-anon-redaction
Jul 20, 2026
Merged

keelerm84 merged 1 commit into
v2from
mk/sdk-2730/fix-custom-anon-redaction

Conversation

@keelerm84

@keelerm84 keelerm84 commented Jul 20, 2026 •

Copy link
Copy Markdown
Member

Note

Low Risk
Test-only change to a capability guard; no production SDK behavior is modified.

Overview
The custom-event anonymous redaction harness tests were gated on CapabilityOmitAnonymousContexts, which describes omitting anonymous contexts from identify events—not redacting attributes in inlined context on custom events.

The guard now uses CapabilityAnonymousRedaction (still combined with CapabilityInlineContextAll), matching how feature-event redaction tests are gated elsewhere in the harness.

Reviewed by Cursor Bugbot for commit 1af87dc. Bugbot is set up for automated code reviews on this repo. Configure here.

@keelerm84
keelerm84 requested a review from a team as a code owner July 20, 2026 19:24
@keelerm84
keelerm84 merged commit 357898f into v2 Jul 20, 2026
8 checks passed
@keelerm84
keelerm84 deleted the mk/sdk-2730/fix-custom-anon-redaction branch July 20, 2026 19:26
tanderson-ld pushed a commit that referenced this pull request Jul 20, 2026
🤖 I have created a release *beep* *boop*
---


##
[2.38.0](v2.37.0...v2.38.0)
(2026-07-20)


### Features

* Add contract tests for client-side secure mode hash (h query param)
([#358](#358))
([16ed598](16ed598))
* Add migration op event context redaction tests
([#383](#383))
([daa7ad4](daa7ad4))
* Contract tests for client-side prerequisite cycle detection
([#384](#384))
([3605eb7](3605eb7))


### Bug Fixes

* Fix capability guarding custom event redaction
([#386](#386))
([357898f](357898f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Mechanical version and changelog update with no runtime or test logic
changes in the diff.
> 
> **Overview**
> **Release 2.38.0** bumps the harness version from **2.37.0** to
**2.38.0** in `main.go` and `.release-please-manifest.json`, and adds a
**2.38.0** section to `CHANGELOG.md`.
> 
> The changelog for this release (from already-merged work) covers new
contract tests for client-side secure mode hash (`h` query param),
migration op event context redaction, and client-side prerequisite cycle
detection, plus a fix for capability guarding on custom event redaction
tests. This PR does not change test or framework code—only release
metadata.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
9ab60fd. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants