Skip to content

Fix null build id in profile event tags#3059

Merged
ambushwork merged 1 commit into
feature/perfetto-profilingfrom
yl/profiling/fix-null-build-id
Dec 17, 2025
Merged

Fix null build id in profile event tags#3059
ambushwork merged 1 commit into
feature/perfetto-profilingfrom
yl/profiling/fix-null-build-id

Conversation

@ambushwork

Copy link
Copy Markdown
Member

What does this PR do?

Fix the issue that we still add build id in the tag when the build id is null, (finally it showed like build_id:null in the frontend)

Unit test already covers it with a nullable forgery string.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@ambushwork
ambushwork requested a review from a team as a code owner December 17, 2025 10:06
@datadog-official

datadog-official Bot commented Dec 17, 2025

Copy link
Copy Markdown

🎯 Code Coverage
Patch Coverage: 100.00%
Overall Coverage: 71.63% (+0.00%)

View detailed report

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 4689800 | Docs | Datadog PR Page | Was this helpful? Give us feedback!

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 71.41%. Comparing base (0e43b45) to head (4689800).

Files with missing lines Patch % Lines
.../android/profiling/internal/ProfilingDataWriter.kt 66.67% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@                      Coverage Diff                       @@
##           feature/perfetto-profiling    #3059      +/-   ##
==============================================================
+ Coverage                       71.39%   71.41%   +0.03%     
==============================================================
  Files                             881      881              
  Lines                           32288    32289       +1     
  Branches                         5420     5421       +1     
==============================================================
+ Hits                            23049    23058       +9     
+ Misses                           7701     7692       -9     
- Partials                         1538     1539       +1     
Files with missing lines Coverage Δ
.../android/profiling/internal/ProfilingDataWriter.kt 89.47% <66.67%> (-5.17%) ⬇️

... and 39 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ambushwork
ambushwork merged commit 0f31429 into feature/perfetto-profiling Dec 17, 2025
26 of 28 checks passed
@ambushwork
ambushwork deleted the yl/profiling/fix-null-build-id branch December 17, 2025 12:25
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.

3 participants