Trigger.dev – build and deploy durable AI agents and workflows
This report summarizes scanner evidence for triggerdotdev/trigger.dev, a TypeScript project with 16,666 GitHub stars. SynthScan examined 1,369,533 lines of code across 5940 source files, recording 2108 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 1.9 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 1876 finding(s).
Are imports declared and package/API names verified? 77 finding(s).
Are wrappers, guards, and repeated structures necessary? 1628 finding(s).
Which changes need focused human review? 2108 finding(s).
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.
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.
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.
The scanner identified 2108 distinct pattern matches across 16 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal-packages/database/src/transaction.ts | 73 | export function isPrismaRaceConditionError(error: unknown): boolean { | CODE |
| LOW | internal-packages/database/src/transaction.ts | 95 | export function isTransactionAcquisitionError(error: unknown): boolean { | CODE |
| LOW | internal-packages/database/src/infraError.ts | 27 | export function looksLikeConnectivityError(error: unknown): boolean { | CODE |
| LOW | internal-packages/database/src/infraError.ts | 70 | export function isRetryableInfrastructureError(error: unknown): boolean { | CODE |
| LOW | internal-packages/clickhouse/src/webhookEndpoints.ts | 48 | export function insertWebhookEndpointsCompactArrays( | CODE |
| LOW | internal-packages/clickhouse/src/errors.ts | 33 | export function getErrorGroupLocationsQueryBuilder( | CODE |
| LOW | internal-packages/clickhouse/src/errors.ts | 54 | export function getErrorGroupsListQueryBuilder( | CODE |
| LOW | internal-packages/clickhouse/src/errors.ts | 184 | export function getErrorHourlyOccurrences(ch: ClickhouseReader, settings?: ClickHouseSettings) { | CODE |
| LOW | internal-packages/clickhouse/src/errors.ts | 262 | export function getErrorAffectedVersionsQueryBuilder( | CODE |
| LOW | internal-packages/clickhouse/src/errors.ts | 295 | export function getErrorOccurrencesListQueryBuilder( | CODE |
| LOW | internal-packages/clickhouse/src/errors.ts | 328 | export function createErrorOccurrencesQueryBuilder( | CODE |
| LOW | internal-packages/clickhouse/src/errors.ts | 363 | export function createErrorOccurrencesByVersionQueryBuilder( | CODE |
| LOW | internal-packages/clickhouse/src/errors.ts | 407 | export function getActiveErrorsSinceQueryBuilder( | CODE |
| LOW | internal-packages/clickhouse/src/errors.ts | 444 | export function getOccurrenceCountsSinceQueryBuilder( | CODE |
| LOW | internal-packages/clickhouse/src/errors.ts | 477 | export function getOccurrenceCountSinceQueryBuilder( | CODE |
| LOW | internal-packages/clickhouse/src/taskEventsSearch.ts | 66 | function passesCheapEligibilityChecks(event: TaskEventV2Input): boolean { | CODE |
| LOW | internal-packages/clickhouse/src/taskEventsSearch.ts | 75 | export function isTaskEventSearchEligible(event: TaskEventV2Input): boolean { | CODE |
| LOW | internal-packages/clickhouse/src/queueMetrics.ts | 66 | export function getQueueListMetricsSummary(reader: ClickhouseReader) { | CODE |
| LOW | internal-packages/clickhouse/src/webhookDeliveries.ts | 95 | export function insertWebhookDeliveriesCompactArrays( | CODE |
| LOW | internal-packages/clickhouse/src/webhookDeliveries.ts | 113 | export function getWebhookDeliveriesQueryBuilder( | CODE |
| LOW | internal-packages/clickhouse/src/webhookDeliveries.ts | 126 | export function getWebhookDeliveriesCountQueryBuilder( | CODE |
| LOW | internal-packages/clickhouse/src/webhookDeliveries.ts | 148 | export function getWebhookDeliveriesGroupedCountQueryBuilder( | CODE |
| LOW | internal-packages/clickhouse/src/taskRuns.ts | 244 | export function insertTaskRunsCompactArrays(ch: ClickhouseWriter, settings?: ClickHouseSettings) { | CODE |
| LOW | internal-packages/clickhouse/src/taskRuns.ts | 381 | export function insertRawTaskRunPayloadsCompactArrays( | CODE |
| LOW | internal-packages/clickhouse/src/taskRuns.ts | 457 | export function getPendingVersionIdsQueryBuilder( | CODE |
| LOW | internal-packages/clickhouse/src/taskRuns.ts | 469 | export function getTaskRunsCountQueryBuilder(ch: ClickhouseReader, settings?: ClickHouseSettings) { | CODE |
| LOW | internal-packages/clickhouse/src/taskRuns.ts | 488 | export function getTaskRunExistsQueryBuilder(ch: ClickhouseReader, settings?: ClickHouseSettings) { | CODE |
| LOW | internal-packages/clickhouse/src/taskRuns.ts | 503 | export function getTaskRunTagsQueryBuilder(ch: ClickhouseReader, settings?: ClickHouseSettings) { | CODE |
| LOW | internal-packages/clickhouse/src/taskRuns.ts | 528 | export function getTaskActivityQueryBuilder(ch: ClickhouseReader, settings?: ClickHouseSettings) { | CODE |
| LOW | internal-packages/clickhouse/src/taskRuns.ts | 703 | export function getTaskUsageByOrganization(ch: ClickhouseReader, settings?: ClickHouseSettings) { | CODE |
| LOW | internal-packages/clickhouse/src/sessions.ts | 113 | export function insertSessionsCompactArrays(ch: ClickhouseWriter, settings?: ClickHouseSettings) { | CODE |
| LOW | internal-packages/clickhouse/src/sessions.ts | 162 | export function getSessionsCountQueryBuilder(ch: ClickhouseReader, settings?: ClickHouseSettings) { | CODE |
| LOW | internal-packages/clickhouse/src/sessions.ts | 177 | export function getSessionTagsQueryBuilder(ch: ClickhouseReader, settings?: ClickHouseSettings) { | CODE |
| LOW | internal-packages/clickhouse/src/taskEvents.ts | 60 | export function getTraceSummaryQueryBuilder(ch: ClickhouseReader, settings?: ClickHouseSettings) { | CODE |
| LOW | internal-packages/clickhouse/src/taskEvents.ts | 93 | export function getTraceDetailedSummaryQueryBuilder( | CODE |
| LOW | internal-packages/clickhouse/src/taskEvents.ts | 141 | export function getTraceEventsForExportQueryBuilder( | CODE |
| LOW | internal-packages/clickhouse/src/taskEvents.ts | 167 | export function getSpanDetailsQueryBuilder(ch: ClickhouseReader, settings?: ClickHouseSettings) { | CODE |
| LOW | internal-packages/clickhouse/src/taskEvents.ts | 233 | export function serializeTaskEventAttributes(attributes: unknown): string { | CODE |
| LOW | internal-packages/clickhouse/src/taskEvents.ts | 347 | export function buildTraceChunkCursorPredicate(cursor: TraceChunkCursor): { | CODE |
| LOW | internal-packages/clickhouse/src/taskEvents.ts | 364 | export function buildTraceStartTimeSortKeyPredicate({ | CODE |
| LOW | internal-packages/clickhouse/src/taskEvents.ts | 384 | export function buildTraceChunkKeyPredicate(cursor: TraceChunkCursor): { | CODE |
| LOW | internal-packages/clickhouse/src/taskEvents.ts | 417 | export function getTraceChunkQueryBuilder(ch: ClickhouseReader, settings?: ClickHouseSettings) { | CODE |
| LOW | internal-packages/clickhouse/src/taskEvents.ts | 508 | export function getLogsSearchListQueryBuilder(ch: ClickhouseReader) { | CODE |
| LOW | internal-packages/clickhouse/src/client/errors.ts | 101 | export function isClickhouseResourceLimitError(error: unknown): boolean { | CODE |
| LOW | internal-packages/clickhouse/src/client/client.ts | 1394 | export function clickhouseErrorDescriptor(error: unknown) { | CODE |
| LOW | internal-packages/clickhouse/src/client/client.ts | 1440 | function convertLogLevelToClickhouseLogLevel(logLevel?: LogLevel): ClickHouseLogLevel { | CODE |
| LOW | internal-packages/rbac/src/bearerCredentials.ts | 419 | function toAuthenticatedEnvironment( | CODE |
| LOW | internal-packages/llm-model-catalog/src/sync.test.ts | 73 | async function createGeminiProWithStaleBaseModelName(prisma: PrismaClient) { | CODE |
| LOW | …rc/runOpsStore.replayReadAfterWrite.replicaLag.test.ts | 75 | function buildRouterWithLaggingLegacyReplica(prisma14: PrismaClient, prisma17: RunOpsPrismaClient) { | CODE |
| LOW | …psStore.presentersWaitpointReadView.replicaLag.test.ts | 96 | function buildRouterWithLaggingLegacyReplica(prisma14: PrismaClient, prisma17: RunOpsPrismaClient) { | CODE |
| LOW | …rc/runOpsStore.resolveRunForMutationReplicaLag.test.ts | 78 | async function resolveViaRunStorePgReads( | CODE |
| LOW | …tore/src/taskRunExecutionSnapshotStore.expired.test.ts | 88 | function expectRetriableUnavailable(error: unknown) { | CODE |
| LOW | …nOpsStore.waitpointCompleteTokenReadAfterWrite.test.ts | 63 | async function seedPendingTokenWaitpoint( | CODE |
| LOW | internal-packages/run-store/src/snapshotResidency.ts | 15 | export function snapshotResidencyFromMetadata(metadata: unknown): SnapshotResidency { | CODE |
| LOW | internal-packages/run-store/src/snapshotResidency.ts | 34 | export function metadataWithSnapshotResidency( | CODE |
| LOW | internal-packages/run-store/src/snapshotResidency.ts | 49 | export function snapshotRouteFromSnapshot(snapshot: { | CODE |
| LOW | …store/src/PostgresRunStore.controlPlaneAlertFk.test.ts | 15 | async function seedControlPlaneAlertPrereqs(prisma: PrismaClient, suffix: string) { | CODE |
| LOW | …askRunExecutionSnapshotStore.residencyDispatch.test.ts | 56 | async function insertPostgresOnlySnapshot( | CODE |
| LOW | …re/src/PostgresRunStore.hydratorSelectPushdown.test.ts | 77 | function withCapturedTaskRunFindManyArgs(real: RunOpsPrismaClient) { | CODE |
| LOW | …ackages/run-store/src/taskRunExecutionSnapshotStore.ts | 103 | function residencyUnavailableError( | CODE |
| 1413 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 155 | // ─── Arithmetic functions ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 176 | // ─── Mathematical functions ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 212 | // ─── String functions ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 285 | // ─── Null functions ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 300 | // ─── Conditional functions ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 313 | // ─── Comparison functions ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 327 | // ─── Logical functions ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 339 | // ─── Type conversion functions ──────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 383 | // ─── Date/time functions ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 496 | // ─── Interval functions ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 512 | // ─── Array functions ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 562 | // ─── JSON functions ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 612 | // ─── Tuple functions ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 623 | // ─── Map functions ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 636 | // ─── Hash functions ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 666 | // ─── URL functions ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 699 | // ─── UUID functions ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 719 | // ─── Misc functions ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 747 | // ─── Aggregate functions ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 792 | // ─── Conditional aggregate functions ────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/tsqlFunctions.test.ts | 823 | // ─── Search functions ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/clickhouse/src/sessions.ts | 141 | // ─── read path ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …psStore.presentersWaitpointReadView.replicaLag.test.ts | 174 | // ── Exact projections the call sites read ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …OpsStore.serviceBatchFamilyReadView.replicaLag.test.ts | 127 | // ── findBatchTaskRunByIdempotencyKey (dedup) ────────────────────── | COMMENT |
| MEDIUM | …OpsStore.serviceBatchFamilyReadView.replicaLag.test.ts | 156 | // ── findBatchTaskRunById (complete arm) ──────────────────────────── | COMMENT |
| MEDIUM | …OpsStore.serviceBatchFamilyReadView.replicaLag.test.ts | 179 | // ── findBatchTaskRunById (tryCompleteBatchV3) ───────────────────── | COMMENT |
| MEDIUM | …OpsStore.serviceBatchFamilyReadView.replicaLag.test.ts | 207 | // ── countBatchTaskRunItems (tryCompleteBatchV3) ─────────────────── | COMMENT |
| MEDIUM | …OpsStore.serviceBatchFamilyReadView.replicaLag.test.ts | 243 | // ── runEngine batchTrigger findBatchTaskRunById ────────────────────────── | COMMENT |
| MEDIUM | …OpsStore.serviceBatchFamilyReadView.replicaLag.test.ts | 266 | // ── streamBatchItems findBatchTaskRunById (validate exists) ─────────────────────── | COMMENT |
| MEDIUM | …OpsStore.serviceBatchFamilyReadView.replicaLag.test.ts | 292 | // ── streamBatchItems findBatchTaskRunById (idempotent-retry recheck) ────────────── | COMMENT |
| MEDIUM | …OpsStore.serviceBatchFamilyReadView.replicaLag.test.ts | 320 | // ── streamBatchItems findBatchTaskRunById (idempotent-retry recheck, second) ────────────── | COMMENT |
| MEDIUM | …ompleteRouteAndReplayLoaderReadView.replicaLag.test.ts | 156 | // ── complete-waitpoint route ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ompleteRouteAndReplayLoaderReadView.replicaLag.test.ts | 204 | // ── replay loader (tolerated read-view) ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/runOpsStore.storeReceiverReadView.replicaLag.test.ts | 77 | // ── findBatchTaskRunByFriendlyId (no client) — runsRepository runs-list batch filter ─────────────── | COMMENT |
| MEDIUM | …c/runOpsStore.storeReceiverReadView.replicaLag.test.ts | 137 | // ── readLegacy-leg findRun({id},{select},replica) — readThroughRun for a LEGACY run ──────────── | COMMENT |
| MEDIUM | internal-packages/tsql/src/grammar/TSQLLexer.ts | 806 | // ───── opening tag test ───── | COMMENT |
| MEDIUM | internal-packages/tsql/src/query/parser.ts | 226 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/tsql/src/query/parser.ts | 228 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/tsql/src/query/parser.ts | 315 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | internal-packages/tsql/src/query/parser.ts | 317 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ckages/core/src/v3/test/test-session-stream-manager.ts | 315 | // ── Test driver API (not part of SessionStreamManager interface) ────── | COMMENT |
| MEDIUM | …ages/core/src/v3/test/test-realtime-streams-manager.ts | 126 | // ── Test driver API (not part of RealtimeStreamsManager interface) ────── | COMMENT |
| MEDIUM | packages/core/src/v3/test/test-input-stream-manager.ts | 150 | // ── Test driver API (not part of InputStreamManager interface) ────────── | COMMENT |
| MEDIUM | packages/core/src/v3/schemas/schemas.ts | 305 | // ── Skills ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/core/src/v3/schemas/schemas.ts | 327 | // ── Webhooks ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/plugins/src/rbac.ts | 358 | // ── Delegated user-actor token grammar ─────────────────────────────────── | COMMENT |
| MEDIUM | packages/trigger-sdk/test/chat-snapshot.test.ts | 20 | // ── Helpers ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/trigger-sdk/test/chat-snapshot.test.ts | 89 | // ── Tests ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rigger-sdk/test/chat-agent-source-stream-error.test.ts | 13 | // ── Helpers ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rigger-sdk/test/chat-agent-source-stream-error.test.ts | 71 | // ── Tests ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/trigger-sdk/test/mockChatAgent.test.ts | 13 | // ── Helpers ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/trigger-sdk/test/mockChatAgent.test.ts | 40 | // ── Tests ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/trigger-sdk/test/chatHandoverBackends.test.ts | 13 | // ── Helpers ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/trigger-sdk/test/chatHandoverBackends.test.ts | 87 | // ── chat.customAgent + headStart handover ─────────────────────────────── | COMMENT |
| MEDIUM | packages/trigger-sdk/test/chatHandoverBackends.test.ts | 342 | // ── chat.createSession + headStart handover ────────────────────────────── | COMMENT |
| MEDIUM | packages/trigger-sdk/test/replay-session-in.test.ts | 11 | // ── Helpers ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/trigger-sdk/test/replay-session-in.test.ts | 42 | // ── Tests ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/trigger-sdk/test/replay-session-in.test.ts | 152 | // ── Cursor scan (non-blocking records read, not an SSE drain) ────────── | COMMENT |
| MEDIUM | packages/trigger-sdk/test/pending-message-drain.test.ts | 14 | // ── Helpers ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/trigger-sdk/test/pending-message-drain.test.ts | 101 | // ── Tests ────────────────────────────────────────────────────────────── | COMMENT |
| 95 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal-packages/rbac/src/bearerCredentials.ts | 141 | COMMENT | |
| LOW | internal-packages/rbac/src/apiKeyPolicyDefaults.test.ts | 1 | import type { PrismaClient } from "@trigger.dev/database"; | COMMENT |
| LOW | internal-packages/rbac/src/index.ts | 181 | // the fallback being used?" mysteries before. | COMMENT |
| LOW | …packages/run-ops-database/prisma/schema.parity.test.ts | 1 | import { describe, expect, it } from "vitest"; | COMMENT |
| LOW | internal-packages/run-ops-database/src/index.ts | 1 | // The generated client class is named PrismaClient in BOTH packages; re-export it | COMMENT |
| LOW | …es/llm-model-catalog/scripts/generate-model-catalog.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …/run-store/src/PostgresRunStore.dedicatedRepro.test.ts | 1 | // Store-level regression suite for the run-ops split. | COMMENT |
| LOW | …/run-store/src/PostgresRunStore.dedicatedRepro.test.ts | 141 | COMMENT | |
| LOW | …/run-store/src/PostgresRunStore.dedicatedRepro.test.ts | 681 | // | COMMENT |
| LOW | …/run-store/src/PostgresRunStore.dedicatedRepro.test.ts | 1301 | // waitpoint's blocking edge, run connection and completing snapshot all CO-LOCATE WITH THE RUN | COMMENT |
| LOW | …ore/src/runOpsStore.engineReadViews.replicaLag.test.ts | 1 | // Property: three run-engine read views tolerate stale/absent values under replica lag. Each issues a | COMMENT |
| LOW | …l-packages/run-store/src/runOpsStore.snapshots.test.ts | 1 | // RunStore run-ops persistence — snapshots, against the REAL dedicated split topology. | COMMENT |
| LOW | …packages/run-store/src/redisSnapshotStore.gaps.test.ts | 1 | // A5. The repair restores the head but not the entries lost in the fork window, so a keyspace ends up | COMMENT |
| LOW | …s/run-store/src/runOpsStore.envScopedResidency.test.ts | 1 | import { describe, expect, it } from "vitest"; | COMMENT |
| LOW | …runOpsStore.modelRuntimeEnvReadView.replicaLag.test.ts | 1 | // Lagging-replica coverage for the model-runtime-env read view on the run-ops split. | COMMENT |
| LOW | …ackages/run-store/src/runOpsStore.groupedReads.test.ts | 1 | // RED→GREEN for the grouped-read primitive `RoutingRunStore.findRunsByIds`. | COMMENT |
| LOW | internal-packages/run-store/src/scheduleSeam.test.ts | 1 | // SCHEDULES over the run-ops cutover SEAM. | COMMENT |
| LOW | …runOpsStore.cancelRunReadAfterWrite.replicaLag.test.ts | 1 | // Lagging-replica coverage for the CANCEL route's run lookups on the run-ops split. | COMMENT |
| LOW | …tore/src/PostgresRunStore.connectedRunsBounded.test.ts | 1 | // RED→GREEN for bounding the connected-runs read path so it can never emit an unbounded id list. | COMMENT |
| LOW | …-packages/run-store/src/runOpsStore.newMethods.test.ts | 1 | import { describe, expect, it } from "vitest"; | COMMENT |
| LOW | …sStore.routesRealtimeStreamReadView.replicaLag.test.ts | 1 | // Replica-lag properties for the realtime-stream route read views on the run-ops split. Fourteen | COMMENT |
| LOW | …/runOpsStore.dashboardAgentReadView.replicaLag.test.ts | 1 | // Replica-lag coverage for the dashboard-agent run->commit resolver read. dashboardAgent | COMMENT |
| LOW | …tore/src/PostgresRunStore.batchProbeReadClient.test.ts | 1 | // RED→GREEN repro for the run-ops split BASELINE BLOCKER: | COMMENT |
| LOW | …Store.batchDependentAttemptReadView.replicaLag.test.ts | 1 | // Property: the batchTriggerV3 dependent-attempt read tolerates a miss under replica lag. The | COMMENT |
| LOW | …c/PostgresRunStore.connectedRunsIncludeBounded.test.ts | 1 | // RED→GREEN for bounding the DISPLAY `connectedRuns` RELATION hydration (findWaitpoint / | COMMENT |
| LOW | …/runOpsStore.routesBatchGetReadView.replicaLag.test.ts | 1 | // Coverage for the batch-GET route/loader reads issued with NO client, grouped as "routes-batch-get". | COMMENT |
| LOW | …/runOpsStore.routesBatchGetReadView.replicaLag.test.ts | 21 | // `{ error: "Not found" }, status 404` and header `x-should-retry: false`, which the SDK obeys verbatim | COMMENT |
| LOW | …/run-store/src/runOpsStore.flipWindowDuplicate.test.ts | 1 | // DOCUMENTS the bounded concurrent-flip-window cross-DB idempotency | COMMENT |
| LOW | …/runOpsStore.usageCostUndercountReadAfterWrite.test.ts | 1 | // Read-after-write coverage for the USAGE/COST read-modify-write in the attempt-completion path | COMMENT |
| LOW | …OpsStore.serviceBatchFamilyReadView.replicaLag.test.ts | 1 | // Lagging-replica coverage for the batch-family reads issued by the batch services with NO client: | COMMENT |
| LOW | …tore/src/PostgresRunStore.crossGenerationError.test.ts | 1 | // Cross-generation Prisma error normalization LOCK. | COMMENT |
| LOW | …/run-store/src/PostgresRunStore.writeAtomicity.test.ts | 1 | // Cross-DB WRITE ATOMICITY against the REAL dedicated split topology. | COMMENT |
| LOW | …ckages/run-store/src/checkpointBatchReplicaLag.test.ts | 1 | // Repro for the checkpoint WAIT_FOR_BATCH replica-lag stall (createCheckpoint.server.ts:148-181). | COMMENT |
| LOW | …ages/run-store/src/runOpsStore.threeDbTopology.test.ts | 1 | // Track 2 THREE-database topology proof. Before Track 2 the legacy run-ops client was an ALIAS of the | COMMENT |
| LOW | …es/run-store/src/runOpsStore.routedReadPrimary.test.ts | 1 | // RED→GREEN repro for the routed-read CLIENT DROP: RoutingRunStore's runId-routed / fan-out reads | COMMENT |
| LOW | …packages/run-store/src/replicaRecoveryConflictRetry.ts | 1 | import { type RetryBudget, withInfraRetry } from "@trigger.dev/database"; | COMMENT |
| LOW | …ges/run-store/src/runOpsStore.idempotencyDedup.test.ts | 1 | // Idempotency cross-DB dedup LOCK against the REAL two-physical-DB split. | COMMENT |
| LOW | internal-packages/run-store/src/runOpsStore.ts | 261 | for (const [id, keys] of keysById) { | COMMENT |
| LOW | internal-packages/run-store/src/runOpsStore.ts | 1681 | // Probe by id (drain may have relocated it); an idempotency-key lookup with no id routes by | COMMENT |
| LOW | …kages/run-store/src/runOpsStore.readAfterWrite.test.ts | 1 | // RED→GREEN repro for the run-ops split READ-AFTER-WRITE hole: | COMMENT |
| LOW | …tore.presentersSessionBatchReadView.replicaLag.test.ts | 1 | // Property: the four run-store reads issued by the AI-session + batch DASHBOARD presenters behave | COMMENT |
| LOW | …tore.presentersSessionBatchReadView.replicaLag.test.ts | 21 | // REPLICA). findBatchTaskRunByFriendlyId defaults to `this.readOnlyPrisma` — the lone batch-family | COMMENT |
| LOW | …ompleteRouteAndReplayLoaderReadView.replicaLag.test.ts | 1 | // Coverage for two dashboard read call sites: | COMMENT |
| LOW | …sStore.sessionMetadataRouteReadView.replicaLag.test.ts | 1 | // Coverage for two friendlyId-keyed run reads that pass the webapp's BRANDED `$replica` into | COMMENT |
| LOW | …rnal-packages/run-store/src/delegatingRunStore.test.ts | 1 | // What this suite covers, and why it is now small. | COMMENT |
| LOW | …runOpsStore.routesSpanTraceReadView.replicaLag.test.ts | 1 | // Lagging-replica coverage for the SPAN-DETAIL / TRACE route read views on the run-ops | COMMENT |
| LOW | …runOpsStore.routesSpanTraceReadView.replicaLag.test.ts | 21 | // (owning replica, miss-probe the other store). | COMMENT |
| LOW | …tore/src/runOpsStore.ttlExpireOrphanReplicaLag.test.ts | 1 | // Guard for the run-ops split read-after-write property on the TTL BATCH EXPIRY path. | COMMENT |
| LOW | internal-packages/run-store/src/delegatingRunStore.ts | 1 | // A pass-through over another RunStore. | COMMENT |
| LOW | …rc/runOpsStore.routesRunGetReadView.replicaLag.test.ts | 1 | // Lagging-replica coverage for the run-GET / run-detail read views ("routes-run-get"). Each read is | COMMENT |
| LOW | …ages/run-store/src/runOpsStore.runKeyedRouting.test.ts | 1 | import { describe, expect, it } from "vitest"; | COMMENT |
| LOW | …c/runOpsStore.presentersRunReadView.replicaLag.test.ts | 1 | // Lagging-replica coverage for seven run-detail presenter reads. Every one is a client-less (or | COMMENT |
| LOW | internal-packages/run-store/src/PostgresRunStore.ts | 501 | COMMENT | |
| LOW | internal-packages/run-store/src/PostgresRunStore.ts | 2541 | // wrote on the primary, and the replica (findWaitpoint's default) can miss it under replication | COMMENT |
| LOW | …nal-packages/run-store/src/testFixtures/oneShotBlip.ts | 1 | // Deterministic one-shot connection-blip injection for the store's infra-retry tests. Rather than race | COMMENT |
| LOW | …ternal-packages/dashboard-agent/src/dashboard-agent.ts | 701 | // with its cache breakpoint, config, telemetry and prepareStep wiring; the model | COMMENT |
| LOW | internal-packages/observability-map/turbo.json | 1 | { | COMMENT |
| LOW | internal-packages/observability-map/src/scan.ts | 761 | continue; | COMMENT |
| LOW | internal-packages/schedule-engine/src/engine/index.ts | 301 | }); | COMMENT |
| LOW | internal-packages/sso/src/index.ts | 61 | const importer = | COMMENT |
| 264 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …al-packages/dashboard-agent/src/eval-redaction.test.ts | 46 | expect(serialized).not.toContain("Acme Corp"); | CODE |
| LOW⚡ | …al-packages/dashboard-agent/src/eval-redaction.test.ts | 58 | payload: { "billing@customer.com": { plan: "pro" }, "Acme Corp": 1 }, | CODE |
| LOW⚡ | …al-packages/dashboard-agent/src/eval-redaction.test.ts | 64 | expect(serialized).not.toContain("Acme Corp"); | CODE |
| LOW⚡ | …al-packages/dashboard-agent/src/eval-redaction.test.ts | 69 | let value: unknown = { "billing@customer.com": 1, "Acme Corp": 2 }; | CODE |
| LOW⚡ | …al-packages/dashboard-agent/src/eval-redaction.test.ts | 75 | expect(serialized).not.toContain("Acme Corp"); | CODE |
| LOW | internal-packages/emails/emails/mfa-enabled.tsx | 16 | userEmail: "user@example.com", | CODE |
| LOW | internal-packages/emails/emails/mfa-disabled.tsx | 16 | userEmail: "user@example.com", | CODE |
| LOW | …ternal-packages/emails/emails/cli-login-authorized.tsx | 22 | userEmail: "user@example.com", | CODE |
| LOW | …nal-packages/webhook-sources/src/handAuthored/loops.ts | 149 | email: "taylor@example.org", | CODE |
| LOW | …al-packages/webhook-sources/src/handAuthored/retell.ts | 30 | customer_name: "John Doe", | CODE |
| LOW | …al-packages/webhook-sources/src/handAuthored/retell.ts | 85 | customer_name: "John Doe", | CODE |
| LOW | …al-packages/webhook-sources/src/handAuthored/retell.ts | 165 | customer_name: "John Doe", | CODE |
| LOW | …l-packages/webhook-sources/src/handAuthored/zendesk.ts | 28 | organization: "Acme Corp", | CODE |
| LOW | …l-packages/webhook-sources/src/handAuthored/zendesk.ts | 55 | organization: "Acme Corp", | CODE |
| LOW | …l-packages/webhook-sources/src/handAuthored/zendesk.ts | 83 | organization: "Acme Corp", | CODE |
| LOW | …l-packages/webhook-sources/src/handAuthored/zendesk.ts | 135 | organization: "Acme Corp", | CODE |
| LOW | internal-packages/tsql/src/grammar/TSQLParser.ts | 306 | "keywordForAlias", "alias", "identifier", "enumValue", "placeholder", | CODE |
| LOW | internal-packages/tsql/src/query/printer.ts | 253 | case "placeholder": | CODE |
| LOW | internal-packages/tsql/src/query/printer.ts | 1846 | } else if ((tableExpr as Placeholder).expression_type === "placeholder") { | CODE |
| LOW | internal-packages/tsql/src/query/ast.ts | 471 | expression_type: "placeholder"; | CODE |
| LOW | internal-packages/tsql/src/query/parser.ts | 1751 | return { expression_type: "placeholder", expr: this.visitAsExpr(ctx.columnExpr()) }; | CODE |
| LOW | internal-packages/sso/src/loader.test.ts | 255 | const decision = await controller.decideRouteForEmail("admin@example.com"); | CODE |
| LOW | internal-packages/sso/src/loader.test.ts | 270 | email: "user@example.com", | CODE |
| LOW | …gine/systems/redisPrimaryCompletionAssociation.test.ts | 354 | output: '{"stale":"placeholder"}', | CODE |
| LOW | …gine/systems/redisPrimaryCompletionAssociation.test.ts | 504 | output: '{"stale":"placeholder"}', | CODE |
| LOW | tests/e2e/e2e.spec.ts | 11 | await page.getByLabel("Full name").type("John Doe"); | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 26 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 45 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 64 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 83 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 102 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 121 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 140 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 162 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 181 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 200 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 220 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 242 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 263 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 287 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 311 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 333 | street: "123 Main St", | CODE |
| LOW | packages/core/test/eventFilterMatches.test.ts | 355 | street: "123 Main St", | CODE |
| LOW | packages/core/test/flattenAttributes.test.ts | 582 | "user.details.name": "John Doe", | CODE |
| LOW | packages/core/test/flattenAttributes.test.ts | 591 | name: "John Doe", | CODE |
| LOW | packages/core/test/logger.test.ts | 205 | email: "user@example.com", | CODE |
| LOW | packages/cli-v3/src/commands/login.test.ts | 30 | expect(addEmailToAuthorizationUrl(pendingAuthorization.url, "user@example.com")).toBe( | CODE |
| LOW | apps/webapp/seed-webhook-deliveries.ts | 228 | data: { id: `msg_${nanoid()}`, to: "user@example.com" }, | CODE |
| LOW | apps/webapp/app/components/runs/v3/RunFilters.tsx | 1730 | "label" | "placeholder" | "paramKey" | "validate" | "inputWidth" | CODE |
| LOW | apps/webapp/app/components/runs/v3/RunFilters.tsx | 1780 | props: Omit<IdFilterDropdownProps, "label" | "placeholder" | "paramKey" | "validate"> | CODE |
| LOW | apps/webapp/app/components/runs/v3/RunFilters.tsx | 1828 | props: Omit<IdFilterDropdownProps, "label" | "placeholder" | "paramKey" | "validate"> | CODE |
| LOW | apps/webapp/app/components/runs/v3/RunFilters.tsx | 1880 | props: Omit<IdFilterDropdownProps, "label" | "placeholder" | "paramKey" | "validate"> | CODE |
| LOW | apps/webapp/app/components/runs/v3/BatchFilters.tsx | 232 | props: Omit<IdFilterDropdownProps, "label" | "placeholder" | "paramKey" | "validate"> | CODE |
| LOW | …ebapp/app/components/runs/v3/WaitpointTokenFilters.tsx | 404 | props: Omit<IdFilterDropdownProps, "label" | "placeholder" | "paramKey" | "validate"> | CODE |
| LOW | …ebapp/app/components/runs/v3/WaitpointTokenFilters.tsx | 485 | props: Omit<IdFilterDropdownProps, "label" | "placeholder" | "paramKey" | "validate"> | CODE |
| LOW | …vices/alerts/delivery/deliverAlertEvent.server.test.ts | 153 | organization: { slug: "acme", title: "Acme Inc" }, | CODE |
| LOW | …vices/alerts/delivery/deliverAlertEvent.server.test.ts | 351 | organization: "Acme Inc", | CODE |
| LOW | …rvices/alerts/queryAlerts/analyzeQueryForAlert.test.ts | 438 | code: "placeholder", | CODE |
| LOW | …rvices/alerts/queryAlerts/analyzeQueryForAlert.test.ts | 442 | code: "placeholder", | CODE |
| LOW | …ices/alerts/queryAlerts/analyzeQueryForAlert.server.ts | 157 | code: "placeholder", | CODE |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | AGENTS.md | 226 | ### Step 1: Start Webapp in Background | COMMENT |
| LOW⚡ | AGENTS.md | 234 | ### Step 2: Start Trigger Dev in Background | COMMENT |
| LOW⚡ | AGENTS.md | 242 | ### Step 3: Trigger and Monitor Tasks via MCP | COMMENT |
| LOW⚡ | internal-packages/tsql/src/query/schema.ts | 915 | // Step 0: Remove internal prefixes that leak implementation details | COMMENT |
| LOW⚡ | internal-packages/tsql/src/query/schema.ts | 918 | // Step 1: Remove tenant isolation and required filter conditions | COMMENT |
| LOW | internal-packages/tsql/src/query/schema.ts | 933 | // Step 2: Clean up any leftover empty WHERE conditions or double parentheses | COMMENT |
| LOW | internal-packages/tsql/src/query/schema.ts | 959 | // Step 3: Replace fully qualified column references first (table.column) | COMMENT |
| LOW⚡ | internal-packages/tsql/src/query/schema.ts | 974 | // Step 4: Replace standalone table names (after column references to avoid partial matches) | COMMENT |
| LOW⚡ | internal-packages/tsql/src/query/schema.ts | 983 | // Step 5: Replace standalone column names (for unqualified references) | COMMENT |
| LOW⚡ | internal-packages/tsql/src/query/schema.ts | 997 | // Step 6: Remove redundant column aliases like "run_id AS run_id" | COMMENT |
| LOW⚡ | internal-packages/tsql/src/query/schema.ts | 1000 | // Step 7: Remove table aliases like "runs AS runs" | COMMENT |
| LOW | internal-packages/tsql/src/query/database.ts | 218 | // NOTE: This method requires database queries to fetch: | COMMENT |
| LOW | internal-packages/tsql/src/query/database.ts | 302 | // NOTE: This method requires extensive database/ORM access: | COMMENT |
| LOW | …/run-engine/src/engine/systems/pendingVersionSystem.ts | 121 | // Step 1: ask the injected lookup (typically ClickHouse-backed) for | COMMENT |
| LOW | …/run-engine/src/engine/systems/pendingVersionSystem.ts | 139 | // Step 2: fetch the actual rows from the primary by id, filtered by | COMMENT |
| LOW | …kages/trigger-sdk/skills/trigger-cost-savings/SKILL.md | 50 | ### Step 1: Static analysis (source code) | COMMENT |
| LOW | …kages/trigger-sdk/skills/trigger-cost-savings/SKILL.md | 64 | ### Step 2: Run analysis (requires MCP tools) | COMMENT |
| LOW | …kages/trigger-sdk/skills/trigger-cost-savings/SKILL.md | 71 | ### Step 3: Generate recommendations | COMMENT |
| LOW | packages/cli-v3/src/deploy/buildImage.ts | 252 | // Step 4: Build and push the image | COMMENT |
| LOW⚡ | packages/redis-worker/src/mollifier/buffer.test.ts | 2753 | // Step 1: A claims with token "A". | COMMENT |
| LOW⚡ | packages/redis-worker/src/mollifier/buffer.test.ts | 2761 | // Step 2: simulate TTL expiry — DEL the slot directly so the | COMMENT |
| LOW⚡ | packages/redis-worker/src/mollifier/buffer.test.ts | 2767 | // Step 3: B claims with token "B". | COMMENT |
| LOW⚡ | packages/redis-worker/src/mollifier/buffer.test.ts | 2775 | // Step 4: A's late release. MUST be a no-op. | COMMENT |
| LOW | …/webapp/app/v3/services/finalizeDeploymentV2.server.ts | 278 | // Step 1: We need to "login" to the registry | COMMENT |
| LOW | …/webapp/app/v3/services/finalizeDeploymentV2.server.ts | 297 | // Step 2: We need to run the depot push command | COMMENT |
| LOW | …ebapp/app/routes/_app.orgs.$organizationSlug/route.tsx | 89 | // IMPORTANT: Make sure to update shouldRevalidate if this loader depends on search params | COMMENT |
| LOW | apps/webapp/test/objectStore.test.ts | 435 | // Step 1: Upload old data without protocol (using default provider) | COMMENT |
| LOW⚡ | apps/webapp/test/objectStore.test.ts | 454 | // Step 2: Configure new provider (S3) and set default protocol | COMMENT |
| LOW⚡ | apps/webapp/test/objectStore.test.ts | 461 | // Step 3: Upload new data with explicit protocol | COMMENT |
| LOW | apps/webapp/test/objectStore.test.ts | 475 | // Step 4: Verify both can be downloaded | COMMENT |
| LOW⚡ | apps/webapp/test/replay-after-crash.test.ts | 123 | // Step 1: read snapshot — returns undefined (fresh boot, no snap). | COMMENT |
| LOW⚡ | apps/webapp/test/replay-after-crash.test.ts | 127 | // Step 2: replay tail. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | internal-packages/tsql/src/query/schema.ts | 915 | // Step 0: Remove internal prefixes that leak implementation details | COMMENT |
| LOW⚡ | internal-packages/tsql/src/query/schema.ts | 918 | // Step 1: Remove tenant isolation and required filter conditions | COMMENT |
| LOW | internal-packages/tsql/src/query/schema.ts | 933 | // Step 2: Clean up any leftover empty WHERE conditions or double parentheses | COMMENT |
| LOW | internal-packages/tsql/src/query/schema.ts | 959 | // Step 3: Replace fully qualified column references first (table.column) | COMMENT |
| LOW⚡ | internal-packages/tsql/src/query/schema.ts | 974 | // Step 4: Replace standalone table names (after column references to avoid partial matches) | COMMENT |
| LOW⚡ | internal-packages/tsql/src/query/schema.ts | 983 | // Step 5: Replace standalone column names (for unqualified references) | COMMENT |
| LOW⚡ | internal-packages/tsql/src/query/schema.ts | 997 | // Step 6: Remove redundant column aliases like "run_id AS run_id" | COMMENT |
| LOW⚡ | internal-packages/tsql/src/query/schema.ts | 1000 | // Step 7: Remove table aliases like "runs AS runs" | COMMENT |
| LOW | …/run-engine/src/engine/systems/pendingVersionSystem.ts | 121 | // Step 1: ask the injected lookup (typically ClickHouse-backed) for | COMMENT |
| LOW | …/run-engine/src/engine/systems/pendingVersionSystem.ts | 139 | // Step 2: fetch the actual rows from the primary by id, filtered by | COMMENT |
| LOW | packages/cli-v3/src/deploy/buildImage.ts | 252 | // Step 4: Build and push the image | COMMENT |
| LOW⚡ | packages/redis-worker/src/mollifier/buffer.test.ts | 2753 | // Step 1: A claims with token "A". | COMMENT |
| LOW⚡ | packages/redis-worker/src/mollifier/buffer.test.ts | 2761 | // Step 2: simulate TTL expiry — DEL the slot directly so the | COMMENT |
| LOW⚡ | packages/redis-worker/src/mollifier/buffer.test.ts | 2767 | // Step 3: B claims with token "B". | COMMENT |
| LOW⚡ | packages/redis-worker/src/mollifier/buffer.test.ts | 2775 | // Step 4: A's late release. MUST be a no-op. | COMMENT |
| LOW | …/webapp/app/v3/services/finalizeDeploymentV2.server.ts | 278 | // Step 1: We need to "login" to the registry | COMMENT |
| LOW | …/webapp/app/v3/services/finalizeDeploymentV2.server.ts | 297 | // Step 2: We need to run the depot push command | COMMENT |
| LOW | apps/webapp/app/routes/metrics.ts | 5 | // If the TRIGGER_METRICS_AUTH_PASSWORD is set, we need to check if the request has the correct password in auth heade | COMMENT |
| LOW | apps/webapp/test/objectStore.test.ts | 435 | // Step 1: Upload old data without protocol (using default provider) | COMMENT |
| LOW⚡ | apps/webapp/test/objectStore.test.ts | 454 | // Step 2: Configure new provider (S3) and set default protocol | COMMENT |
| LOW⚡ | apps/webapp/test/objectStore.test.ts | 461 | // Step 3: Upload new data with explicit protocol | COMMENT |
| LOW | apps/webapp/test/objectStore.test.ts | 475 | // Step 4: Verify both can be downloaded | COMMENT |
| LOW⚡ | apps/webapp/test/replay-after-crash.test.ts | 123 | // Step 1: read snapshot — returns undefined (fresh boot, no snap). | COMMENT |
| LOW⚡ | apps/webapp/test/replay-after-crash.test.ts | 127 | // Step 2: replay tail. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | internal-packages/tsql/src/query/printer.ts | 156 | print(node: SelectQuery | SelectSetQuery): PrintResult { | CODE |
| HIGH | packages/cli-v3/src/deploy/buildLogs.ts | 109 | print("│"); | CODE |
| HIGH | packages/cli-v3/src/deploy/buildLogs.ts | 112 | print(line); | CODE |
| HIGH⚡ | packages/cli-v3/src/deploy/buildLogs.ts | 137 | print("│"); | CODE |
| HIGH⚡ | packages/cli-v3/src/deploy/buildLogs.ts | 138 | print( | CODE |
| HIGH⚡ | packages/cli-v3/src/deploy/buildLogs.ts | 142 | print(line); | CODE |
| HIGH⚡ | packages/cli-v3/src/deploy/buildLogs.ts | 144 | print("│"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | packages/cli-v3/src/mcp/schemas.test.ts | 40 | const scopeType = schemas.CreateAlertInput.shape.params.shape.scope.unwrap().shape.type; | CODE |
| CRITICAL | …s/webapp/test/dashboardAgentCreateChatOrdering.test.ts | 261 | const logged = mocks.logger.error.mock.calls.map((call: any[]) => call[1]?.error?.message); | CODE |
| CRITICAL | apps/webapp/test/snapshotRecoveryWorker.test.ts | 89 | const consumers = new Set(fake.worker.processPartition.mock.calls.map((call) => call[1])); | CODE |
| CRITICAL | apps/webapp/test/snapshotRecoveryWorker.test.ts | 94 | const owners = new Set(fake.store.acquireOrRenewRecoveryLease.mock.calls.map(([o]) => o)); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | internal-packages/testcontainers/src/index.ts | 632 | // Add more robust connection options | COMMENT |
| LOW | hosting/k8s/setup-kind.sh | 19 | # If you're only supporting newer relases, you can just use `kind create cluster` here. | COMMENT |
| MEDIUM | apps/webapp/app/routes/storybook.ai-agent/route.tsx | 1115 | // into the palette. Two timing windows make the handoff seamless: | COMMENT |
| MEDIUM | …/test/waitpointPresenter.danglingConnectedRuns.test.ts | 167 | describe("WaitpointPresenter#connectedRunIdsOn is robust to dangling (FK-free) connection rows", () => { | CODE |
| MEDIUM | …p/test/sessionWaitpointRoutes.replicaLag.guard.test.ts | 204 | // the zod params shape keeps this robust regardless of import order. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/update-e2e-package.sh | 11 | # Check if package-lock.json exists in the current directory | COMMENT |
| LOW | packages/cli-v3/install-mcp.sh | 89 | # Check if the CLI file exists | COMMENT |
| LOW | packages/cli-v3/install-mcp.sh | 110 | # Check if Claude config exists, create if it doesn't | COMMENT |
| LOW | packages/cli-v3/install-mcp.sh | 185 | # Check if Claude Desktop config exists, create if it doesn't | COMMENT |
| LOW | packages/cli-v3/install-mcp.sh | 260 | # Check if Cursor config exists, create if it doesn't | COMMENT |
| LOW | packages/cli-v3/install-mcp.sh | 335 | # Check if VS Code config exists, create if it doesn't | COMMENT |
| LOW | packages/cli-v3/install-mcp.sh | 410 | # Check if Crush config exists, create if it doesn't | COMMENT |
| LOW | packages/cli-v3/install-mcp.sh | 489 | # Check if Windsurf config exists, create if it doesn't | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …packages/webhook-sources/src/handAuthored/firecrawl.ts | 43 | "# Getting started\n\nInstall the CLI and run `acme init` to scaffold a new project.", | CODE |
| MEDIUM | packages/cli-v3/src/commands/init.ts | 162 | // scaffold by running `trigger.dev init` non-interactively, and the prompt would | COMMENT |
| MEDIUM | …ps/webapp/app/services/dashboardAgentWatches.server.ts | 328 | // Advisory only: `createWatch` below re-applies both guardrails atomically and | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …rnal-packages/otlp-importer/scripts/generate-protos.sh | 3 | # Define the application root and directories for generated files and proto files | COMMENT |
| MEDIUM | hosting/k8s/helm/values.yaml | 308 | # Create a Runner and let an operator build the run pod, instead of the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | hosting/k8s/helm/values.yaml | 20 | # When disabled, you can also use extraEnvVars and podAnnotations for secret injection | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/trigger-sdk/src/v3/auth.test.ts | 184 | async function handleRequest( | CODE |
| LOW | apps/webapp/app/entry.server.tsx | 105 | export default function handleRequest( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/batch-concurrency-cleaner.sh | 10 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal-packages/schedule-engine/src/engine/index.ts | 380 | finalAttempt: false, // TODO: implement retry logic | CODE |