In short.
This SKILL.md file is a written playbook for an AI coding assistant helping contributors and maintainers diagnose failed fuzz tests (automated tests using varied inputs) in the GreptimeDB database project's automated GitHub Actions checks. Authenticated GitHub access is required, and missing logs or expired artifacts can prevent a supported diagnosis. It connects a failed GitHub Actions job to its diagnostic archive and tested source revision, then asks the assistant to distinguish observed errors from likely causes. It documents how to treat skipped and after-prior-failure targets, how to trace errors across distributed components, and how to weigh competing explanations. Nothing was executed, so its commands, compatibility and diagnostic effectiveness remain unassessed.
Researched and written by an AI model and checked by a second AI model. How it works
The selected scope is .agents/skills/greptimedb-fuzz-ci-failure-investigation in GreptimeTeam/greptimedb at commit 1dbc0cd80fd54477b90eb83ae1d89ec793ae3ae8. The supplied complete selected-scope manifest contains one file, SKILL.md, accompanied by the root LICENSE and LICENSE-ENTERPRISE notices. Referenced workflows, scripts, component code, actual CI logs and artifacts are outside the supplied content. Nothing was executed; installation, command behavior, diagnosis quality, reproduction success and current service compatibility remain unassessed.
The overview
Identity
This resource is a SKILL.md instruction file in GreptimeTeam/greptimedb at .agents/skills/greptimedb-fuzz-ci-failure-investigation. It tells an AI coding assistant or agent that reads the file how to investigate failed fuzz CI jobs for GreptimeDB, an open-core database project, from a local checkout. Fuzz testing generates varied inputs or operations to expose crashes, incorrect results or broken assumptions.
The captured source is pinned to commit 1dbc0cd80fd54477b90eb83ae1d89ec793ae3ae8: [https://raw.githubusercontent.com/GreptimeTeam/greptimedb/1dbc0cd80fd54477b90eb83ae1d89ec793ae3ae8/.agents/skills/greptimedb-fuzz-ci-failure-investigation/SKILL.md].
Assessment
The documented procedure is useful for a specific troubleshooting problem: a failing fuzz target may surface an error caused elsewhere in a distributed database or its dependencies. It encourages a timeline and an error propagation chain before assigning blame to a component.
The instructions are detailed enough to guide an investigation, but detail alone does not establish reliability. No completed investigation, measured time saving or evidence of diagnostic accuracy is supplied, and the skill was not run.
Users
The clearest audience is GreptimeDB contributors and maintainers who have a failed GitHub Actions job or workflow link. Developers familiar with Rust, database internals and Kubernetes will be better positioned to evaluate the resulting hypotheses.
A beginner can follow the collection sequence, but interpreting WAL, routing, storage-engine and cluster errors requires additional knowledge. WAL means write-ahead log, a record used to support reliable writes. This skill addresses GreptimeDB fuzz CI rather than general application debugging.
Capabilities
The skill covers standalone, unstable standalone, distributed and distributed-with-chaos fuzz jobs. It documents how to retrieve run metadata, job steps and logs, locate a matching group artifact, and inspect fuzz output, generated SQL, crash reproducers, service logs and Kubernetes diagnostics.
It also specifies a diagnosis report containing a likely cause, scoped confidence, evidence, alternative hypotheses, next steps and checks that could disprove the explanation. These are instructions for an assistant; the captured resource does not include a separate diagnostic program.
Using it
Requirements
The documented prerequisites include an installed and authenticated GitHub CLI, access to the relevant Actions logs and artifacts, and a local GreptimeDB checkout. The command examples use git, jq, unzip and standard shell tools. Network access and local disk space are needed to retrieve and store evidence.
Source analysis must use the failed run's head commit, which may require fetching that commit. No minimum tool versions, supported operating-system list, required assistant model or assistant-host compatibility matrix is supplied. Reproducing a failure can require more tooling than collecting its existing evidence.
Mechanism
The procedure starts from a job URL, derives the job's mode and target group, and downloads the corresponding logs and artifact. The artifact manifest identifies the failed target. The document distinguishes CI execution through prebuilt fuzz binaries from the local fallback through cargo fuzz.
Within a group, the documented default stops after the first target failure, while other groups can continue. A skipped target did not run; a target marked after_prior_failure ran in a potentially affected shared environment. The investigation then traces the failure through client responses, database components, storage or external dependencies, and checks relevant source at the tested commit.
Setup
The resource proposes checking GitHub CLI authentication, preparing a scratch directory outside the source checkout and supplying a failed fuzz job URL. A workflow URL or run ID with a target, mode, artifact or commit clue is also accepted. Ambiguous workflow inputs may require choosing among several failed fuzz jobs.
GitHub CLI commands explicitly target GreptimeTeam/greptimedb to avoid accidentally querying a fork. If the local checkout differs from the tested commit, the instructions offer inspecting that revision directly or creating a temporary detached worktree. Installation into a particular assistant application is not documented.
Example
For a distributed fuzz failure, a developer would supply the failed job URL. The assistant would identify its mode and group, retrieve the matching artifact and read manifest.json before inspecting bulk logs. A group artifact can place the failing target's fuzz.log, SQL traces, monitor dumps and cluster logs under targets/<target>/.
If a fuzz panic follows a SQL error, the intended investigation follows that error into component and dependency logs, then into the corresponding source revision. A result might distinguish a confirmed error chain from an uncertain underlying cause. This is an illustration of the documented procedure, not an observed investigation or test result.
Assessment & evidence
Limitations
The skill states that artifact retention is three days at the documented revision. Expired artifacts, unavailable logs or authentication failures can leave the cause unknown. That retention setting is described in the skill; the underlying workflow configuration is not included in the supplied evidence.
The workflow is read-only with respect to remote CI actions by default, but its examples create local files, download archives, fetch source and potentially create worktrees. It does not guarantee that a failure can be reproduced or that the ultimate cause can be established. Behavior across assistant hosts and exposure of downloaded logs to an assistant provider are not assessed.
Reasoning
The procedure's main strength is its treatment of causal evidence. It asks whether each component produced an error or merely forwarded it, compares intended configuration with runtime behavior and consuming code, and warns against blaming cleanup messages that occur after the actual failure.
It requires at least two plausible causes before classification and asks for falsifiable follow-up checks. The available classifications include product defects, test defects, timing or resource issues, infrastructure failures and unknown causes. These practices support careful analysis in principle; their effectiveness with an actual assistant has not been demonstrated.
Alternatives
A developer could perform the same GitHub CLI downloads and source inspection manually, using the document as a checklist. That retains direct control over interpretation but leaves the developer to assemble the timeline and connect evidence across components.
For a narrower question, inspecting only the selected job log and relevant source may suffice; the document itself makes full-workflow log retrieval conditional on needing setup or build context. No competing assistant skill or commercial debugging product is evaluated in the supplied evidence.
Evidence
The supplied material consists of the selected SKILL.md and the repository's LICENSE and LICENSE-ENTERPRISE at the same commit. SKILL.md supports the descriptions of intended behavior and command sequences; the license files support the rights discussion.
The referenced workflows, runner scripts, component source files and actual failure artifacts are not supplied. Their existence, contents and behavior have not been independently assessed here. There are no execution results, measured outcomes or completed diagnoses in the evidence.
Access & freshness
Costs
No purchase price, subscription requirement or per-investigation cost is stated for the skill. The repository's Apache 2.0 license grants no-charge copyright permissions subject to its terms; that does not establish the total cost of using an assistant or accessing infrastructure.
Assistant-provider charges, GitHub service costs, storage use and local reproduction costs are unknown. The procedure normally retrieves existing CI evidence and does not authorize rerunning jobs by default. No token, runtime or resource-consumption measurements are supplied.
Rights
The root LICENSE supplies Apache 2.0 terms, including permissions to use, modify and redistribute covered material subject to its conditions. Redistribution requires including the license, retaining applicable notices and marking modified files. Applicable NOTICE attributions must also be preserved if such a file accompanies the work. No separate NOTICE file is supplied here. License source: [https://raw.githubusercontent.com/GreptimeTeam/greptimedb/1dbc0cd80fd54477b90eb83ae1d89ec793ae3ae8/LICENSE].
LICENSE-ENTERPRISE says its commercial terms apply to files carrying explicit Enterprise headers and gated behind the enterprise Cargo feature. The captured SKILL.md has no such header, supporting use of the root Apache license for this skill. This does not establish rights to unrelated enterprise components. Enterprise notice: [https://raw.githubusercontent.com/GreptimeTeam/greptimedb/1dbc0cd80fd54477b90eb83ae1d89ec793ae3ae8/LICENSE-ENTERPRISE].
Freshness
The supplied snapshot was captured on 2026-11-15 at 21:05:36.660 UTC from commit 1dbc0cd80fd54477b90eb83ae1d89ec793ae3ae8. That identifies the analyzed version; it does not establish the skill's latest modification date or current compatibility.
Artifact naming, retention, CI matrices and runner behavior can change with the repository. The skill addresses source drift by requiring investigation at each failed run's head commit. Changes after the captured revision and ongoing maintenance activity are unknown.
Actions
For an applicable failure, collect the job URL promptly, confirm access to its logs and artifacts, and retain the run's exact source commit. Read the artifact manifest before drawing conclusions about which targets failed or ran.
Check that the skill's paths and artifact conventions match the failed run's revision. Expect a report that distinguishes observed facts from hypotheses and identifies missing evidence. Any rerun or reproduction should be treated as a separate action requiring the appropriate environment and authorization.
