Skip to content

chore: set DO_NOT_TRACK=1 globally in test suite#110

Merged
saurabhjain1592 merged 1 commit intomainfrom
chore/test-do-not-track
Mar 10, 2026
Merged

chore: set DO_NOT_TRACK=1 globally in test suite#110
saurabhjain1592 merged 1 commit intomainfrom
chore/test-do-not-track

Conversation

@saurabhjain1592
Copy link
Member

Summary

  • Add DO_NOT_TRACK=1 environment variable to Maven Surefire plugin configuration
  • Prevents telemetry pings during local mvn test runs by any developer
  • Telemetry-specific tests use method parameters (not env vars) and are unaffected
  • Only affects test execution, zero production code changes

Context

Local development was generating ~670 Java SDK telemetry records per session, polluting both DynamoDB and Scarf. CI workflows already set DO_NOT_TRACK=1, but local test runs did not.

Test plan

  • All 1,019 tests pass locally (mvn test -B)
  • Telemetry tests still pass (they use constructor parameters, not env var)

Add DO_NOT_TRACK environment variable to Surefire plugin config,
preventing telemetry pings to the checkpoint endpoint during
local development and CI test runs.
@saurabhjain1592 saurabhjain1592 merged commit 89c9aab into main Mar 10, 2026
9 checks passed
@saurabhjain1592 saurabhjain1592 deleted the chore/test-do-not-track branch March 10, 2026 19:09
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