Skip to content

Make the source table non-optional in the gecko profile format #5842

Open
canova wants to merge 2 commits intofirefox-devtools:mainfrom
canova:nonoptional-sources
Open

Make the source table non-optional in the gecko profile format #5842
canova wants to merge 2 commits intofirefox-devtools:mainfrom
canova:nonoptional-sources

Conversation

@canova
Copy link
Member

@canova canova commented Feb 16, 2026

Backend changes for this PR: Bug 2016666

This will allow us to add more fields to the source table, like sourceMapURL which will allow us to resolve source maps.

Can't really provide a before and after deploy previews since this requires loading gecko profiles from scratch. Here two profiles with version 32 to test this upgrading:

Version 32 with no source table
Version 32 with source table

You can drag and drop it inside https://deploy-preview-5842--perf-html.netlify.app/

This patch changes the gecko profiler format to always include source
table. The backend patch also increases the gecko profile format
version.

Backend bug: https://bugzilla.mozilla.org/show_bug.cgi?id=2016666
This PR has to be deployed before we can land the backend.
@codecov
Copy link

codecov bot commented Feb 16, 2026

Codecov Report

❌ Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 85.56%. Comparing base (c0b82be) to head (967b25f).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/profile-logic/process-profile.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5842   +/-   ##
=======================================
  Coverage   85.56%   85.56%           
=======================================
  Files         319      319           
  Lines       31411    31420    +9     
  Branches     8670     8575   -95     
=======================================
+ Hits        26876    26885    +9     
  Misses       4104     4104           
  Partials      431      431           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

@canova canova marked this pull request as ready for review February 16, 2026 12:59
@canova canova requested review from fatadel and mstange February 16, 2026 12:59
Copy link
Contributor

@mstange mstange left a comment

Choose a reason for hiding this comment

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

Looks good!

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