docs(issue-template): ask for package manager and version#4867
Merged
Conversation
Package manager and install mode — especially Yarn Plug'n'Play vs a node_modules linker — frequently determine module-resolution behavior, but the bug template only collected commitlint/git/node versions. Add a required free-text field so reporters state their package manager and version (and, ideally, the install mode). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
PR Summary by QodoAdd package manager field to bug report issue template
AI Description
High-Level Assessment
Files changed (1)
|
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (1): Last reviewed commit: "docs(issue-template): ask for package ma..." | Re-trigger Greptile |
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.
What
Adds a required Package manager & version field to the bug report issue form.
Why
Module resolution behaves very differently depending on the package manager and install mode — most notably Yarn Plug'n'Play, which has no
node_modules. The template already collectscommitlint,git, andnodeversions but never asks which package manager / install mode is in use, so it has to be dragged out of reporters after the fact.This surfaced in #4864: the real root cause (pure-ESM preset resolution failing under Yarn PnP — same class as #2637 / #3936) only became clear once a reporter mentioned they were on Yarn 4 PnP.
A free-text input (rather than a dropdown) keeps it simple and future-proof as new tools appear; the field description nudges reporters to include the install mode.
🤖 Generated with Claude Code