triage-issues

โดย clickhouse

วิเคราะห์ปัญหา GitHub ทีละรายการ อ่านคำอธิบาย กำหนดป้ายกำกับและลำดับความสำคัญ ค้นคว้าข้อมูลเพิ่มเติม และให้ข้อมูลสรุปสั้น ๆ แต่...

npx skills add https://github.com/clickhouse/clickhouse-java --skill triage-issues

Issue Triage Workflow

Stage 1: Preview

  1. Sizes the description into categories: Tiny, Small, Medium, Large. See Description Sizes in references.md for size definitions.
  2. Analyzes based on description size:
    • Tiny: Tries to detect what module is affected. Uses specific terms and method names. JDBC, for example, has very recognizable sets of methods. Remembers or outputs additional information.
    • Small or Medium: Finds what module or functionality is affected and records this information. Small or Medium descriptions just need more technical details.
    • Large: Refines and compacts the issue for further investigation. Large descriptions should have enough data to pinpoint the problem but are often in a form hardly readable by humans, so creates a minimal version.
  3. Checks that there is minimal data available about the problem. See Minimal Issue Details in references.md.

Stage 2: Research

Before exploring the tree, use source-map.md to locate the affected module and area:* labels (module/package boundaries, label → source location, entry-point classes, and stacktrace → module heuristics). Only grep the source once the map has narrowed the scope.

Every issue type has its own research approach.

Question

  1. Looks up documentation first if there is related information. See Module Documentation in references.md.
  2. If the question is about how configuration works - explores source code. See Module Sources in references.md.
  3. If the question is about usage then generates a set of questions to get details about the use-case.
  4. Else, notes that this question needs human attention.

Potential Bug

  1. Finds out scope: determines the module, what configuration parameters are involved, and what classes implement the area.
    1. If there is a stacktrace, adds the call chain of methods for review.
    2. If there is a specific code example given, looks at what functions are called in what order.
  2. Understands the runtime environment more. Generates questions to discover more.
    1. If JDBC, then there could be some framework involved. Finds out what the conditions should be.
    2. If client, then the application environment is important.
  3. When the user provides a data example or use case description, creates a test scenario or code. Keeps code minimal.

What to ask User

  • Asks user about specific version of client or JDBC driver. Asks about specific version of server.
  • Asks about network setup if relevant. For example, issue related network may be affected by proxy in the middle.
  • Asks about reproducibility of the problem if it is network related and looks like have unstable nature.

Stage 3: Summary

When finishing the analysis, outputs the findings using this exact template:

## Triage Report
**Effort to Fix**: [Tiny/Small/Medium/Large]
**Type**: [Question/Bug]
**Affected Module**: [Module Name]
### Summary
[1-2 sentences summarizing the core issue]
### Recommended Labels & Priority
- Labels: [label1, label2]
### Missing Information / Questions for User
1. [Question 1]
2. [Question 2]
### Tests to Add

**Test 1: Scenario**
```
// code
```


**Test 2: Scenario**
```
// code
```

Skills เพิ่มเติมจาก clickhouse

clickhouse-best-practices
clickhouse
กฎแนวปฏิบัติที่ดีที่สุดของ ClickHouse จำนวน 28 ข้อ จัดตามการออกแบบสคีมา การปรับแต่งคิวรี และกลยุทธ์การนำเข้าข้อมูล ครอบคลุมสามด้านสำคัญ: การเลือกคีย์หลักและชนิดข้อมูล (การตัดสินใจออกแบบที่ไม่สามารถเปลี่ยนแปลงได้), การปรับแต่ง JOIN และคิวรี, และการทำแบทช์อินเสิร์ตพร้อมหลีกเลี่ยงมิวเทชัน รวมถึงกฎ 28 ข้อที่จัดลำดับตามผลกระทบ โดยกฎการออกแบบสคีมาและการปรับแต่งคิวรีถูกทำเครื่องหมายว่าสำคัญมาก (CRITICAL) เนื่องจากกลไกการจัดเก็บแบบคอลัมน์และดัชนีแบบกระจัดกระจายของ ClickHouse มีขั้นตอนการตรวจสอบที่มีโครงสร้างสำหรับ...
official
clickhouse-js-node-coding
clickhouse
Write idiomatic application code with the ClickHouse Node.js client (`@clickhouse/client`). Use this skill whenever a user is *building* against the Node.js…
official
clickhousectl-cloud-deploy
clickhouse
ใช้เมื่อผู้ใช้ต้องการปรับใช้ ClickHouse ไปยังคลาวด์ ไปสู่ระบบผลิต ใช้ ClickHouse Cloud โฮสต์บริการ ClickHouse ที่มีการจัดการ หรือย้ายจากระบบภายในเครื่อง…
official
clickstack-otel-collector
clickhouse
Use when a user wants to wire an OpenTelemetry collector into a Managed ClickStack service on ClickHouse Cloud, either by deploying a new local collector…
official
infra-clickhouse
clickhouse
Sets up and manages ClickHouse using the clickhousectl CLI — installs and runs a local ClickHouse server for development, and creates managed ClickHouse Cloud…
official
infra-postgres
clickhouse
ตั้งค่าและจัดการ Postgres โดยใช้ clickhousectl CLI — รัน Postgres ที่ใช้ Docker ในเครื่องสำหรับการพัฒนา และสร้างและดำเนินการจัดการ ClickHouse ที่มีการจัดการ...
official
clickhouse-best-practices
clickhouse
ต้องใช้เมื่อตรวจสอบสคีมา คิวรี หรือการกำหนดค่าของ ClickHouse ประกอบด้วยกฎ 31 ข้อที่ต้องตรวจสอบก่อนให้คำแนะนำ ควรอ่านเสมอ…
official
setup
clickhouse
แนะนำผู้ใช้ในการตั้งค่าการเชื่อมต่อเซิร์ฟเวอร์ ClickHouse MCP ที่มาพร้อมกับปลั๊กอินนี้ ใช้เมื่อผู้ใช้ติดตั้งปลั๊กอินครั้งแรกหรือพบปัญหา…
official