Skip to content

RUM-15190: Extend app launch profiling duration for continuous merge#3277

Merged
ambushwork merged 1 commit into
feature/continuous-profilingfrom
yl/profiling/RUM-15190-extend-launch-duration
Mar 25, 2026
Merged

RUM-15190: Extend app launch profiling duration for continuous merge#3277
ambushwork merged 1 commit into
feature/continuous-profilingfrom
yl/profiling/RUM-15190-extend-launch-duration

Conversation

@ambushwork

@ambushwork ambushwork commented Mar 20, 2026

Copy link
Copy Markdown
Member

What does this PR do?

This PR changes the max duration of app launch profiling request from 10s -> (ttid, 1 min] in order to be able to extend as the continuous profiling, at the same time a timer of 10s is introduced to prevent the application launch profiling to go beyond 10 seconds if continuous profiling is not sampled in.

Motivation

RUM-15190

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 force-pushed the yl/profiling/RUM-15190-extend-launch-duration branch 2 times, most recently from 852ee36 to 0c9ffdc Compare March 20, 2026 16:24
@ambushwork
ambushwork marked this pull request as ready for review March 20, 2026 16:50
@ambushwork
ambushwork requested review from a team as code owners March 20, 2026 16:50
@ambushwork

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0c9ffdc8fc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ambushwork
ambushwork force-pushed the yl/profiling/RUM-15190-extend-launch-duration branch 2 times, most recently from b723e07 to ca99587 Compare March 23, 2026 10:46
@datadog-prod-us1-4

This comment has been minimized.

@codecov-commenter

codecov-commenter commented Mar 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.51%. Comparing base (bf8221b) to head (ed10d4b).

Files with missing lines Patch % Lines
...id/profiling/internal/perfetto/PerfettoProfiler.kt 82.61% 1 Missing and 3 partials ⚠️
Additional details and impacted files
@@                      Coverage Diff                      @@
##           feature/continuous-profiling    #3277   +/-   ##
=============================================================
  Coverage                         71.50%   71.51%           
=============================================================
  Files                               943      943           
  Lines                             34844    34862   +18     
  Branches                           5903     5909    +6     
=============================================================
+ Hits                              24915    24929   +14     
- Misses                             8269     8272    +3     
- Partials                           1660     1661    +1     
Files with missing lines Coverage Δ
...in/java/com/datadog/android/profiling/Profiling.kt 81.82% <100.00%> (ø)
...dog/android/profiling/internal/ProfilingFeature.kt 66.67% <100.00%> (+0.63%) ⬆️
...id/profiling/internal/perfetto/PerfettoProfiler.kt 91.79% <82.61%> (-2.23%) ⬇️

... and 38 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 force-pushed the yl/profiling/RUM-15190-extend-launch-duration branch 2 times, most recently from 5c22cd3 to 8755c5d Compare March 24, 2026 11:42
@ambushwork
ambushwork requested a review from 0xnm March 24, 2026 13:18
@ambushwork
ambushwork force-pushed the yl/profiling/RUM-15190-extend-launch-duration branch from 8755c5d to 5adc26d Compare March 25, 2026 08:41
@ambushwork
ambushwork requested a review from 0xnm March 25, 2026 08:47
0xnm
0xnm previously approved these changes Mar 25, 2026
@ambushwork
ambushwork force-pushed the yl/profiling/RUM-15190-extend-launch-duration branch from 5adc26d to ed10d4b Compare March 25, 2026 12:35
@ambushwork
ambushwork merged commit 8cbed9b into feature/continuous-profiling Mar 25, 2026
26 checks passed
@ambushwork
ambushwork deleted the yl/profiling/RUM-15190-extend-launch-duration branch March 25, 2026 13:38
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