Repository navigation
docs: issue classification and priority rules for the issue triage - #3440
Merged
Merged
Conversation
Add the shared issue-classification skill with a section for this repository, and the issue-priority skill: the rule for legacy (v1) issues, the reach tiers of client-v2 and jdbc-v2, the severity rows, the modifiers, and the confidence. AGENTS.md points to both files. docs/source-map.md: ClickHouseDriver and ClickHouseDataSource are proxies that run jdbc-v2 by default, not v1 classes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Auto-approved by the AI review gate on 921b33c. Details in the approver's comment on this pull request.
AI review gate — auto-approved
History (latest 5 heads, newest first)
|
ccoltx
approved these changes
Nov 26, 2026
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.
Summary
Issue triage of this repository moves to the shared triage that clickhouse-go, clickhouse-js, clickhouse-cs, clickhouse-cpp, clickhouse-odbc, ch-go and adbc_clickhouse use. That triage reads two rule files from the repository. This PR adds them, on request of the Language Clients team (no issue).
.claude/skills/issue-classification/SKILL.md: the shared text of the other repositories, unchanged, and a section "This repository": the area comes from the observed effect, not from the module ofdocs/source-map.md; boundaries for JDBC metadata, the SQL parser and parameters; the native code (NativeFormatReader, and the compressed blocks ofcompress=1/decompress=1)..claude/skills/issue-priority/SKILL.md: the structure of the clickhouse-go file, with java content.AGENTS.md: a section "Issue triage" that points to both files, and the rule that a vulnerability that is not public yet goes into a private security report.docs/source-map.md:ClickHouseDriverandClickHouseDataSourceare proxies that run jdbc-v2 by default (ClickHouseDriver.isV2). The map listed them as v1 classes, so a report about the artifactcom.clickhouse:clickhouse-jdbcwould get the labellegacy.Legacy rule (team decision; please review the wording). An issue that only the v1 stack has gets
Low. It getsUrgentwhen it is critical for customers: the severity is "Wrong data or security" or "Broken, no workaround", and the issue links a Linear customer request, or a maintainer or ClickHouse employee says that customers are affected. The reach tiers and the modifiers do not apply. Two consequences to confirm:Low.DriverV1and the other v1 classes run only withclickhouse.jdbc.v1=trueorclickhouse.jdbc.v2=false. r2dbc is not legacy unless a maintainer says so.Reach tiers (from the code; please correct the split where usage differs):
compressistrue, soCompressedBlockInputStreamreads each response),RowBinaryWithNamesAndTypes(format), retries, the JavaCC parser and JDBC escape processing (each statement), andResultSetMetaDatacolumn count, names, labels and types (frameworks such as Spring and MyBatis call them for each query).JSONandDynamic(JSON values are read asDynamic),IPv4/IPv6, 128/256-bit integers,Nested.Variantand the Geo types,QBit,Time/Time64,BFloat16, theNativeandJSONEachRowreaders, the RowBinary writer of jdbc-v2 (beta), the ANTLR4 parsers, token and certificate authentication, proxy, OpenTelemetry, Micrometer, r2dbc.Modifiers: security with a shown path from untrusted input (candidates:
PreparedStatementImpl.encodeObject,SQLUtils, the metadata SQL), ingestion, regression in the latest release (vX.Y.Z; a patch release of an older line such asv0.9.9is not the latest), customer request in Linear. The clickhouse-go panic modifier has no java form. In its place, an unchecked exception from driver or client code in place ofSQLExceptionor aClickHouseExceptionuses the severity "Broken, no workaround", unless the caller has a workaround other than catching it.Checklist
No item applies: no change to a client, no tests, no CHANGELOG entry.
🤖 Generated with Claude Code
Note
Low Risk
Documentation and agent guidance only; no runtime, API, or dependency changes.
Overview
Adds documented issue triage so this repo uses the same automated classification/priority flow as other ClickHouse language clients, without changing client code.
New agent skills:
.claude/skills/issue-classification/SKILL.md(shared impact/area/native taxonomy plus a Java-specific “This repository” section: modules, JDBC metadata vs types, SQL parser/parameters, and what counts as native format/protocol code)..claude/skills/issue-priority/SKILL.mddefines Priority forclickhouse-java: when to skip priority, handling non-public vulnerabilities, legacy (v1-only) issues defaulting to Low unless customer-critical, reach tiers (Core/Common/Narrow/Satellite) mapped to concrete APIs, severity matrix, modifiers (untrusted-input security, ingestion data loss, latest-release regression, Linear customer links), and confidence/reason format.Wiring:
AGENTS.mdgains an Issue triage section pointing at both skills and requiring private GitHub security reports for unconfirmed public vulnerabilities.docs/source-map.mdfixes so triage does not mis-label the default JDBC artifact:ClickHouseDriver/ClickHouseDataSourceare jdbc-v2 proxies by default; v1 isDriverV1/DataSourceV1and realClickHouse*JDBC types, with matching stack-trace heuristics.Reviewed by Cursor Bugbot for commit 921b33c. Bugbot is set up for automated code reviews on this repo. Configure here.