Skip to content

Replace source hash with Telemetry UUID#2098

Merged
xavdid merged 13 commits into
masterfrom
RUN_DEVSDK-2563
Jul 16, 2026
Merged

Replace source hash with Telemetry UUID#2098
xavdid merged 13 commits into
masterfrom
RUN_DEVSDK-2563

Conversation

@xavdid

@xavdid xavdid commented Jul 10, 2026

Copy link
Copy Markdown
Member

Why?

Recently, we introduced the source hash in the user-agent header to help our support team track down exactly where incoming requests originated from.

They've reported back to us that this hasn't been as useful as we wanted, so we're going a different direction.

Instead, we're adopting an industry-standard method of persisting a small UUID on disk that we include with subsequent requests. It's easy for users to read this file and it contains no PII. It also honors our existing telemetry opt outs.

It's meant to be lightweight and failure tolerant.

What?

  • remove source key from user-agent header
  • add telemetry_id to the user-agent header
  • adjust tests accordingly

See Also

@xavdid xavdid marked this pull request as ready for review July 14, 2026 01:03
@xavdid xavdid requested a review from a team as a code owner July 14, 2026 01:03
@xavdid xavdid requested review from justiny-stripe and removed request for a team July 14, 2026 01:03
@xavdid xavdid enabled auto-merge (squash) July 14, 2026 01:03
Comment thread lib/TelemetryId.php Outdated
@xavdid xavdid disabled auto-merge July 15, 2026 19:05
@xavdid xavdid enabled auto-merge (squash) July 15, 2026 20:42
@xavdid xavdid disabled auto-merge July 15, 2026 23:56
@xavdid xavdid merged commit cec86a7 into master Jul 16, 2026
26 checks passed
@xavdid xavdid deleted the RUN_DEVSDK-2563 branch July 16, 2026 00:21
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