Skip to content

chore(audience): SDK-317 PR #768 review follow-up#769

Merged
ImmutableJeffrey merged 3 commits into
mainfrom
chore/sdk-317-pr-768-comments
May 11, 2026
Merged

chore(audience): SDK-317 PR #768 review follow-up#769
ImmutableJeffrey merged 3 commits into
mainfrom
chore/sdk-317-pr-768-comments

Conversation

@ImmutableJeffrey
Copy link
Copy Markdown
Collaborator

Summary

  • Adds a TearDown to SampleAppLiveFireTests so the LogAssert filter and the cert validator SetUp mutates do not leak into other test fixtures sharing the same process.
  • Flushes after AudienceCiTestMarker_EmitsRunMetadata's Track call so the marker actually leaves the player; the previous yield-null left it on the queue and the next test's SetUp wiped it.
  • Moves the Unity license activation log from /github/workspace/artifacts/activation.log to /tmp/audience-unity-activation.log so it stays out of the artifact upload (the workflow ships everything under artifacts/**).

Reviewer threads addressed on #768

  • nattb8 inline (LiveFire SetUp line 29): TearDown reset.
  • nattb8 inline (CI marker test line 137): added flush; kept the test name since the test now does what the name claims.
  • cursor[bot] inline (playmode-linux-container.sh line 20, MEDIUM): activation log moved off the artifact path.

Linear: SDK-317

@ImmutableJeffrey ImmutableJeffrey requested review from a team as code owners May 10, 2026 23:48
ImmutableJeffrey and others added 3 commits May 11, 2026 09:53
… (SDK-317)

- Adds a TearDown to SampleAppLiveFireTests that resets the two process-globals SetUp mutates.
- LogAssert.ignoreFailingMessages goes back to false so a later non-LiveFire fixture in the
  same test session does not inherit the permissive filter.
- ServicePointManager.ServerCertificateValidationCallback goes back to null so the permissive
  cert validator does not leak to other code that runs in this process.

Linear: SDK-317

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ually ships (SDK-317)

- AudienceCiTestMarker_EmitsRunMetadata calls Track but never flushes; the marker sits on
  the queue and the next test's SetUp deletes the persisted directory before it ever leaves
  the player.
- Replaces the trailing yield-null with FlushAndAssertNoErrors so the marker is sent to the
  backend and any error rows fail the test.
- Test now does what its name claims (emits the marker), not just "did not throw".

Linear: SDK-317

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…I artifacts (SDK-317)

- The Linux PlayMode container script teed Unity license activation output to
  /github/workspace/artifacts/activation.log, and the workflow uploads everything under
  that directory as a downloadable artifact.
- Unity's activation log can include sensitive account or entitlement details, so anyone
  with read access to the workflow run could pull them out of the artifact zip.
- Moves ACTIVATION_LOG to /tmp/audience-unity-activation.log. The two grep checks that gate
  success / failure still read the same file, just from /tmp, and the file never reaches
  the artifact upload.

Linear: SDK-317

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ImmutableJeffrey ImmutableJeffrey force-pushed the chore/sdk-317-pr-768-comments branch from 95c8c0d to 5938e50 Compare May 10, 2026 23:54
@ImmutableJeffrey ImmutableJeffrey merged commit d4998a8 into main May 11, 2026
37 checks passed
@ImmutableJeffrey ImmutableJeffrey deleted the chore/sdk-317-pr-768-comments branch May 11, 2026 00:22
@github-actions github-actions Bot added the chore label May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants