Skip to content

heap-snapshot-analysis skill improvements#311283

Merged
roblourens merged 2 commits intomainfrom
roblou/anonymous-fowl
Apr 20, 2026
Merged

heap-snapshot-analysis skill improvements#311283
roblourens merged 2 commits intomainfrom
roblou/anonymous-fowl

Conversation

@roblourens
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 20, 2026 00:39
@roblourens roblourens enabled auto-merge (squash) April 20, 2026 00:39
@roblourens roblourens self-assigned this Apr 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 20, 2026

Screenshot Changes

Base: a2ce40b8 Current: 95dce28e

Changed (4)

chat/aiCustomizations/aiCustomizationManagementEditor/McpBrowseMode/Dark
Before After
before after
editor/inlineCompletions/other/JumpToHint/Dark
Before After
before after
agentSessionsViewer/WithDiffChanges/Dark
Before After
before after
agentSessionsViewer/WithDiffChanges/Light
Before After
before after

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds streaming-based utilities and updated guidance for analyzing very large (>2 GiB) V8 heap snapshots in the heap-snapshot-analysis skill, avoiding full-file buffering approaches that can exceed Node’s Buffer limits.

Changes:

  • Introduces streamSnapshot.mjs with byte-scanning and numeric-array streaming helpers for heap snapshot sections.
  • Updates SKILL.md with guidance and example workflow for >2 GiB snapshots, including offset scanning and streaming tuple parsing.
  • Expands investigation guidance with an additional “false retainer” category related to DevTools debugger handles.
Show a summary per file
File Description
.github/skills/heap-snapshot-analysis/helpers/streamSnapshot.mjs New streaming primitives for locating sections and incrementally parsing numeric arrays (plus meta/strings helpers).
.github/skills/heap-snapshot-analysis/SKILL.md Documentation updates describing when/why to use streaming scripts and how to structure large-snapshot workflows.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 3

Comment thread .github/skills/heap-snapshot-analysis/helpers/streamSnapshot.mjs Outdated
Comment thread .github/skills/heap-snapshot-analysis/helpers/streamSnapshot.mjs Outdated
Comment thread .github/skills/heap-snapshot-analysis/helpers/streamSnapshot.mjs Outdated
Address review feedback by honoring short reads, documenting tuple reuse with an opt-in copy mode, and guarding eager string parsing for large snapshots.

(Written by Copilot)
@roblourens roblourens merged commit df49d48 into main Apr 20, 2026
26 checks passed
@roblourens roblourens deleted the roblou/anonymous-fowl branch April 20, 2026 01:12
@vs-code-engineering vs-code-engineering Bot added this to the 1.117.0 milestone Apr 20, 2026
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.

3 participants