Workflow for issue-based debugging in V8. Triggered when a specific issue or crash repro is provided.
Use this skill when tasked with debugging a specific issue, usually associated with a Buganizer ID or a specific reproduction script. This specializes the general debugging approach for tracked issues.
ask_question or direct message to user) to gather missing information:
d8 flags or command-line arguments.scratch/regress-<issue_id>.js) to avoid modifying the user's environment directly.d8 and prepare GDB/rr in the worktree.d8 flags. Run tests on both debug and release builds if possible to ensure no assertions are violated and performance is not regressed.Before committing or uploading, you MUST present the proposed solution to the user for review.
Once the fix is approved by the user:
Issue Association in Commits:
Bug: v8:<issue_id> line at the bottom.[compiler] Fix crash in Turboshaft during loop unrolling
The loop unroller failed to handle cases where...
Bug: v8:12345
Test Naming and Placement:
regress-<issue_id>.js.regress-short-description.js.test/mjsunit/regress/test/mjsunit/compiler/regress-12345.js.// Copyright 2026 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax --any-other-flags
// Bug: v8:12345
Finalization and Upload:
git cl format to ensure style compliance.git cl upload to upload the change list (CL) to Gerrit.