issue-triage

작성자: denoland

Deno GitHub 이슈를 트라이지합니다 — 버그 재현, 분류, 라벨링, 결과를 댓글로 작성. 이슈 트라이지를 요청받거나 이슈 번호/URL이 주어졌을 때 사용합니다.

npx skills add https://github.com/denoland/deno --skill issue-triage

Deno Issue Triage

Triage issue $ARGUMENTS on the denoland/deno repository.

Step 1: Read the issue

gh issue view $ARGUMENTS --repo denoland/deno --json number,title,body,author,labels,state,comments,createdAt,url

Step 2: Classify the issue

Determine what kind of issue this is:

  • Bug report — something isn't working as expected
  • Feature request / suggestion — a new capability or enhancement
  • Question — a usage question, not a bug
  • Duplicate — already reported (search closed and open issues with gh issue list --search "keywords" --state all)
  • Invalid — not actionable, not a Deno issue, or insufficient info

If the issue is clearly a question, duplicate, or invalid, skip reproduction and go straight to Step 5.

Step 3: Check for missing information

A valid bug report needs:

  • Deno version (deno --version output)
  • Operating system
  • Reproduction steps or minimal reproduction code
  • Expected behavior vs actual behavior

If any of these are missing, label as needs info and comment asking the author to provide the missing details. Do not attempt reproduction without a clear repro case.

Step 4: Reproduce the bug

Only attempt reproduction for bug reports that have a clear repro case.

Setup

Prefer running reproductions inside a Docker container for isolation. Fall back to a local temp directory only if Docker is unavailable.

Docker (preferred):

# Run repro with latest canary
docker run --rm -v "$REPRO_DIR":/repro -w /repro denoland/deno:canary deno run repro.ts

# Run repro with a specific version (e.g., 2.1.4)
docker run --rm -v "$REPRO_DIR":/repro -w /repro denoland/deno:2.1.4 deno run repro.ts

Use docker run --rm so containers are cleaned up automatically. Mount the repro files via -v.

Local fallback (if Docker is not available):

REPRO_DIR=$(mktemp -d)
deno run "$REPRO_DIR/repro.ts"

Get Deno versions

Try to reproduce with both:

  1. The version from the issue (if specified) — to confirm the bug exists
  2. Latest canary — to check if it's already fixed

Use the appropriate Docker image tag for each version (e.g., denoland/deno:2.1.4, denoland/deno:canary).

If the issue specifies a particular Deno version and the bug does NOT reproduce on canary, note that it may already be fixed. Check git log for relevant fixes.

Run the reproduction

  • Extract the reproduction code from the issue body
  • Write it to a local temp directory
  • Run it inside a Docker container (or locally as fallback) with the appropriate deno subcommand and flags
  • Capture both stdout and stderr
  • Compare actual output against the expected behavior described in the issue

If the reproduction involves specific npm packages, deno.json config, or multi-file setups, recreate the full environment as described.

Clean up

rm -rf "$REPRO_DIR"

Record findings

Note:

  • Does the bug reproduce on the reported version?
  • Does the bug reproduce on canary?
  • Any additional observations (e.g., different error message, partial fix, related issues)

Step 5: Label the issue

Add labels based on your classification. Keep it minimal — usually a single area label is sufficient. Do not over-label.

Type labels (add one if applicable)

LabelWhen to use
bugConfirmed bug — always add for verified bug reports
featAccepted new feature
suggestionFeature request not yet accepted
questionUsage question
duplicateDuplicate of another issue
invalidNot actionable
panicDeno panics/crashes
regressionSomething that used to work but is now broken

Area labels (add one that best matches)

LabelArea
node compatGeneral Node.js compatibility
node APISpecific node:* module APIs
ext/node, ext/fs, ext/net, ext/http, ext/fetch, ext/web, ext/crypto, ext/console, ext/url, ext/websocket, ext/kvSpecific extension
cliCLI behavior, flags, subcommands
lspLanguage server
runtimeRuntime crate
permissionsPermission system
compiledeno compile
testingdeno test and coverage
task runnerdeno task
installdeno install / deno add
tscTypeScript compiler
typesTypeScript type issues
configdeno.json configuration
node resolutionNode/npm module resolution
publishdeno publish
lintdeno lint
wasmWebAssembly

Priority labels (add only when clearly warranted)

LabelWhen to use
high prioritySevere impact, blocks users, security issue
quick fixObviously simple fix

Adding labels

gh issue edit $ARGUMENTS --repo denoland/deno --add-label "bug"

Remove the needs triage or triage required 👀 label if present:

gh issue edit $ARGUMENTS --repo denoland/deno --remove-label "needs triage" --remove-label "triage required 👀"

Step 6: Comment on the issue

Post a triage comment with your findings. Structure:

For confirmed bugs:

Confirmed on [version]. [Brief description of what you observed.]

[If tested on canary: "Also reproduces on canary." or "Does not reproduce on canary — may already be fixed."]

For needs info:

Thanks for reporting. Could you provide [missing info]? This will help us investigate.

For duplicates:

This looks like a duplicate of #XXXX. Closing in favor of that issue.

For questions:

This is a usage question rather than a bug. [Brief answer or pointer to docs.] Closing this — feel free to ask on https://discord.gg/deno if you have more questions.

Posting the comment

gh issue comment $ARGUMENTS --repo denoland/deno --body "comment text"

Close the issue if it's a duplicate, question, or invalid:

gh issue close $ARGUMENTS --repo denoland/deno --reason "not planned"

Rules

  • Always confirm with the user before posting comments or modifying labels on GitHub.
  • Do not close bug reports — only close duplicates, questions, and invalid issues.
  • Keep labels minimal. One type label + one area label is usually enough.
  • Be kind to reporters. Thank them, especially first-time reporters.
  • If you cannot reproduce a bug, say so honestly — do not guess at causes.
  • If the reproduction requires permissions or resources you don't have access to, note that and skip reproduction.
  • Never dismiss an issue without investigation.

denoland의 다른 스킬

fmt
denoland
저장소의 모든 코드를 포맷하세요. PR을 열거나 변경 사항을 커밋하기 전에 실행하세요.
official
issue-triage
denoland
Deno GitHub 이슈를 트리아지하세요 — 버그를 재현하고, 분류하고, 라벨을 지정하고, 결과를 댓글로 남깁니다. 이슈를 트리아지하라는 요청을 받거나 이슈 번호/URL이 주어졌을 때 사용하세요…
official
lint-all
denoland
모든 코드 린트 (Rust + JS/TS). Rust 코드가 변경되었을 때 PR을 열기 전에 사용하세요.
official
lint-js
denoland
Lint JS/TS code only. Use before opening a PR when only JavaScript or TypeScript files were changed (no Rust).
official
node-compat
denoland
Node.js 호환성 테스트를 실행하고, 실패를 진단한 다음 구현을 수정하거나 테스트를 건너뛰거나 무시하세요. 노드 호환 테스트 작업을 요청받았을 때 사용하세요.
official
deno
denoland
Deno 프로젝트에서 코드를 작성, 실행, 구성, 검토 또는 디버깅할 때나 새 프로젝트를 생성할 때 사용합니다. deno…를 사용한 의존성 관리를 포함합니다.
official
deno-deploy
denoland
Use when deploying Deno apps to production, asking about Deno Deploy, or working with `deno deploy` CLI commands. Covers deployment workflows, environment…
official
deno-expert
denoland
전문가 수준의 Deno 지식으로 코드 리뷰, 디버깅, 모범 사례 적용을 지원합니다. Deno 코드를 검토하거나 고급 Deno 질문에 답변할 때 사용하세요.
official