Skip to content

fix(prof) missing line numbers#3417

Merged
realFlowControl merged 2 commits into
masterfrom
florian/hotfix-line-numbers
Sep 17, 2025
Merged

fix(prof) missing line numbers#3417
realFlowControl merged 2 commits into
masterfrom
florian/hotfix-line-numbers

Conversation

@realFlowControl

@realFlowControl realFlowControl commented Sep 17, 2025

Copy link
Copy Markdown
Member

Description

With #3319 we did add a safe guard for accessing the opline when collecting stack frames. There was an error in the calculation of the end offset and as such most oplines where considered out of bound and most profiles would not have line numbers attached.

This PR fixes the out of bounds upper bound calculation

PROF-12550

Reviewer checklist

  • Test coverage seems ok.
  • Appropriate labels assigned.

@realFlowControl
realFlowControl requested a review from a team as a code owner September 17, 2025 10:47
@github-actions github-actions Bot added profiling Relates to the Continuous Profiler tracing labels Sep 17, 2025
@codecov-commenter

codecov-commenter commented Sep 17, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.85%. Comparing base (3afaeaf) to head (57eeb4f).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3417      +/-   ##
==========================================
- Coverage   61.90%   61.85%   -0.05%     
==========================================
  Files         141      141              
  Lines       12481    12481              
  Branches     1630     1630              
==========================================
- Hits         7726     7720       -6     
- Misses       4034     4041       +7     
+ Partials      721      720       -1     

see 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3afaeaf...57eeb4f. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pr-commenter

pr-commenter Bot commented Sep 17, 2025

Copy link
Copy Markdown

Benchmarks [ profiler ]

Benchmark execution time: 2025-09-17 11:45:01

Comparing candidate commit 57eeb4f in PR branch florian/hotfix-line-numbers with baseline commit 3afaeaf in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 29 metrics, 7 unstable metrics.

@realFlowControl
realFlowControl merged commit e4f6598 into master Sep 17, 2025
1859 of 1873 checks passed
@realFlowControl
realFlowControl deleted the florian/hotfix-line-numbers branch September 17, 2025 14:11
@github-actions github-actions Bot added this to the 1.13.0 milestone Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

profiling Relates to the Continuous Profiler tracing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants