Repository navigation
Deploy December 1, 2026 - #6504
Merged
Merged
Conversation
Previously, zooming with the keyboard always zoomed around the middle of the chart. Now it zooms around the mouse if the mouse is over the chart's inner box, the same as mouse wheel zooming. The viewport tracks the mouse position itself, so this doesn't cause any extra re-renders.
…nds. Argument validation printed an error and called process.exit(1) in about 30 places. These now throw, and the existing handler in main() prints "Error: <message>" and exits with status 1, so the output stays the same. This makes the commands usable from a long-running process, such as an interactive prompt, where a typo must not end the process. An unknown command now prints a one-line error that points to --help, instead of the error followed by the full help text.
…cess.argv. wasExplicit() decides whether to print the "Other subcommands" hint. It searched process.argv for the parent and subcommand names. It now checks the operands that commander recorded on the parent command, which reflect the arguments that were actually parsed, wherever they came from.
This prepares for an interactive prompt, which needs a fresh program for every line it runs. No behavior change.
"profiler-cli -i [<command>]" runs <command>, if given, and then shows a "> " prompt. Each line is a profiler-cli command without the "profiler-cli" prefix, parsed by a fresh commander program. Errors are printed and the prompt continues. "exit", "quit" or Ctrl-D leave it. The prompt pins the session it loaded, so a "load" in another terminal does not redirect it. "load" and "session use" at the prompt change the pinned session. When the prompt exits, it stops the sessions it loaded, because daemons have no idle timeout and would otherwise keep a profile in memory indefinitely. Sessions that were already running are left alone. The separate-commands mode is unchanged and remains the interface for scripts and AI tools.
Existing flow markers connect related work, but don't always have a strict causal relationship. If we want to build critical path analysis into the profiler, we need something like flow markers but that represent causal relationships. This PR adds new marker types to hold that data. This just adds the new types without using them, so that new profiles holding these types can be handled. Subsequent PRs will add the actual critical path implementation.
Local files that aren't Rust, C++ or JavaScript/TypeScript now look up their language by file name in @codemirror/language-data, which loads each language on demand into its own chunk. Paths with a URL scheme keep the JavaScript fallback, since inline scripts use the page URL as their path and script URLs often end in a query string.
Co-authored-by: Ian Neal (en-GB) <[email protected]>
Co-authored-by: Francesco Lodolo [:flod] (it) <[email protected]>
Co-authored-by: Jim Spentzos (el) <[email protected]>
Co-authored-by: Michael Köhler (de) <[email protected]>
The hint about using commas in a panel's search field was clipped by the settings bar, which hides its vertical overflow to be scrollable, so it never appeared. It also described only one part of the search syntax.
Co-authored-by: Pin-guang Chen (zh-TW) <[email protected]>
Co-authored-by: Melo46 (ia) <[email protected]>
Co-authored-by: Andreas Pettersson (sv-SE) <[email protected]>
Co-authored-by: Valery Ledovskoy (ru) <[email protected]> Co-authored-by: berry (ru) <[email protected]>
Co-authored-by: Grk (tr) <[email protected]>
Co-authored-by: Selim Şumlu (tr) <[email protected]>
memoize-one 7 ships as an ES module only, so Jest can't require() it unless Babel transforms it.
Co-authored-by: Mark Heijl (nl) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes:
[canova] Add localization guidelines to AGENTS.md (#6487)
[staktrace] Add markers to represent causal flows (#6488)
[zuhairkhalid229] Highlight more languages in the source view (#6475)
[kayaal34] Fix typos in developer docs (#6479)
[fatadel] Remove the search field hint (#6490)
[mstange] Add an interactive mode for profiler-cli (#6400)
[mstange] Make keyboard zooming in chart viewports center on the mouse position. (#6471)
[fatadel] Bump profiler-cli version to 0.16.0 (#6502)
And special thanks to our localizers:
de: Michael Köhler
el: Jim Spentzos
en-GB: Ian Neal
ia: Melo46
it: Francesco Lodolo
nl: Mark Heijl
ru: berry, Valery Ledovskoy
sv-SE: Andreas Pettersson
tr: Grk, Selim Şumlu
zh-TW: Pin-guang Chen