Skip to content

Add global --permalink and --short-permalink flags to profiler-cli - #6338

Open
canova wants to merge 1 commit into
firefox-devtools:mainfrom
canova:permalink-arg
Open

canova wants to merge 1 commit into
firefox-devtools:mainfrom
canova:permalink-arg

Conversation

@canova

@canova canova commented Sep 21, 2026

Copy link
Copy Markdown
Member

Main | Deploy preview

Any command can now also print a profiler.firefox.com URL for the view it showed. The daemon maps the command to a small set of ephemeral view settings (thread, tab, search, idle, strategy, filters, marker selection), and the querier applies them through the same Redux wrappers the queries use, snapshots the URL state, and reverts, so nothing leaks into the session. Marker queries open the marker chart, or the marker table with --list. --short-permalink shortens through share.firefox.dev.

Part of #6185.

Any command can now also print a profiler.firefox.com URL for the view
it showed. The daemon maps the command to a small set of ephemeral view
settings (thread, tab, search, idle, strategy, filters, marker
selection), and the querier applies them through the same Redux wrappers
the queries use, snapshots the URL state, and reverts, so nothing leaks
into the session. Marker queries open the marker chart, or the marker
table with --list. --short-permalink shortens through share.firefox.dev.

Part of firefox-devtools#6185.
@canova
canova requested a review from mstange September 21, 2026 12:49
@codecov

codecov Bot commented Sep 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.71429% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.17%. Comparing base (a8970fd) to head (18a27ff).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/profile-query/index.ts 85.71% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6338      +/-   ##
==========================================
+ Coverage   84.03%   84.17%   +0.13%     
==========================================
  Files         354      354              
  Lines       38100    38187      +87     
  Branches    10662    10786     +124     
==========================================
+ Hits        32018    32143     +125     
+ Misses       5654     5616      -38     
  Partials      428      428              

☔ View full report in Codecov by Harness.
📢 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.

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.

1 participant