AI Slop Code Risk Monitor

cockroachdb/cockroach

SlopCodeMonitor badge for cockroachdb/cockroach Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.

4.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for cockroachdb/cockroach, a Go project with 32,597 GitHub stars. SynthScan examined 3,983,784 lines of code across 11773 source files, recording 11209 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 4.0 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

4.0
Adjusted Signal
4.0
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
32.6K
Stars
Go
Language
4.0M
Lines of Code
11.8K
Files
11.2K
Pattern Hits
2026-10-31
Scan Date
0.04
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 13.0/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 10523 finding(s).

Hallucinated Dependency & Supply Chain Risk 4.5/100 · LOW

Are imports declared and package/API names verified? 403 finding(s).

Agent Over-Engineering Ratio 1.4/100 · LOW

Are wrappers, guards, and repeated structures necessary? 390 finding(s).

PR Review Velocity Impact 17.9/100 · LOW

Which changes need focused human review? 11209 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 355HIGH 95MEDIUM 437LOW 10322

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 11209 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block9739 hits · 9176 pts
SeverityFileLineSnippetContext
LOWtools/claim_output_base.sh1#!/bin/bashCOMMENT
LOW.claude/rules/commenting-standards.md81Focus on inputs, outputs, and behavior:COMMENT
LOW.claude/rules/commenting-standards.md141**Protobuf Message Comments:**COMMENT
LOWdocs/style.md81// atomic replication changes require a transition through a "joint config"; inCOMMENT
LOWdocs/RFCS/20200615_sql_liveness.md121 // Expiration is the current expiration value for this Session. After theCOMMENT
LOWdocs/RFCS/20170908_sql_optimizer_statistics.md301// cardinality estimation sketches on sets of columns.COMMENT
LOWdocs/RFCS/20150806_gateway_batch.md41```goCOMMENT
LOWdocs/RFCS/20160420_proposer_evaluated_kv.md101 # * make right-hand side `*Replica`COMMENT
LOWdocs/RFCS/20160420_proposer_evaluated_kv.md221// WriteBatch::rep_ :=COMMENT
LOWdocs/RFCS/20200424_opt_driven_fk_cascades.md121```COMMENT
LOWdocs/RFCS/20190318_error_handling.md1381COMMENT
LOWdocs/RFCS/20190318_error_handling.md1401 string original_type_name = 1;COMMENT
LOWdocs/RFCS/20190318_error_handling.md1421COMMENT
LOWdocs/RFCS/20190318_error_handling.md1441message EncodedWrapper {COMMENT
LOWdocs/RFCS/20190318_error_handling.md1721// This is usually composed as follows:COMMENT
LOWdocs/RFCS/20190318_error_handling.md2001// (Sentry) package.COMMENT
LOWdocs/RFCS/20190318_error_handling.md2121COMMENT
LOWdocs/RFCS/20190318_error_handling.md2261The definition of "safe strings" is based off the "reportables"COMMENT
LOWdocs/RFCS/20190318_error_handling.md2421 // Annotation that characterizes a sub-issue.COMMENT
LOWdocs/RFCS/20190318_error_handling.md2621// WithCandidateCode decorates the error with a candidate postgresCOMMENT
LOWdocs/RFCS/20191009_gc_protected_timestamps.md541 // guarantees that if all possible zone configs whichCOMMENT
LOWdocs/RFCS/20191009_gc_protected_timestamps.md561 MarkVerified(context.Context, *client.Txn, uuid.UUID) errorCOMMENT
LOWdocs/RFCS/20211111_multitenant_protected_timestamps.md421 // Spans to request the configurations for. The spans listed here are notCOMMENT
LOWdocs/RFCS/20180324_parallel_commit.md221If the batch is not eligible, the batch passes through the `txnCommitter` unchanged. It will beCOMMENT
LOWdocs/RFCS/20210723_metrics_update.md181 // Labels to add or overwrite for each alert.COMMENT
LOWdocs/RFCS/20170815_version_migration.md441 ServerVersion roachpb.Version // Server configuration, does not changeCOMMENT
LOWdocs/RFCS/20220129_sqlproxy_connection_migration.md141// includes the header type and body length.COMMENT
LOWdocs/RFCS/20210610_tenant_zone_configs.md441 // - with a monotonically increasing timestamp;COMMENT
LOWdocs/RFCS/20210610_tenant_zone_configs.md501spans and the corresponding set of attributes to apply to each one. TheCOMMENT
LOWdocs/RFCS/20210610_tenant_zone_configs.md521// against RANGE DEFAULT for brevity):COMMENT
LOWdocs/RFCS/20210610_tenant_zone_configs.md721```goCOMMENT
LOWdocs/RFCS/20210610_tenant_zone_configs.md761 StoreReaderCOMMENT
LOWdocs/RFCS/20210610_tenant_zone_configs.md781 // |COMMENT
LOWdocs/RFCS/20201230_eventlog_modernization.md161 // LoggingChannel indicates which logging channel to send this event to.COMMENT
LOWdocs/RFCS/20210617_index_lookups_memory_limits.md381 //COMMENT
LOWdocs/RFCS/20210617_index_lookups_memory_limits.md401 //COMMENT
LOWdocs/RFCS/20210617_index_lookups_memory_limits.md421 // in InOrder mode.COMMENT
LOWdocs/RFCS/20210617_index_lookups_memory_limits.md441 // a single row is never split into different Results).COMMENT
LOWdocs/RFCS/20210617_index_lookups_memory_limits.md481// Budget abstracts the memory budget that is provided to a Streamer by itsCOMMENT
LOWdocs/tech-notes/timeseries.md121 //System/tsd/cr.node.sql.new_conns/10s/2022-08-11T11:00:00Z/1COMMENT
LOWcloud/kubernetes/multiregion/setup.py21# To get the names of your kubectl "contexts" for each of your clusters, run:COMMENT
LOWcloud/kubernetes/multiregion/external-name-svc.yaml1# This file contains the definitions needed to expose cockroachdb in a namespaceCOMMENT
LOW…etes/bring-your-own-certs/cockroachdb-statefulset.yaml1# This config file defines a CockroachDB StatefulSet that uses certificatesCOMMENT
LOWcloud/kubernetes/bring-your-own-certs/client.yaml1# This config file demonstrates how to connect to the CockroachDB StatefulSetCOMMENT
LOW…rnetes/performance/cockroachdb-statefulset-secure.yaml1# This configuration file sets up a secure StatefulSet running CockroachDB withCOMMENT
LOW…rnetes/performance/cockroachdb-statefulset-secure.yaml181 # If your client pods generate a lot of network traffic to and from theCOMMENT
LOW…rnetes/performance/cockroachdb-statefulset-secure.yaml301 # storage class of this name doesn't exist by default. See our docs forCOMMENT
LOW…rnetes/performance/cockroachdb-daemonset-insecure.yaml1# This configuration file sets up a DaemonSet running CockroachDB in insecureCOMMENT
LOW…etes/performance/cockroachdb-statefulset-insecure.yaml1# This configuration file sets up an insecure StatefulSet running CockroachDB withCOMMENT
LOW…etes/performance/cockroachdb-statefulset-insecure.yaml201 accessModes:COMMENT
LOW…bernetes/performance/cockroachdb-daemonset-secure.yaml1# This configuration file sets up a secure DaemonSet running CockroachDB.COMMENT
LOW…bernetes/performance/cockroachdb-daemonset-secure.yaml141 # Tolerations allow CockroachDB to run on Kubernetes nodes that other pods won't be allowed on.COMMENT
LOW…bernetes/performance/cockroachdb-daemonset-secure.yaml201 imagePullPolicy: IfNotPresentCOMMENT
LOWscripts/azworker.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/roachprod-get-latest.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/bump-pebble.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/ls-files.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/ls-files.sh21# tar extraction horribly.COMMENT
LOWscripts/diff-example.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/tag-custom-build.sh1#!/usr/bin/env bashCOMMENT
9679 more matches not shown…
Hallucination Indicators355 hits · 3565 pts
SeverityFileLineSnippetContext
CRITICAL…ccl/src/views/reports/containers/stores/encryption.tsx140 protosccl.cockroach.storage.enginepb.EncryptionStatus.decode(rawStatus);CODE
CRITICALpkg/ui/workspaces/db-console/src/util/api.spec.ts143 protos.cockroach.server.serverpb.HealthResponse.encode({}).finish();CODE
CRITICALpkg/ui/workspaces/db-console/src/util/api.spec.ts221 protos.cockroach.server.serverpb.ClusterResponse.encode({CODE
CRITICALpkg/ui/workspaces/db-console/src/util/api.spec.ts298 protos.cockroach.server.serverpb.MetricMetadataResponse.encode({CODE
CRITICALpkg/ui/workspaces/db-console/src/util/api.spec.ts386 protos.cockroach.server.serverpb.LogEntriesResponse.encode({CODE
CRITICAL…ole/src/views/devtools/containers/raftRanges/index.tsx212 nodeRange.state.state.desc.internal_replicas.map(CODE
CRITICALpkg/ui/workspaces/db-console/src/redux/uiData.spec.ts351 const kvs = protos.cockroach.server.serverpb.SetUIDataRequest.decode(CODE
CRITICALpkg/ui/workspaces/db-console/src/redux/uiData.spec.ts367 protos.cockroach.server.serverpb.SetUIDataResponse.encode(CODE
CRITICALpkg/ui/workspaces/db-console/src/redux/uiData.spec.ts463 protos.cockroach.server.serverpb.GetUIDataResponse.encode(CODE
CRITICALpkg/ui/workspaces/db-console/src/redux/uiData.spec.ts533 protos.cockroach.server.serverpb.GetUIDataResponse.encode(CODE
CRITICALpkg/cmd/roachtest/tests/cluster_to_cluster.go1027 res := rd.setup.dst.sysSQL.DB.QueryRowContext(ctx, `SELECT status, payload FROM crdb_internal.system_jobs WHERE id = $CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go138 `org.postgresql.test.jdbc2.ConnectionTest.createStatement()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go139 `org.postgresql.test.jdbc2.ConnectionTest.doubleClose()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go140 `org.postgresql.test.jdbc2.ConnectionTest.getTypeMapEmpty()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go141 `org.postgresql.test.jdbc2.ConnectionTest.isClosed()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go142 `org.postgresql.test.jdbc2.ConnectionTest.nativeSQL()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go143 `org.postgresql.test.jdbc2.ConnectionTest.pGStreamSettings()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go144 `org.postgresql.test.jdbc2.ConnectionTest.prepareCall()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go145 `org.postgresql.test.jdbc2.ConnectionTest.prepareStatement()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go146 `org.postgresql.test.jdbc2.ConnectionTest.readOnly_always()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go147 `org.postgresql.test.jdbc2.ConnectionTest.readOnly_ignore()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go148 `org.postgresql.test.jdbc2.ConnectionTest.readOnly_transaction()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go149 `org.postgresql.test.jdbc2.ConnectionTest.transactionIsolation()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go150 `org.postgresql.test.jdbc2.ConnectionTest.transactions()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go151 `org.postgresql.test.jdbc2.ConnectionTest.typeMaps()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go152 `org.postgresql.test.jdbc2.ConnectionTest.warnings()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go153 `org.postgresql.test.jdbc2.CopyTest.changeDateStyle()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go154 `org.postgresql.test.jdbc2.CopyTest.lockReleaseOnCancelFailure()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go156 `org.postgresql.test.jdbc2.DatabaseMetaDataCacheTest.getSQLTypeQueryCache()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go188 `org.postgresql.test.jdbc2.JBuilderTest.money()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go189 `org.postgresql.test.jdbc2.NotifyTest.asyncNotify()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go190 `org.postgresql.test.jdbc2.NotifyTest.asyncNotifyWithEndlessTimeoutAndMessagesAvailableWhenStartingListening()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go191 `org.postgresql.test.jdbc2.NotifyTest.asyncNotifyWithEndlessTimeoutAndMessagesSendAfter()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go192 `org.postgresql.test.jdbc2.NotifyTest.asyncNotifyWithTimeout()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go193 `org.postgresql.test.jdbc2.NotifyTest.asyncNotifyWithTimeoutAndMessagesAvailableWhenStartingListening()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go194 `org.postgresql.test.jdbc2.NotifyTest.asyncNotifyWithTimeoutAndMessagesSendAfter()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go195 `org.postgresql.test.jdbc2.NotifyTest.asyncNotifyWithTimeoutAndSocketThatBecomesClosed()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go196 `org.postgresql.test.jdbc2.NotifyTest.notifyArgument()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go197 `org.postgresql.test.jdbc2.NotifyTest.testNotify()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go366 `org.postgresql.test.jdbc2.SearchPathLookupTest.searchPathNormalLookup()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go375 `org.postgresql.test.jdbc2.StatementTest.closeInProgressStatement()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go376 `org.postgresql.test.jdbc2.StatementTest.fastCloses()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go377 `org.postgresql.test.jdbc2.StatementTest.parsingSemiColons()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go378 `org.postgresql.test.jdbc2.StatementTest.updateCount()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go379 `org.postgresql.test.jdbc2.StatementTest.warningsAreAvailableAsap()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go382 `org.postgresql.test.jdbc3.CompositeTest.complexArgumentSelect()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go383 `org.postgresql.test.jdbc3.CompositeTest.complexSelect()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go384 `org.postgresql.test.jdbc3.CompositeTest.complexTableNameMetadata()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go385 `org.postgresql.test.jdbc3.CompositeTest.compositeFromTable()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go386 `org.postgresql.test.jdbc3.CompositeTest.nullArrayElement()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go387 `org.postgresql.test.jdbc3.CompositeTest.simpleArgumentSelect()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go388 `org.postgresql.test.jdbc3.CompositeTest.simpleSelect()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go389 `org.postgresql.test.jdbc3.CompositeTest.tableMetadata()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go390 `org.postgresql.test.jdbc3.DatabaseMetaDataTest.getColumnsForDomain()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go398 `org.postgresql.test.jdbc3.Jdbc3BlobTest.allBytes()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go399 `org.postgresql.test.jdbc3.Jdbc3BlobTest.allBytesStream()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go400 `org.postgresql.test.jdbc3.Jdbc3BlobTest.manyBytes()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go401 `org.postgresql.test.jdbc3.Jdbc3BlobTest.manyBytesOffset()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go402 `org.postgresql.test.jdbc3.Jdbc3BlobTest.manyBytesOffsetStream()`: CODE
CRITICAL⚡pkg/cmd/roachtest/tests/pgjdbc_blocklist.go403 `org.postgresql.test.jdbc3.Jdbc3BlobTest.manyBytesStream()`: CODE
295 more matches not shown…
Decorative Section Separators263 hits · 976 pts
SeverityFileLineSnippetContext
MEDIUMcloud/kubernetes/multiregion/teardown.py28# ------------------------------------------------------------------------------COMMENT
MEDIUMcloud/kubernetes/multiregion/setup.py58# ------------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml91 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml93 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml154 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml156 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml223 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml225 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml281 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml283 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml342 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml344 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml452 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml454 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml520 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml522 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml563 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml565 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml625 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml627 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml686 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml688 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml751 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-build-and-sign.yml753 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml66 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml68 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml117 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml119 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml155 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml162 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml181 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml186 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml264 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml266 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml357 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml359 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml422 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml424 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml475 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-publish.yml477 # --------------------------------------------------------------------------COMMENT
MEDIUMpkg/cmd/vecbench/chart_printer.go33// 1722 ┤ ╭─╮ ╭─────╮╭ 2.00 ┼──╮ ╭╮ ╭─╮ ╭╮COMMENT
MEDIUMpkg/cmd/vecbench/chart_printer.go35// 1678 ┤││ ╭╯ ╰╮ ╭╯╰╮╭─╮╭╮ ╭─╯ 1.20 ┤ ╰───╮╭─╯╰──╯ ╰─╮╭─────╯╰─────COMMENT
MEDIUM⚡pkg/cmd/vecbench/chart_printer.go47// 0.45 ┤ ╰──────────╮ 51.60 ┼─╮╭───╯╰─╯COMMENT
MEDIUM⚡pkg/cmd/vecbench/chart_printer.go48// 0.41 ┤ ╰───────────── 50.90 ┤ ╰╯COMMENT
MEDIUM⚡…cmd/roachprod-centralized/scripts/integration-tests.sh271# ============================================================================COMMENT
MEDIUM⚡…cmd/roachprod-centralized/scripts/integration-tests.sh273# ============================================================================COMMENT
MEDIUM⚡…cmd/roachprod-centralized/scripts/integration-tests.sh281# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡…cmd/roachprod-centralized/scripts/integration-tests.sh283# ----------------------------------------------------------------------------COMMENT
MEDIUM…cmd/roachprod-centralized/scripts/integration-tests.sh318# ----------------------------------------------------------------------------COMMENT
MEDIUM…cmd/roachprod-centralized/scripts/integration-tests.sh320# ----------------------------------------------------------------------------COMMENT
MEDIUM…cmd/roachprod-centralized/scripts/integration-tests.sh348# ----------------------------------------------------------------------------COMMENT
MEDIUM…cmd/roachprod-centralized/scripts/integration-tests.sh350# ----------------------------------------------------------------------------COMMENT
MEDIUM…cmd/roachprod-centralized/scripts/integration-tests.sh491# ----------------------------------------------------------------------------COMMENT
MEDIUM…cmd/roachprod-centralized/scripts/integration-tests.sh493# ----------------------------------------------------------------------------COMMENT
MEDIUM…cmd/roachprod-centralized/scripts/integration-tests.sh516# ----------------------------------------------------------------------------COMMENT
MEDIUM…cmd/roachprod-centralized/scripts/integration-tests.sh518# ----------------------------------------------------------------------------COMMENT
MEDIUM…cmd/roachprod-centralized/scripts/integration-tests.sh584# ----------------------------------------------------------------------------COMMENT
MEDIUM…cmd/roachprod-centralized/scripts/integration-tests.sh586# ----------------------------------------------------------------------------COMMENT
MEDIUM…cmd/roachprod-centralized/scripts/integration-tests.sh691# ----------------------------------------------------------------------------COMMENT
MEDIUM…cmd/roachprod-centralized/scripts/integration-tests.sh693# ----------------------------------------------------------------------------COMMENT
203 more matches not shown…
Synthetic Comment Markers82 hits · 612 pts
SeverityFileLineSnippetContext
HIGH⚡.github/workflows/pr-autosolve-comments.yml509 'Generated by Claude Code Auto-Solver' \CODE
HIGH.github/workflows/blathers-backport.yml299 echo "*Analysis generated by Claude Code. [Workflow run](${{ github.server_url }}/${{ github.repository }}/aCODE
HIGH⚡.github/workflows/pr-autosolve-ci.yml404 'Generated by Claude Code Auto-Solver (CI Fixer)' \CODE
HIGHpkg/cmd/roachtest/roachtestutil/mixedversion/README.md56// aren't enough tables as requested, all tables are returned, inCOMMENT
HIGHpkg/cmd/roachtest/spec/cluster_spec.go645 // Assume selected machine type has the same arch as requested unless SelectXXXMachineType says otherwise.COMMENT
HIGHpkg/kv/kvclient/kvtenant/connector.go851 // Force to assign tenant ID in request to be the same as requested tenantCOMMENT
HIGHpkg/kv/kvserver/raftentry/cache_test.go224 // truncation. This should remove index 6 (as requested due to the truncation)COMMENT
HIGHpkg/security/certificate_manager.go89 // All other client tls.Config objects are built as requested and not cached.COMMENT
HIGHpkg/crosscluster/physical/stream_ingestion_job.go419 // as requested pause or cancel will trigger a context cancellation.COMMENT
HIGHpkg/crosscluster/logical/logical_replication_job.go224 // as requested pause or cancel will trigger a context cancellation.COMMENT
HIGHpkg/crosscluster/streamclient/client.go347 // potentially partitioned as requested by the options.COMMENT
HIGHpkg/col/coldata/vec.eg.go22// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/col/coldata/vec_tmpl.go31// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/conn_executor_exec.go4260// showQueryStatsFns maps column names as requested by the SQL clientsCOMMENT
HIGHpkg/sql/colexec/sort.eg.go28// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/values_differ_tmpl.go28// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/select_in_tmpl.go39// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/vec_comparators.eg.go22// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/values_differ.eg.go22// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/select_in.eg.go33// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/rowtovec.eg.go22// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/vec_comparators_tmpl.go28// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/rowtovec_tmpl.go31// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/sort_tmpl.go35// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecbase/const.eg.go25// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecbase/const_tmpl.go32// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecbase/distinct_tmpl.go36// auto-generated code doesn't work - distinct_gen.go needs to be modified. //COMMENT
HIGHpkg/sql/colexec/colexecbase/cast_tmpl.go48// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecbase/cast.eg.go43// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGH…sql/colexec/colexecwindow/range_offset_handler_tmpl.go38// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGH…/sql/colexec/colexecwindow/min_max_removable_agg.eg.go31// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGH…g/sql/colexec/colexecwindow/range_offset_handler.eg.go31// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGH…ql/colexec/colexecwindow/min_max_removable_agg_tmpl.go38// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/window_sum_agg.eg.go23// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/window_avg_agg.eg.go23// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/hash_min_max_agg.eg.go28// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/ordered_sum_agg.eg.go23// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/ordered_avg_agg.eg.go23// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/ordered_min_max_agg.eg.go28// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/any_not_null_agg_tmpl.go34// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGH…/sql/colexec/colexecagg/ordered_any_not_null_agg.eg.go25// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/avg_agg_tmpl.go33// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/window_min_max_agg.eg.go28// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/hash_any_not_null_agg.eg.go25// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/hash_sum_agg.eg.go23// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/hash_avg_agg.eg.go23// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/window_sum_int_agg.eg.go23// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/min_max_agg_tmpl.go35// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/sum_agg_tmpl.go33// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/hash_sum_int_agg.eg.go23// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecagg/ordered_sum_int_agg.eg.go23// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecprojconst/proj_const_ops_tmpl.go43// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGH…sql/colexec/colexecprojconst/proj_const_left_ops.eg.go36// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecspan/span_encoder_tmpl.go30// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecspan/span_encoder.eg.go21// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecsel/selection_ops_tmpl.go37// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecjoin/mergejoinbase_tmpl.go28// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecjoin/mergejoiner_rightsemi.eg.go28// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGHpkg/sql/colexec/colexecjoin/mergejoiner_exceptall.eg.go28// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
HIGH…g/sql/colexec/colexecjoin/mergejoiner_rightouter.eg.go28// Workaround for bazel auto-generated code. goimports does not automaticallyCOMMENT
22 more matches not shown…
Structural Annotation Overuse259 hits · 434 pts
SeverityFileLineSnippetContext
LOW.claude/skills/drt-analyze/SKILL.md43### Step 1: Verify ClusterCOMMENT
LOW.claude/skills/drt-analyze/SKILL.md55### Step 2: Launch 3 Parallel AgentsCOMMENT
LOW.claude/skills/drt-analyze/SKILL.md364### Step 3: Correlate and SynthesizeCOMMENT
LOW.claude/skills/drt-analyze/SKILL.md422### Step 4: Interactive Drill-DownCOMMENT
LOW.claude/skills/file-crdb-issue/SKILL.md13### Step 1: Discover Issue TemplatesCOMMENT
LOW.claude/skills/file-crdb-issue/SKILL.md31### Step 2: Gather InformationCOMMENT
LOW.claude/skills/file-crdb-issue/SKILL.md42### Step 3: Discover Available LabelsCOMMENT
LOW.claude/skills/file-crdb-issue/SKILL.md56### Step 4: Compose and ConfirmCOMMENT
LOW.claude/skills/file-crdb-issue/SKILL.md62### Step 5: File the IssueCOMMENT
LOW⚡.claude/skills/bump-cluster-ui/SKILL.md19### Step 1: Gather InputsCOMMENT
LOW⚡.claude/skills/bump-cluster-ui/SKILL.md25### Step 2: ValidateCOMMENT
LOW⚡.claude/skills/bump-cluster-ui/SKILL.md35### Step 3: Read Current StateCOMMENT
LOW.claude/skills/bump-cluster-ui/SKILL.md48### Step 4: Confirm with UserCOMMENT
LOW.claude/skills/bump-cluster-ui/SKILL.md64### Step 5: Identify Fork RemoteCOMMENT
LOW.claude/skills/bump-cluster-ui/SKILL.md79### Step 6: Create Release Branch PRCOMMENT
LOW.claude/skills/bump-cluster-ui/SKILL.md118### Step 7: Create Master PRCOMMENT
LOW.claude/skills/bump-cluster-ui/SKILL.md159### Step 8: ReportCOMMENT
LOW.claude/skills/reduce-unoptimized-query-oracle/SKILL.md23## Step 1: Locate artifactsCOMMENT
LOW.claude/skills/reduce-unoptimized-query-oracle/SKILL.md37## Step 2: Determine test configurationCOMMENT
LOW.claude/skills/reduce-unoptimized-query-oracle/SKILL.md79## Step 3: Check Out and BuildCOMMENT
LOW.claude/skills/reduce-unoptimized-query-oracle/SKILL.md99## Step 4: Prepare the Full SQL Log FileCOMMENT
LOW.claude/skills/reduce-unoptimized-query-oracle/SKILL.md118## Step 5: Initial ReproductionCOMMENT
LOW.claude/skills/reduce-unoptimized-query-oracle/SKILL.md161## Step 6: Use the Reduce ToolCOMMENT
LOW.claude/skills/reduce-unoptimized-query-oracle/SKILL.md217## Step 7: Create Test Script and Determine Reproduction RateCOMMENT
LOW.claude/skills/reduce-unoptimized-query-oracle/SKILL.md263## Step 8: Manual SimplificationCOMMENT
LOW.claude/skills/reduce-unoptimized-query-oracle/SKILL.md330## Step 9: Final Verification and OutputCOMMENT
LOWdocs/RFCS/20211103_loss_of_quorum_recovery.md77## Step 1: Improved Offline ApproachCOMMENT
LOWdocs/RFCS/20211103_loss_of_quorum_recovery.md148## Step 2: Half-Online approachCOMMENT
LOW⚡scripts/gceworker.sh258 # Step 1: Remove any existing gceworker line.COMMENT
LOW⚡scripts/gceworker.sh260 # Step 2: Insert the new line at the end unconditionallyCOMMENT
LOW⚡scripts/gceworker-old.sh280 # Step 1: Remove any existing gceworker line.COMMENT
LOW⚡scripts/gceworker-old.sh282 # Step 2: Insert the new line at the end unconditionallyCOMMENT
LOWscripts/localmetrics/README.md14### Step 1: procure a metrics dumpCOMMENT
LOW⚡scripts/localmetrics/README.md35### Step 3: open [Grafana](http://127.0.0.1:3000)COMMENT
LOW⚡scripts/localmetrics/README.md40### Step 4: PlayCOMMENT
LOW⚡scripts/localmetrics/README.md49### Step 5: docker compose stopCOMMENT
LOW.github/prompts/investigate.md98### Step 1: Read the IssueCOMMENT
LOW.github/prompts/investigate.md126### Step 2: Explore Related IssuesCOMMENT
LOW.github/prompts/investigate.md135### Step 3: Read the Source CodeCOMMENT
LOW.github/prompts/investigate.md154### Step 4: Download and Analyze ArtifactsCOMMENT
LOW.github/prompts/investigate.md321### Step 5: Write Your FindingsCOMMENT
LOWpkg/ui/.claude/skills/ui-visual-regression/SKILL.md31### Step 1: Determine Output DirectoryCOMMENT
LOWpkg/ui/.claude/skills/ui-visual-regression/SKILL.md43### Step 2: Analyze Git Diff for Changed UI PagesCOMMENT
LOWpkg/ui/.claude/skills/ui-visual-regression/SKILL.md76### Step 3: Create and Present Test PlanCOMMENT
LOWpkg/ui/.claude/skills/ui-visual-regression/SKILL.md87### Step 4: Set Up Local ClusterCOMMENT
LOWpkg/ui/.claude/skills/ui-visual-regression/SKILL.md126### Step 5: Start Dev ServerCOMMENT
LOWpkg/ui/.claude/skills/ui-visual-regression/SKILL.md152### Step 6: Capture Screenshots & Network Requests — Current Branch (After)COMMENT
LOWpkg/ui/.claude/skills/ui-visual-regression/SKILL.md188### Step 7: Checkout Base CommitCOMMENT
LOW⚡pkg/ui/.claude/skills/ui-visual-regression/SKILL.md206### Step 8: Capture Screenshots & Network Requests — Base (Before)COMMENT
LOW⚡pkg/ui/.claude/skills/ui-visual-regression/SKILL.md216### Step 9: Return to Original BranchCOMMENT
LOW⚡pkg/ui/.claude/skills/ui-visual-regression/SKILL.md224### Step 10: Compare Screenshots with ImageMagickCOMMENT
LOWpkg/ui/.claude/skills/ui-visual-regression/SKILL.md268### Step 11: Compare Network RequestsCOMMENT
LOWpkg/ui/.claude/skills/ui-visual-regression/SKILL.md293### Step 12: Cleanup & Report ResultsCOMMENT
LOW⚡pkg/cmd/roachtest/tests/schemachange.go811 // Step 1: Start clusterCOMMENT
LOW⚡pkg/cmd/roachtest/tests/schemachange.go821 // Step 2: Calculate workload parametersCOMMENT
LOW⚡pkg/cmd/roachtest/tests/schemachange.go829 // Step 3: Import data (no secondary index)COMMENT
LOW⚡pkg/cmd/roachtest/tests/schemachange.go840 // Step 4: Connect to databaseCOMMENT
LOW⚡pkg/cmd/roachtest/tests/schemachange.go844 // Step 5: Gather statisticsCOMMENT
LOW⚡pkg/cmd/roachtest/tests/schemachange.go852 // Step 6: Get logical data size using SHOW RANGES WITH DETAILSCOMMENT
LOWpkg/cmd/roachtest/tests/schemachange.go863 // Step 7: Print lease holder distributionCOMMENT
199 more matches not shown…
AI Slop Vocabulary94 hits · 282 pts
SeverityFileLineSnippetContext
MEDIUMpkg/cmd/roachtest/tests/backup_restore_driver.go2180// run `cockroach sql` directly here to leverage the existingCOMMENT
MEDIUM…/tests/admission_control_single_node_index_backfill.go158 // Increase index backfill parallelism to utilize more vCPUs.COMMENT
MEDIUM…/tests/admission_control_single_node_index_backfill.go218 // Increase compaction concurrency to better utilize 16 vCPUs. ThisCOMMENT
MEDIUM…/tests/admission_control_single_node_index_backfill.go607// it was set to fully utilize the disk bandwidth. We see disk bandwidthCOMMENT
MEDIUM…md/roachtest/tests/admission_control_index_backfill.go275 // Allow elastic work to fully utilize the provisionedCOMMENT
MEDIUMpkg/cmd/roachtest/spec/machine_type.go240// TODO: Add Ebsv5 machine type to leverage NVMeCOMMENT
MEDIUMpkg/cmd/roachtest/registry/test_spec.go198 // transition, tests should be modified to utilize the `test.Monitor` andCOMMENT
MEDIUMpkg/cmd/release/update_releases.go45 // to render the public CockroachDB releases page. We leverage theCOMMENT
MEDIUMpkg/cmd/bazci/githubpost/issues/condense.go66// that extract concise information for seamless debugging.COMMENT
MEDIUMpkg/kv/kvclient/rangefeed/rangefeedcache/watcher.go58// Users seeking to leverage the Updates which arrive with that delay but alsoCOMMENT
MEDIUMpkg/kv/kvclient/rangefeed/rangefeedcache/watcher.go149// utilize translateEvent to trigger actions without waiting for the delay dueCOMMENT
MEDIUMpkg/kv/kvclient/kvcoord/dist_sender_rangefeed_test.go851// bypass (rpc/context.go) which utilize buffered channels for client/server streamingCOMMENT
MEDIUMpkg/kv/kvclient/kvcoord/dist_sender_server_test.go1245 // Definitely more than one page in this case.COMMENT
MEDIUMpkg/kv/kvclient/kvcoord/dist_sender_server_test.go1249 // Definitely one page if limits are larger than result set.COMMENT
MEDIUMpkg/kv/kvclient/kvstreamer/streamer.go1287 // BatchRequest; however, in order to utilize the availableCOMMENT
MEDIUMpkg/kv/kvpb/errors.go762// pattern (loses structure, thus redaction). We can leverage error chainingCOMMENT
MEDIUMpkg/kv/kvserver/client_merge_test.go4305 // without this sleep, but best to be somewhat robust to differentCOMMENT
MEDIUMpkg/kv/kvserver/store.go3899 // real cumulative stats we use Monitor.CumulativeStats which is robust toCOMMENT
MEDIUMpkg/kv/kvserver/raft_log_queue.go227// Unfortunately, the size tracking is not very robust as it suffers from twoCOMMENT
MEDIUMpkg/kv/kvserver/client_split_test.go417// utilize the QueryLocks API to validate the exposed lock table information.COMMENT
MEDIUMpkg/kv/kvserver/replica_init.go465 // could remove all tests which utilize this behavior now that there'sCOMMENT
MEDIUMpkg/kv/kvserver/gossip_test.go64 // shown this solution to be sufficiently robust for now.COMMENT
MEDIUMpkg/kv/kvserver/testing_knobs.go99 // TODO(pavelkalinnikov): have a more stable and less nuanced way of blockingCOMMENT
MEDIUMpkg/kv/kvserver/client_replica_test.go956// Fundamentally the guarantee the observed timestamp is intended to provide,COMMENT
MEDIUMpkg/kv/kvserver/client_replica_test.go5152 // We also configure the settings to be as robust as possible to problemsCOMMENT
MEDIUMpkg/kv/kvserver/rangefeed/resolved_timestamp.go35// these concepts are not the same. Fundamentally, a closed timestamp is aCOMMENT
MEDIUMpkg/kv/kvserver/print/debug_print.go67// keys are currently MVCC range keys, so it will utilize SprintMVCCRangeKey forCOMMENT
MEDIUMpkg/kv/kvserver/print/debug_print.go95// the case of an MVCCKey, it will utilize SprintMVCCKeyValue for proper MVCCCOMMENT
MEDIUMpkg/kv/kvserver/print/debug_print.go111// string. All range keys are currently MVCC range keys, so it will utilizeCOMMENT
MEDIUM…v/kvserver/rangelog/internal/genrangelogdatapb/main.go10// The reason for this is so that the testdata remains robust to fieldCOMMENT
MEDIUMpkg/kv/kvserver/batcheval/cmd_add_sstable.go110// on the engine, it is more efficient to utilize bloom filters on the engine'sCOMMENT
MEDIUMpkg/kv/kvserver/spanlatch/manager_test.go261 // Certainly blocks now.COMMENT
MEDIUMpkg/kv/kvserver/allocator/mmaprototype/load.go468// the given set (encoded in means). It attempts to utilize a cached value ifCOMMENT
MEDIUMpkg/kv/kvserver/kvadmission/kvadmission.go360 // "elastic" CPU control, to adaptively utilize more or less CPU capacityCOMMENT
MEDIUMpkg/kv/kvserver/tenantrate/limiter_test.go403// make it more robust to races in metric recording.COMMENT
MEDIUMpkg/util/unique/unique.go84// custom epoch (Jan 1, 2015) in order to utilize the entire timestamp range.COMMENT
MEDIUMpkg/util/debugutil/debugutil.go17// IsLaunchedByDebugger returns true in cases where the delve debuggerCOMMENT
MEDIUMpkg/util/admission/io_load_listener.go981 // Ingested sstables do not utilize any flush capacity. Consider 2 cases:COMMENT
MEDIUMpkg/util/admission/cpu_time_token_filler.go106// to be robust against delayed and dropped time.Timer ticks. ThatCOMMENT
MEDIUMpkg/util/admission/work_queue.go1244 // activity. In this case, we do not leverage the grunning measurementCOMMENT
MEDIUMpkg/util/tsearch/tsquery.go577// without some redesign of the tsquery structure. Certainly it would not beCOMMENT
MEDIUM…rosscluster/physical/replication_random_client_test.go68// to utilize other Validator's.COMMENT
MEDIUM…luster/logical/logical_replication_writer_processor.go849 // Figure out how many workers we can utilize from the pool for the number ofCOMMENT
MEDIUMpkg/sqlproxy/connector.go414// errRetryConnectorSentinel exists to allow more robust retection of retryCOMMENT
MEDIUMpkg/ccl/changefeedccl/metrics.go429// level, not the per-scope level. Also, we don't leverage any of the aggmetricsCOMMENT
MEDIUMpkg/ccl/changefeedccl/sink_pulsar.go106 // making a patch to the downstream library to utilize contextsCOMMENT
MEDIUMpkg/server/tenant.go711 // Set up calling s.cfg.ReadyFn at the right time. Essentially, this callCOMMENT
MEDIUMpkg/server/server.go1841 // Set up calling s.cfg.ReadyFn at the right time. Essentially, this callCOMMENT
MEDIUMpkg/server/testserver.go661 // Currently, all the servers leverage the same tenant ID. We mayCOMMENT
MEDIUMpkg/roachprod/install/cockroach.go313 // if it is a local cluster. Local clusters utilize non-default ports to preventCOMMENT
MEDIUMpkg/roachprod/vm/aws/config.go48// but it was deemed more straightforward to utilize the json.UnmarshalerCOMMENT
MEDIUMpkg/cli/node.go624 // step to make the decommissioning command more robust.COMMENT
MEDIUMpkg/cli/clisqlshell/sql.go1847 // characters in the username are properly quoted, to make this robustCOMMENT
MEDIUMpkg/cli/clisqlshell/sql.go2190 // Definitely no more input expected.COMMENT
MEDIUMpkg/storage/mvcc.go1932 // key we can utilize a blind put to avoid reading any existing value.COMMENT
MEDIUMpkg/storage/mvcc.go2077// that the transactional write was already executed before. Essentially a replay.COMMENT
MEDIUMpkg/storage/pebble.go1257 // disk is stalled. While the logging subsystem should also be robust toCOMMENT
MEDIUMpkg/jobs/errors.go19// be marked with it, allowing more robust detection of retry errors even ifCOMMENT
MEDIUMpkg/backup/show.go364 // robust check.COMMENT
MEDIUMpkg/backup/show.go479 // robust check.COMMENT
34 more matches not shown…
Verbosity Indicators102 hits · 185 pts
SeverityFileLineSnippetContext
LOW⚡scripts/gceworker.sh258 # Step 1: Remove any existing gceworker line.COMMENT
LOW⚡scripts/gceworker.sh260 # Step 2: Insert the new line at the end unconditionallyCOMMENT
LOW⚡scripts/gceworker-old.sh280 # Step 1: Remove any existing gceworker line.COMMENT
LOW⚡scripts/gceworker-old.sh282 # Step 2: Insert the new line at the end unconditionallyCOMMENT
LOW⚡pkg/cmd/roachtest/tests/schemachange.go811 // Step 1: Start clusterCOMMENT
LOW⚡pkg/cmd/roachtest/tests/schemachange.go821 // Step 2: Calculate workload parametersCOMMENT
LOW⚡pkg/cmd/roachtest/tests/schemachange.go829 // Step 3: Import data (no secondary index)COMMENT
LOW⚡pkg/cmd/roachtest/tests/schemachange.go840 // Step 4: Connect to databaseCOMMENT
LOW⚡pkg/cmd/roachtest/tests/schemachange.go844 // Step 5: Gather statisticsCOMMENT
LOW⚡pkg/cmd/roachtest/tests/schemachange.go852 // Step 6: Get logical data size using SHOW RANGES WITH DETAILSCOMMENT
LOWpkg/cmd/roachtest/tests/schemachange.go863 // Step 7: Print lease holder distributionCOMMENT
LOWpkg/cmd/roachtest/tests/schemachange.go885 // Step 8: Configure distributed merge modeCOMMENT
LOWpkg/cmd/roachtest/tests/schemachange.go922 // Step 9: Create index and measure timeCOMMENT
LOWpkg/cmd/roachtest/tests/schemachange.go943 // Step 10: Report resultsCOMMENT
LOWpkg/cmd/release/update_releases_test.go319 // Step 1: Simulate processReleaseData output — the docs YAML hasCOMMENT
LOW⚡pkg/cmd/release/update_releases_test.go340 // Step 2: Simulate the existing file — it has 26.2 and 26.3 fromCOMMENT
LOW⚡pkg/cmd/release/update_releases_test.go348 // Step 3: Preserve unreleased series.COMMENT
LOW⚡pkg/cmd/release/update_releases_test.go355 // Step 4: Add current release (master is at 26.3).COMMENT
LOW⚡pkg/cmd/release/update_releases_test.go364 // Step 5: Verify findLatestReleasedPredecessor walks pastCOMMENT
LOWpkg/cmd/dev/generate.go392 // Step 1: Generate swagger.json via Bazel-managed swag.COMMENT
LOWpkg/cmd/dev/generate.go418 // Step 2: Convert Swagger 2.0 -> OpenAPI 3.0 using Bazel-managed swagger2openapi.COMMENT
LOWpkg/cmd/dev/generate.go432 // Step 3: Generate TypeScript types using Bazel-managed openapi-typescript.COMMENT
LOW⚡…-centralized/utils/api/bindings/stripe/binding_test.go486 // Step 1: Bind query parameters to structCOMMENT
LOW⚡…-centralized/utils/api/bindings/stripe/binding_test.go491 // Step 2: Convert to FilterSetCOMMENT
LOW⚡…-centralized/utils/api/bindings/stripe/binding_test.go494 // Step 3: Verify the resultsCOMMENT
LOW⚡…-centralized/utils/api/bindings/stripe/binding_test.go611 // Step 1: Bind query parameters to structCOMMENT
LOW⚡…-centralized/utils/api/bindings/stripe/binding_test.go616 // Step 2: Convert to FilterSetCOMMENT
LOW⚡…-centralized/utils/api/bindings/stripe/binding_test.go619 // Step 3: Verify the resultsCOMMENT
LOWpkg/cmd/roachprod-centralized/services/clusters/sync.go69 // Step 2: Sync from cloud.COMMENT
LOWpkg/kv/kvserver/allocator/mmaprototype/constraint.go1018 // Step 1: Handle conjPossiblyIntersecting relationships.COMMENT
LOWpkg/kv/kvserver/allocator/mmaprototype/constraint.go1049 // Step 2: Handle conjEqualSet and conjStrictSubset relationships.COMMENT
LOWpkg/kv/kvserver/allocator/mmaprototype/constraint.go1086 // Step 3: Handle empty voter constraints before conjStrictSuperset:COMMENT
LOWpkg/kv/kvserver/allocator/mmaprototype/constraint.go1114 // Step 4: Handle conjStrictSuperset relationships (narrowing).COMMENT
LOWpkg/kv/kvserver/allocator/mmaprototype/constraint.go1183 // Step 5: Handle conjNonIntersecting relationships.COMMENT
LOWpkg/kv/kvserver/allocator/mmaprototype/constraint.go1198 // Step 6: Verify all voter constraints are satisfied.COMMENT
LOWpkg/kv/kvserver/mmaintegration/physical_model.go191 // Step 1: Estimate the amplification factor and immovable CPU.COMMENT
LOWpkg/kv/kvserver/mmaintegration/physical_model.go217 // Step 2: Compute per-store load and capacity.COMMENT
LOWpkg/kv/kvserver/asim/op/controller.go245 // We need to check if the change is already complete. If it is, we canCOMMENT
LOW⚡pkg/util/schedulerlatency/sampler.go349 // Step 1: Find the bucket[i] which contains the target value.COMMENT
LOW⚡pkg/util/schedulerlatency/sampler.go353 // Step 2: Determine the rank within the bucket (subset of histogram).COMMENT
LOW⚡pkg/util/schedulerlatency/sampler.go357 // Step 3: Use the "subset_rank" to interpolate the target value.COMMENT
LOWpkg/security/oidcauth/authorization_oidc_test.go318 // Step 1: hit /oidc/v1/login and capture the state cookie.COMMENT
LOWpkg/security/oidcauth/authorization_oidc_test.go336 // Step 2: simulate the IdP redirect to /oidc/v1/callback.COMMENT
LOWpkg/security/oidcauth/authorization_oidc_test.go671 // Step 1: hit /oidc/v1/login and capture the state cookie.COMMENT
LOWpkg/security/oidcauth/authorization_oidc_test.go689 // Step 2: simulate the IdP redirect to /oidc/v1/callback.COMMENT
LOWpkg/security/oidcauth/authentication_oidc_test.go312 // Step 1: Login request via the app tenant's URL (includes ?cluster=test-tenant).COMMENT
LOWpkg/security/oidcauth/authentication_oidc_test.go336 // Step 2: Simulate the IdP callback. Use a client from the system layerCOMMENT
LOWpkg/ccl/changefeedccl/changefeed_test.go11641 // Step 1: Wait for the highwater to advance. This guarantees that there is some highwaterCOMMENT
LOW⚡pkg/ccl/changefeedccl/changefeed_test.go11659 // Step 2: Since `changefeedIsRetrying` is true, the changefeed will now attempt retries inCOMMENT
LOW⚡pkg/ccl/changefeedccl/changefeed_test.go11661 // Step 3: `knobs.AfterReloadJobProgressForRetry` will result an in error when reading the job record a couple of timeCOMMENT
LOW⚡pkg/ccl/changefeedccl/changefeed_test.go11663 // Step 4: Eventually, a dist changefeed is started at a certain highwater timestamp.COMMENT
LOWpkg/roachprod/vm/aws/aws.go1185 // Step 1: Create launch template and ASG (with desiredCapacity=0) in each region.COMMENT
LOWpkg/roachprod/vm/aws/aws.go1216 // Step 2: Create instances with proper names using createInstances().COMMENT
LOW⚡pkg/roachprod/vm/aws/aws.go1227 // Step 3: Wait for instances to be running before attaching to ASG.COMMENT
LOW⚡pkg/roachprod/vm/aws/aws.go1235 // Step 4: Attach instances to the ASG.COMMENT
LOWpkg/roachprod/vm/aws/aws.go3158 // Step 1: Create Target GroupCOMMENT
LOWpkg/roachprod/vm/aws/aws.go3192 // Step 2: Register targets with the target group.COMMENT
LOWpkg/roachprod/vm/aws/aws.go3229 // Step 3: Create Network Load BalancerCOMMENT
LOWpkg/roachprod/vm/aws/aws.go3271 // Step 4: Create ListenerCOMMENT
LOW⚡pkg/cli/gen_dashboard.go666 // Step 1: Extract and strip node/store prefix using reCrStoreNode regexCOMMENT
42 more matches not shown…
Hyper-Verbose Identifiers107 hits · 107 pts
SeverityFileLineSnippetContext
LOW.claude/skills/engflow-artifacts/engflow_artifacts.py191def get_target_labels_by_status(auth_args, instance, invocation_id, status_code):CODE
LOW…ude/skills/engflow-artifacts/engflow_artifacts_test.py48 def test_labels_are_sorted_target_strings(self):CODE
LOW…ude/skills/engflow-artifacts/engflow_artifacts_test.py95 def test_kvserver_shard_count(self):CODE
LOW…ude/skills/engflow-artifacts/engflow_artifacts_test.py125 def test_kvserver_passing_shard_no_outputs(self):CODE
LOW…ude/skills/engflow-artifacts/engflow_artifacts_test.py136 def test_oidcccl_single_shard_three_runs(self):CODE
LOWscripts/release-notes.py759def analyze_standalone_commit(commit):CODE
LOW…/ui/workspaces/db-console/src/util/highlightedText.tsx89export function isStringIncludesArrayElement(arr: string[], text: string) {CODE
LOW…e/src/util/analytics/trackDownloadDiagnosticsBundle.ts17export default function trackDownloadDiagnosticsBundle(statement: string) {CODE
LOW…onsole/src/util/analytics/trackDiagnosticsModalOpen.ts17export default function trackDiagnosticsModalOpen(statement: string) {CODE
LOW…ole/src/util/analytics/trackCancelDiagnosticsBundle.ts17export default function trackCancelDiagnosticsBundle(statement: string) {CODE
LOW…e/src/views/cluster/containers/nodesOverview/index.tsx605export function decommissionedNodesTableData(CODE
LOW…nsole/src/views/shared/components/summaryBar/index.tsx203function aggregateLatestValuesFromMetrics(CODE
LOW…reports/containers/metricsWorkspace/dashboardConfig.ts31export function generateGraphTitleFromMetrics(CODE
LOW…s/containers/nodeHistory/decommissionedNodeHistory.tsx86function DecommissionedNodeHistory({CODE
LOW…b-console/src/views/reports/containers/nodes/index.tsx87function printSingleValueWithFunction(CODE
LOW…ports/containers/statementDiagnosticsHistory/index.tsx43function useStatementDiagnosticsReports() {CODE
LOW…ports/containers/diagnosticsHistoryPage/index.spec.tsx15 return function MockStatementDiagnosticsHistory() {CODE
LOW…ports/containers/diagnosticsHistoryPage/index.spec.tsx25 return function MockTransactionDiagnosticsHistory() {CODE
LOW…db-console/src/views/reports/containers/range/print.ts105export function PrintTimestampDeltaFromNow(CODE
LOW…sole/src/views/reports/containers/range/rangeTable.tsx410function createContentIntentAvgAge(CODE
LOW…rts/containers/transactionDiagnosticsHistory/index.tsx42function useTransactionDiagnosticsReports() {CODE
LOW…b-console/src/views/reports/containers/debug/index.tsx196function StatementDiagnosticsSelector() {CODE
LOWpkg/ui/workspaces/db-console/src/redux/localsettings.ts61export function getValueFromSessionStorage(key: string) {CODE
LOWpkg/ui/workspaces/db-console/src/redux/alerts.ts105export function setInstructionsBoxCollapsed(CODE
LOWpkg/ui/workspaces/db-console/src/redux/alerts.ts130export function getStaggeredVersionWarning(CODE
LOWpkg/ui/workspaces/db-console/src/redux/alerts.ts170export function getNewVersionNotification(CODE
LOWpkg/ui/workspaces/db-console/src/redux/alerts.ts402export function getClusterPreserveDowngradeOptionOvertime(CODE
LOWpkg/ui/workspaces/db-console/src/redux/alerts.ts453export function getUpgradeNotFinalizedWarning(CODE
LOW…s/db-console/src/routes/RedirectToStatementDetails.tsx19export function RedirectToStatementDetails({ match }: Props) {CODE
LOW…/ui/workspaces/db-console/src/routes/visualization.tsx27export default function createClusterOverviewRoutes(): JSX.Element {CODE
LOWpkg/ui/workspaces/cluster-ui/src/insights/utils.ts84export function getAppsFromTransactionInsights(CODE
LOWpkg/ui/workspaces/cluster-ui/src/insights/utils.ts245export function getAppsFromStatementInsights(CODE
LOWpkg/ui/workspaces/cluster-ui/src/insights/utils.ts272export function getInsightsFromProblemsAndCauses(CODE
LOWpkg/ui/workspaces/cluster-ui/src/insights/utils.ts333export function getRecommendationForExecInsight(CODE
LOWpkg/ui/workspaces/cluster-ui/src/insights/utils.ts389export function getStmtInsightRecommendations(CODE
LOWpkg/ui/workspaces/cluster-ui/src/insights/utils.ts418export function getTxnInsightRecommendations(CODE
LOW…sights/workloadInsightDetails/insightDetailsTables.tsx27export function makeInsightDetailsColumns(CODE
LOW…sights/workloadInsightDetails/insightDetailsTables.tsx131export function makeInsightStatementContentionColumns(): ColumnDescriptor<ContentionDetails>[] {CODE
LOW…dInsights/statementInsights/statementInsightsTable.tsx61export function makeStatementInsightsColumns(): ColumnDescriptor<StmtInsightEvent>[] {CODE
LOW…ights/transactionInsights/transactionInsightsTable.tsx55export function makeTransactionInsightsColumns(): ColumnDescriptor<TxnInsightEvent>[] {CODE
LOW…s/cluster-ui/src/indexDetailsPage/indexDetailsPage.tsx91export function parseSchemaQualifiedTableName(qualifiedName: string): {CODE
LOW…orkspaces/cluster-ui/src/util/sqlActivityConstants.tsx33function isSortOptionOnActivityTable(sort: SqlStatsSortType): boolean {CODE
LOW…orkspaces/cluster-ui/src/util/sqlActivityConstants.tsx46function isSortOptionForStatementOnly(sort: SqlStatsSortType): boolean {CODE
LOWpkg/ui/workspaces/cluster-ui/src/util/format.ts363export function EncodeDatabasesToIndexUri(CODE
LOWpkg/ui/workspaces/cluster-ui/src/util/format.ts378export function EncodeDatabaseTableIndexUri(CODE
LOW…ui/workspaces/cluster-ui/src/util/appStats/appStats.ts351export function transactionScopedStatementKey(CODE
LOWpkg/ui/workspaces/cluster-ui/src/util/sql/summarize.ts58export function computeOrUseStmtSummary(CODE
LOW…ces/cluster-ui/src/highlightedText/highlightedText.tsx14export function isStringIncludesArrayElement(CODE
LOW…ces/cluster-ui/src/statementDetails/timeseriesUtils.ts34export function generateExecuteAndPlanningTimeseries(CODE
LOW…ces/cluster-ui/src/statementDetails/timeseriesUtils.ts59export function generateClientWaitTimeseries(CODE
LOW…ces/cluster-ui/src/statementDetails/timeseriesUtils.ts79export function generateRowsProcessedTimeseries(CODE
LOW…ces/cluster-ui/src/statementDetails/timeseriesUtils.ts104export function generateExecRetriesTimeseries(CODE
LOW…ces/cluster-ui/src/statementDetails/timeseriesUtils.ts128export function generateExecCountTimeseries(CODE
LOW…ces/cluster-ui/src/statementDetails/timeseriesUtils.ts148export function generateContentionTimeseries(CODE
LOW…ces/cluster-ui/src/statementDetails/timeseriesUtils.ts192export function generatePlanDistributionTimeseries(CODE
LOW…ces/cluster-ui/src/statementDetails/timeseriesUtils.ts249export function generateCanaryVsStableTimeseries(CODE
LOW…ces/cluster-ui/src/statementDetails/timeseriesUtils.ts332export function computeWeightedAvgLatencyByGist(CODE
LOW…ces/cluster-ui/src/statementDetails/timeseriesUtils.ts360export function generateCanaryVsStablePlanDistribution(CODE
LOW…/statementDetails/diagnostics/diagnosticsView.spec.tsx29function generateDiagnosticsRequest(CODE
LOW…ces/cluster-ui/src/statementsTable/statementsTable.tsx402export function populateRegionNodeForStatements(CODE
47 more matches not shown…
Self-Referential Comments35 hits · 102 pts
SeverityFileLineSnippetContext
MEDIUMcloud/kubernetes/multiregion/setup.py151# Create a cockroachdb-public service in the default namespace in each cluster.STRING
MEDIUMcloud/kubernetes/multiregion/setup.py165# Create the cockroach resources in each cluster.STRING
MEDIUMcloud/kubernetes/multiregion/external-name-svc.yaml1# This file contains the definitions needed to expose cockroachdb in a namespaceCOMMENT
MEDIUMcloud/kubernetes/prometheus/alertmanager.yaml11# Create a Service to allow Prometheus to talk to AlertManagerCOMMENT
MEDIUMcloud/kubernetes/prometheus/prometheus.yaml1# Create a service account for prometheus to run underCOMMENT
MEDIUMcloud/kubernetes/prometheus/prometheus.yaml9# Define the access permissions that prometheus will run withCOMMENT
MEDIUMscripts/bump-pebble.sh96# Create the branch and commit on the CockroachDB repository.COMMENT
MEDIUM⚡.github/workflows/pr-autosolve-comments.yml506 # Create a new commit if we didn't author the originalCOMMENT
MEDIUM⚡.github/workflows/pr-autosolve-ci.yml401 # Create a new commit if we didn't author the originalCOMMENT
MEDIUMmonitoring/rules/aggregation.rules.yml1# This file contains aggregation rules, specifically:COMMENT
MEDIUMpkg/cmd/roachtest/roachstress.sh109# Define the artifacts base dir, within which both the built binaries and theCOMMENT
MEDIUMpkg/cmd/roachtest/tests/ruby_pg_helpers.rb123 ### Create a string that contains the ANSI codes specified and return itCOMMENT
MEDIUMpkg/cmd/roachprod/cli/commands.go1789# Create an annotation over time range 1-100 on the centralized grafana instance, which needs authentication.COMMENT
MEDIUMpkg/cmd/drt/scripts/cct_232_setup.sh34# Create the cluster itself.COMMENT
MEDIUMpkg/cmd/drtprod/configs/drt_chaos_aws.yaml222 # Create a weekly full backup scheduleCOMMENT
MEDIUMpkg/cmd/drtprod/scripts/generate_tpcc_drop.sh40 # Create the workload scriptCOMMENT
MEDIUMpkg/cmd/drtprod/scripts/create_run_operation.sh56 # Create a file with the name "run_ops_<identifier>.sh" and add the entry of roachtest run-operationCOMMENT
MEDIUMpkg/cmd/drtprod/scripts/generate_bank_run.sh51 # Create the workload scriptCOMMENT
MEDIUMpkg/cmd/drtprod/scripts/generate_ycsb_run.sh64 # Create the workload scriptCOMMENT
MEDIUMpkg/cmd/drtprod/scripts/generate_tpcc_run.sh124 # Create the workload scriptCOMMENT
MEDIUMpkg/cmd/drtprod/scripts/generate_kv_run.sh39 # Create the workload scriptCOMMENT
MEDIUM…g/cmd/roachprod-centralized/docker/image/entrypoint.sh10# Create the necessary directoriesCOMMENT
MEDIUM…cmd/roachprod-centralized/scripts/integration-tests.sh2046# Create an orphan SA as Alice to test privilege escalationCOMMENT
MEDIUMpkg/kv/kvserver/raftstorebench/doc.go42## Create a GCE nodeCOMMENT
MEDIUM…ents/opentelemetry/files/cockroachdb_metrics_base.yaml1# This file is copy of pkg/cli/files/cockroachdb_metrics_base.yamlCOMMENT
MEDIUM…ents/opentelemetry/files/cockroachdb_metrics_base.yaml4# This file contains two types of metric definitions:COMMENT
MEDIUM…od/agents/opentelemetry/files/cockroachdb_metrics.yaml8# This file is auto-generated when running "./dev generate".COMMENT
MEDIUM…od/agents/opentelemetry/files/cockroachdb_metrics.yaml13# This file is generated by merging metrics from three sources:COMMENT
MEDIUMpkg/roachprod/vm/aws/terraform/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
MEDIUMpkg/roachprod/failureinjection/failures/latency.go106# Create a root htb qdisc that all other qdiscs will be attached to.COMMENT
MEDIUMpkg/roachprod/failureinjection/failures/latency.go115# Create a class for the new latency rule. htb makes us set a bandwidth limit so set itCOMMENT
MEDIUMpkg/cli/files/cockroachdb_metrics_base.yaml1# This file is copy of pkg/roachprod/agents/opentelemetry/files/cockroachdb_metrics_base.yamlCOMMENT
MEDIUMpkg/cli/files/cockroachdb_metrics_base.yaml4# This file contains two types of metric definitions:COMMENT
MEDIUMpkg/cli/files/cockroachdb_datadog_metrics.yaml8# This file is auto-generated when running "./dev generate".COMMENT
MEDIUMpkg/cli/files/cockroachdb_datadog_metrics.yaml15# This file contains the raw Datadog metric name mappings from METRIC_MAP and OMV2_METRIC_MAP.COMMENT
Modern AI Meta-Vocabulary26 hits · 71 pts
SeverityFileLineSnippetContext
MEDIUM…RFCS/20220818_version_upgrades_for_virtual_clusters.md27 - [SQL server startup guardrails](#sql-server-startup-guardrails)CODE
MEDIUM…RFCS/20220818_version_upgrades_for_virtual_clusters.md28 - [Version ratcheting guardrails](#version-ratcheting-guardrails)CODE
MEDIUM…RFCS/20220818_version_upgrades_for_virtual_clusters.md123## SQL server startup guardrailsCOMMENT
MEDIUM…RFCS/20220818_version_upgrades_for_virtual_clusters.md132## Version ratcheting guardrailsCOMMENT
MEDIUMcloud/kubernetes/multiregion/eks/README.md51Before initializing the cluster, however, you must enable CockroachDB pods to communicate across regions. This includes CODE
MEDIUMpkg/cmd/roachtest/tests/multitenant_distsql.go59 // 1 byte to bypass the guardrails.COMMENT
MEDIUMpkg/cmd/tef/TODO.md267# Start orchestration engine (e.g., Temporal)COMMENT
MEDIUMpkg/cmd/roachprod-centralized/docker/README.md23└── scripts/ # Build orchestration scriptsCODE
MEDIUMpkg/cmd/roachprod-centralized/docs/DEVELOPMENT.md142│ └── scripts/ # Build orchestration scriptsCODE
MEDIUMpkg/cmd/roachprod-centralized/docs/services/TASKS.md11├── service.go # Service orchestration and lifecycleCODE
MEDIUMpkg/cmd/roachprod-centralized/docs/services/CLUSTERS.md11├── service.go # Service orchestration and lifecycleCODE
MEDIUMpkg/upgrade/upgrademanager/manager_external_test.go56 // guardrails against versions beyond latest.COMMENT
MEDIUMpkg/kv/kvserver/replica_app_batch.go532 // truncation path must not be taken. Add guardrails for that. This is allowedCOMMENT
MEDIUMpkg/kv/kvserver/replica_raftlog.go167 // TODO(pav-kv): we need better safety guardrails here. The log storage typeCOMMENT
MEDIUMpkg/kv/kvserver/batcheval/cmd_export.go42 // sql.guardrails.max_row_size_log and sql.guardrails.max_row_size_err.COMMENT
MEDIUMpkg/kv/kvserver/batcheval/cmd_export.go62 // sql.guardrails.max_row_size_err.COMMENT
MEDIUMpkg/sql/tablewriter.go156 // never error out based on the txn row count guardrails).COMMENT
MEDIUMpkg/sql/executor_statement_metrics.go143// GuardrailMetrics groups metrics related to different guardrails in the SQLCOMMENT
MEDIUMpkg/sql/conn_executor.go456 // GuardrailMetrics contains metrics related to different guardrails in theCOMMENT
MEDIUMpkg/sql/conn_executor_exec.go3377// handleTxnRowsGuardrails handles either "written" or "read" rows guardrails.COMMENT
MEDIUMpkg/sql/conn_executor_exec.go3459 // guardrails is on the externally initiated queries.COMMENT
MEDIUMpkg/sql/rowinfra/metrics.go12 // sql.guardrails.max_row_size_log.count{.internal} metrics.COMMENT
MEDIUMpkg/sql/rowinfra/metrics.go20 // sql.guardrails.max_row_size_err.count{.internal} metrics.COMMENT
MEDIUMpkg/sql/row/helper.go45 // maxRowSizeFloor is the lower bound for sql.guardrails.max_row_size_{log|err}.COMMENT
MEDIUMpkg/sql/row/helper.go47 // maxRowSizeCeil is the upper bound for sql.guardrails.max_row_size_{log|err}.COMMENT
MEDIUMpkg/sql/pgwire/pgwirebase/encoding.go54 // sql.guardrails.max_row_size_log.COMMENT
Fake / Example Data46 hits · 54 pts
SeverityFileLineSnippetContext
LOW…s/emailSubscriptionForm/emailSubscriptionForm.spec.tsx21 const emailAddress = "foo@bar.com";CODE
LOW…rc/redux/customAnalytics/customAnalyticsClient.spec.ts17 const email = "foo@bar.com";CODE
LOW⚡…cluster-ui/src/empty/emptyTable/emptyTable.stories.tsx23 message={"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}CODE
LOW⚡…cluster-ui/src/empty/emptyTable/emptyTable.stories.tsx23 message={"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}CODE
LOW⚡…cluster-ui/src/empty/emptyTable/emptyTable.stories.tsx29 message={"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}CODE
LOW⚡…cluster-ui/src/empty/emptyTable/emptyTable.stories.tsx29 message={"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}CODE
LOWpkg/ui/workspaces/cluster-ui/src/search/search.tsx31 Omit<InputProps, "onSubmit" | "defaultValue" | "placeholder" | "onChange">; // Omit shadowed props by ISearchProps typCODE
LOWpkg/cmd/roachtest/main_test.go122 _ = os.Setenv("SNOWFLAKE_USER", "dummy_user")CODE
LOWpkg/cmd/roachtest/testselector/selector_test.go36 _ = os.Setenv(sfUsernameEnv, "dummy_user")CODE
LOWpkg/cmd/roachtest/testselector/selector_test.go160 _ = os.Setenv(sfUsernameEnv, "dummy_user")CODE
LOWpkg/cmd/roachtest/testselector/selector_test.go168 _ = os.Setenv(sfUsernameEnv, "dummy_user")CODE
LOW…rod-centralized/utils/api/bindings/scim/mapper_test.go182 {Field: "emails", Operator: filtertypes.OpEqual, Value: "user@example.com"},CODE
LOW…rod-centralized/utils/api/bindings/scim/parser_test.go337 input: `displayName eq "John Doe"`,CODE
LOW…rod-centralized/utils/api/bindings/scim/parser_test.go338 expectValue: "John Doe",CODE
LOW…md/roachprod-centralized/controllers/scim/scim_test.go160 Email: "user@example.com",CODE
LOW…md/roachprod-centralized/controllers/scim/scim_test.go182 assert.Equal(t, "user@example.com", response.UserName)CODE
LOW…md/roachprod-centralized/controllers/scim/scim_test.go358 Email: "user@example.com",CODE
LOW…md/roachprod-centralized/controllers/scim/scim_test.go407 Email: "user@example.com",CODE
LOW…md/roachprod-centralized/controllers/scim/scim_test.go1087 Email: "user@example.com",CODE
LOW…chprod-centralized/controllers/auth/controller_test.go190 Email: "user@example.com",CODE
LOW…chprod-centralized/controllers/auth/controller_test.go235 assert.Equal(t, "user@example.com", response.User.Email)CODE
LOW…roachprod-centralized/services/auth/validation_test.go29 email: "user@example.com",CODE
LOW…roachprod-centralized/services/auth/validation_test.go89 Email: "user@example.com",CODE
LOW…roachprod-centralized/services/auth/validation_test.go100 Email: "user@example.com",CODE
LOW…roachprod-centralized/services/auth/validation_test.go130 Email: "user@example.com",CODE
LOW…roachprod-centralized/services/auth/validation_test.go139 Email: "user@example.com",CODE
LOWpkg/util/retry/retry_test.go210 expectedErr := errors.New("placeholder")CODE
LOWpkg/util/retry/retry_test.go377 expectedErr := errors.New("placeholder")CODE
LOWpkg/util/assetbundle/assetbundle_test.go33 cdTxtContents := "lorem ipsum"CODE
LOWpkg/security/oidcauth/authentication_oidc_test.go111 return claims, nil, "dummy-id-token", "dummy-access-token", nilCODE
LOWpkg/security/oidcauth/authentication_oidc_test.go1127 sqlDB.Exec(t, fmt.Sprintf(`CREATE USER %s WITH PASSWORD 'placeholder'`, usernameUnderTest))CODE
LOW⚡pkg/crosscluster/logical/txnlock/lock_synthesis_test.go515 // Insert row id=2 with email "user@example.com".COMMENT
LOW⚡pkg/crosscluster/logical/txnlock/lock_synthesis_test.go516 ucEB.InsertEvent(txnTime, ucRow(2, "user@example.com")),CODE
LOW⚡pkg/crosscluster/logical/txnlock/lock_synthesis_test.go517 // Delete row id=1 whose PrevRow had email "user@example.com".COMMENT
LOW⚡pkg/crosscluster/logical/txnlock/lock_synthesis_test.go518 ucEB.DeleteEvent(txnTime, ucRow(1, "user@example.com")),CODE
LOW⚡pkg/crosscluster/logical/txnlock/lock_synthesis_test.go521 // UC("user@example.com") shared, so deduplicated: 3 total.COMMENT
LOWpkg/cli/statement_bundle.go67 statementBundleRecreateCmd.Flags().StringArrayVar(&placeholderPairs, "placeholder", nil,CODE
LOWpkg/workload/faker/faker.go13// "lorem ipsum" placeholder text. Faker is safe for concurrent use.COMMENT
LOWpkg/workload/schemachange/operation_generator.go5199 stmt, err := parser.ParseOne(fmt.Sprintf("SELECT 'placeholder'::%s", typeName))CODE
LOWpkg/sql/sem/tree/type_check.go3014 typedExpr, err := typeCheckAndRequire(s.ctx, s.semaCtx, s.exprs[i], typ, "placeholder")CODE
LOWpkg/sql/sem/tree/type_check.go3103 typedExpr, err := typeCheckAndRequire(s.ctx, s.semaCtx, s.exprs[i], desired, "placeholder")CODE
LOW…/schemachanger/scbuild/internal/scbuildstmt/helpers.go1016// `inUseTempIDs`, if true, assign "temporary"/"placeholder" index/constraintCOMMENT
LOWpkg/sql/pgwire/role_mapper_test.go85 mappings, err := mapper(ctx, []string{"admin@example.com"})CODE
LOWpkg/sql/pgwire/role_mapper_test.go131 mappings, err := mapper(ctx, []string{"alice@example.com", "admin@example.com", "bob@example.com"})CODE
LOWpkg/sql/pgwire/identmap/ident_map_test.go445 "user@example.com",CODE
LOWpkg/sql/pgwire/identmap/ident_map_test.go456 "user@example.com",CODE
Slop Phrases20 hits · 50 pts
SeverityFileLineSnippetContext
MEDIUMcloud/kubernetes/bring-your-own-certs/client.yaml8# resources. After creating the pod, you can use it to open up a SQL shell toCOMMENT
MEDIUMpkg/kv/range_lookup.go169 // RangeLookup scans can span multiple ranges, as discussed above.COMMENT
LOWpkg/kv/kvpb/errors.go304 // When adding new error types, don't forget to update NumErrors below.COMMENT
MEDIUMpkg/kv/kvserver/mmaintegration/legacy_model_test.go87// It's worth noting that this construction assumes that all load on theCOMMENT
MEDIUMpkg/util/admission/work_queue.go2710// to follow. See review discussions over at #97599. It's worth noting thatCOMMENT
MEDIUMpkg/ccl/multiregionccl/datadriven_test.go117// NB: It's worth noting that num-voters and num-non-voters must be provided asCOMMENT
MEDIUMpkg/storage/intent_interleaving_iter.go365 // construct the exclusive roachpb.Key as mentioned earlier. TheCOMMENT
LOWpkg/testutils/lint/lint_test.go1880 "Don't forget to add amend the result to the correct commits.",CODE
LOWpkg/testutils/lint/lint_test.go2147 // engine, don't forget to "register" the newly added package inCOMMENT
MEDIUMpkg/sql/internal.go1108// It's worth noting that rows as well some metadata (column schema as well asCOMMENT
MEDIUMpkg/sql/inverted/expression.go333 // non-overlapping and sorted. As mentioned earlier, factoringCOMMENT
MEDIUMpkg/sql/rowexec/inverted_joiner_test.go57// constructs an intersection of d/10 and d%10. As mentioned earlier, theCOMMENT
MEDIUMpkg/sql/schemachanger/doc.go131// As mentioned earlier, we need to uphold the 2-version invariant, which meansCOMMENT
MEDIUM…/scplan/internal/rules/release_26_1/dep_drop_object.go263// It's worth noting that relaxing validation in this case is safe but we chooseCOMMENT
MEDIUM…anger/scplan/internal/rules/current/dep_drop_object.go263// It's worth noting that relaxing validation in this case is safe but we chooseCOMMENT
MEDIUM…/scplan/internal/rules/release_26_2/dep_drop_object.go263// It's worth noting that relaxing validation in this case is safe but we chooseCOMMENT
MEDIUM…/scplan/internal/rules/release_25_4/dep_drop_object.go263// It's worth noting that relaxing validation in this case is safe but we chooseCOMMENT
LOW…/sql/schemachanger/scexec/scmutationexec/constraint.go174 // Don't forget to also remove the dummy check in the "Checks" slice!COMMENT
LOWpkg/sql/opt/optbuilder/plpgsql.go443 // TODO(#122266): once we support this, make sure to validate thatCOMMENT
LOWpkg/sql/pgwire/pgerror/errors.go159 // Don't forget to update the corresponding test when making adjustmentsCOMMENT
Empty Error Handlers10 hits · 50 pts
SeverityFileLineSnippetContext
HIGH.claude/skills/drt-analyze/scripts/parse_events.py65except (ValueError, OSError):CODE
HIGH.claude/skills/drt-analyze/scripts/parse_events.py88except (json.JSONDecodeError, TypeError):CODE
HIGH.claude/skills/drt-analyze/scripts/parse_events.py142except ValueError:CODE
HIGH.claude/skills/engflow-artifacts/engflow_artifacts.py307except Exception:CODE
HIGHcloud/kubernetes/multiregion/teardown.py44except OSError:CODE
HIGHcloud/kubernetes/multiregion/teardown.py48except OSError:CODE
HIGHcloud/kubernetes/multiregion/teardown.py52except OSError:CODE
HIGHcloud/kubernetes/multiregion/setup.py81except OSError:CODE
HIGHcloud/kubernetes/multiregion/setup.py85except OSError:CODE
HIGHcloud/kubernetes/multiregion/setup.py89except OSError:CODE
Example Usage Blocks28 hits · 43 pts
SeverityFileLineSnippetContext
LOWscripts/diff-example.sh21# Sample usage:COMMENT
LOWpkg/ui/workspaces/db-console/src/util/fakeApi.ts24// Example usage:COMMENT
LOWpkg/cmd/roachtest/dlq/smoke_test.sh23# Usage:COMMENT
LOW⚡pkg/cmd/vecbench/chart_printer.go52// Example usage:COMMENT
LOW…hprod-centralized/utils/api/bindings/stripe/binding.go92// Example usage:COMMENT
LOWpkg/cmd/roachprod-centralized/models/tasks/options.go19// Example usage:COMMENT
LOW…/roachprod-centralized/controllers/scim/types/types.go136// Example usage:COMMENT
LOWpkg/bench/benchprof/benchprof.go37// Example usage:COMMENT
LOWpkg/bench/benchprof/benchprof.go65// Example usage:COMMENT
LOWpkg/bench/benchprof/benchprof.go131// Example usage:COMMENT
LOWpkg/bench/benchprof/benchprof.go189// Example usage:COMMENT
LOWpkg/kv/kvserver/rangefeed/stream_manager.go183// Example usage:COMMENT
LOWpkg/util/admission/work_queue.go288// Usage example:COMMENT
LOWpkg/util/besteffort/besteffort.go23// Example usage:COMMENT
LOWpkg/util/besteffort/besteffort.go52// Example usage:COMMENT
LOWpkg/util/besteffort/besteffort.go80// Example usage:COMMENT
LOWpkg/util/besteffort/override.go50// Example usage:COMMENT
LOWpkg/util/besteffort/override.go101// Example usage:COMMENT
LOWpkg/util/besteffort/override.go138// Example usage:COMMENT
LOWpkg/util/taskset/task_set.go12// Example usage:COMMENT
LOWpkg/obs/ash/work_state.go120// Example usage:COMMENT
LOWpkg/workload/schemachange/schemachange.go46// Example usage:COMMENT
LOWpkg/testutils/pprof.go32// Example usage:COMMENT
LOWpkg/sql/txn_restart_test.go217// Example usage:COMMENT
LOWpkg/sql/importer/read_import_parquet.go123// Example usage:COMMENT
LOW…ql/sem/eval/cast_test/testdata/assignment_casts_gen.sh15# Usage:COMMENT
LOW…/sql/sem/eval/cast_test/testdata/explicit_casts_gen.sh15# Usage:COMMENT
LOWpkg/sql/opt/cycle/detector.go11// Example usage:COMMENT
Redundant / Tautological Comments18 hits · 28 pts
SeverityFileLineSnippetContext
LOWscripts/log2html.sh38# Check if vim supports the "--not-a-term" switch which suppresses a warningCOMMENT
LOWscripts/zipsize.py479 # Check if it's under nodes/COMMENT
LOWscripts/zipsize.py709 # Check if zip is valid or truncatedCOMMENT
LOW.github/workflows/pr-autosolve-comments.yml460 # Check if there are staged changes (Claude should have staged them)COMMENT
LOW⚡.github/workflows/pr-autosolve-comments.yml497 # Check if staged changes differ from HEAD before amendingCOMMENT
LOW.github/workflows/pr-analyzer-threestage.yml55 # Check if the PR has the O-AI-Review label (allows external contributors).COMMENT
LOW.github/workflows/pr-autosolve-ci.yml355 # Check if there are staged changes (Claude should have staged them)COMMENT
LOW⚡.github/workflows/pr-autosolve-ci.yml392 # Check if staged changes differ from HEAD before amendingCOMMENT
LOWpkg/cmd/roachtest/roachstress.sh90# Check if we parsed beyond last arg already, then its an error.COMMENT
LOWpkg/cmd/roachtest/roachstress.sh95 # Check if arg to the left is '--' then we don't have test name.COMMENT
LOWpkg/cmd/drtprod/scripts/create_run_operation.sh11# Check if at least one argument is providedCOMMENT
LOWpkg/cmd/drtprod/scripts/create_run_operation.sh50 # Check if all 3 parts are providedCOMMENT
LOW…g/cmd/roachprod-centralized/docker/image/entrypoint.sh28# Check if the gcloud credentials file existsCOMMENT
LOW…cmd/roachprod-centralized/scripts/integration-tests.sh137 # Check if response has data field and no errorCOMMENT
LOWpkg/roachprod/vm/azure/utils.go58 # Check if the disk is already part of a zpool or mounted; skip if so.COMMENT
LOWpkg/roachprod/vm/gce/utils.go61 # Check if the disk is already part of a zpool or mounted; skip if so.COMMENT
LOWpkg/roachprod/vm/ibm/startup.go41 # Check if the disk is already mounted; skip if so.COMMENT
LOWpkg/roachprod/vm/aws/support.go55 # Check if the disk is already part of a zpool or mounted; skip if so.COMMENT
Excessive Try-Catch Wrapping10 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUM.claude/skills/engflow-artifacts/engflow_artifacts.py77 print("Error: engflow_auth not found on PATH.", file=sys.stderr)CODE
LOW.claude/skills/engflow-artifacts/engflow_artifacts.py307 except Exception:CODE
MEDIUM.claude/skills/engflow-artifacts/engflow_artifacts.py400 print("Error: GetTarget returned empty response", file=sys.stderr)CODE
MEDIUM.claude/skills/engflow-artifacts/engflow_artifacts.py472 print("Error: GetTarget returned empty response", file=sys.stderr)CODE
MEDIUM.claude/skills/engflow-artifacts/engflow_artifacts.py538 print("Error: GetTarget returned empty response", file=sys.stderr)CODE
LOWscripts/zipsize.py349 except Exception as e:CODE
LOWscripts/zipsize.py393 except Exception as e:CODE
MEDIUMscripts/zipsize.py706 print(f"Error: File not found: {args.zipfile}", file=sys.stderr)CODE
LOW.github/workflows/pr-autosolve-comments.yml297 except Exception as e:CODE
LOW.github/workflows/pr-autosolve-comments.yml315 except Exception:CODE
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHpkg/sql/catalog/descidgen/generate_id.go64// In this implementation the value returned by PeekNextUniqueDescID is _not_COMMENT
HIGHpkg/sql/catalog/descidgen/generate_id.go68// In this implementation the increment applied by IncrementDescID is _not_COMMENT
Deep Nesting9 hits · 9 pts
SeverityFileLineSnippetContext
LOW.claude/skills/drt-analyze/scripts/parse_events.py70CODE
LOW.claude/skills/engflow-artifacts/engflow_artifacts.py210CODE
LOW.claude/skills/engflow-artifacts/engflow_artifacts.py391CODE
LOWscripts/dep-diff.py218CODE
LOWscripts/zipsize.py96CODE
LOWscripts/zipsize.py208CODE
LOWscripts/zipsize.py458CODE
LOWscripts/zipsize.py669CODE
LOWpkg/kv/kvserver/asim/tests/cmd/asimdiff.py29CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHpkg/cmd/roachprod-centralized/docker/README.md197IC_API_KEY=your-api-keyCODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpkg/sql/opt/exec/explain/plan_gist_factory.go328// TODO: implement this and figure out how to test...COMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.claude/skills/drt-analyze/scripts/parse_events.py28CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpkg/ui/workspaces/db-console/src/redux/uiData.ts247export function getData(state: AdminUIState, key: string) {CODE