Skip to content

Point bootstrapped profiler-cli users at mach bootstrap for new profies that the CLI can't parse - #6443

Open
canova wants to merge 1 commit into
firefox-devtools:mainfrom
canova:mach-bootstrap-cli
Open

canova wants to merge 1 commit into
firefox-devtools:mainfrom
canova:mach-bootstrap-cli

Conversation

@canova

@canova canova commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Main | Deploy preview

When profiler-cli is installed by './mach bootstrap', it comes from Firefox's in-tree toolchain, so npm install -g is the wrong advice for a profile that is too new. Detect the bootstrapped copy by its location in the mozbuild state directory and tell those users to update their Firefox checkout and rerun './mach bootstrap' instead.

…les that the CLI can't parse

When profiler-cli is installed by './mach bootstrap', it comes from
Firefox's in-tree toolchain, so 'npm install -g' is the wrong advice for
a profile that is too new. Detect the bootstrapped copy by its location
in the mozbuild state directory and tell those users to update their
Firefox checkout and rerun './mach bootstrap' instead.
@canova
canova requested review from fatadel and mstange November 9, 2026 12:01
@codecov

codecov Bot commented Nov 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.95%. Comparing base (8f3f9ee) to head (db1f1d3).
⚠️ Report is 24 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6443      +/-   ##
==========================================
+ Coverage   84.81%   84.95%   +0.14%     
==========================================
  Files         358      359       +1     
  Lines       38981    39137     +156     
  Branches    11027    11096      +69     
==========================================
+ Hits        33061    33249     +188     
+ Misses       5483     5451      -32     
  Partials      437      437              

☔ 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