Skip to content

test(replay): gate flattened-content mask tests on the SessionReplay trait - #968

Merged
turnipdabeets merged 1 commit into
chore/v4-remove-deprecatedfrom
fix/v4-flattened-test-trait-gate
Oct 27, 2026
Merged

turnipdabeets merged 1 commit into
chore/v4-remove-deprecatedfrom
fix/v4-flattened-test-trait-gate

Conversation

@turnipdabeets

Copy link
Copy Markdown
Contributor

💡 Motivation and Context

Build SDK (spm-no-traits) fails on #873. PostHogMaskFlattenedContentTest uses replay-only test helpers (host, phMaskTestWindowSize, collectMaskableRects), but unlike the other mask suites it wasn't gated on the SessionReplay trait. This adds && (!SWIFT_PACKAGE || SessionReplay) to its #if.

Addresses the review comment on #873.

💚 How did you test it?

make buildTestsSpmTraitsIOS now builds; on #873's head it failed with the errors from CI.

📝 Checklist

  • All commits are signed (see Commit signing)
  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

Claude Code found the failing gate while triaging the open bot threads on #873. It's a test-only change, so there's no changeset.

🤖 Generated with Claude Code

…lay trait

The suite uses replay-only test helpers, so the no-traits iOS test build failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@turnipdabeets
turnipdabeets requested a review from a team as a code owner October 27, 2026 15:52
@turnipdabeets turnipdabeets self-assigned this Oct 27, 2026
@turnipdabeets
turnipdabeets merged commit e512d24 into chore/v4-remove-deprecated Oct 27, 2026
46 of 47 checks passed
@turnipdabeets
turnipdabeets deleted the fix/v4-flattened-test-trait-gate branch October 27, 2026 15:53
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