Terragrunt is a flexible orchestration tool that allows Infrastructure as Code written in OpenTofu/Terraform to scale.
This report presents the forensic synthetic code analysis of gruntwork-io/terragrunt, a Go project with 9,711 GitHub stars. SynthScan v2.0 examined 259,609 lines of code across 1127 source files, recording 329 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 2.4 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 329 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/integration_scaffold_test.go | 24 | // scaffoldModuleURL returns the canonical scaffold-module source on the | COMMENT |
| MEDIUM | test/integration_scaffold_test.go | 222 | templatePath := workingDir + "//fixtures/scaffold/with-shell-commands" | CODE |
| MEDIUM | test/integration_scaffold_test.go | 250 | templatePath := workingDir + "//fixtures/scaffold/with-shell-commands" | CODE |
| MEDIUM | test/integration_scaffold_test.go | 277 | templatePath := workingDir + "//fixtures/scaffold/with-hooks" | CODE |
| MEDIUM | test/integration_scaffold_test.go | 302 | templatePath := workingDir + "//fixtures/scaffold/with-hooks" | CODE |
| MEDIUM | test/integration_scaffold_test.go | 327 | templatePath := workingDir + "//fixtures/scaffold/with-shell-and-hooks" | CODE |
| MEDIUM | test/integration_scaffold_test.go | 377 | // Verify the pre-existing file was not modified by scaffold's formatting step. | COMMENT |
| MEDIUM | test/integration_scaffold_test.go | 390 | templatePath := workingDir + "//fixtures/scaffold/with-shell-and-hooks" | CODE |
| MEDIUM⚡ | test/integration_scaffold_ssh_test.go | 21 | // sshScaffoldModuleURL is the SSH-form source for scaffold-module | COMMENT |
| MEDIUM⚡ | test/integration_scaffold_ssh_test.go | 26 | return "git::" + m.SSHURL + "//test/fixtures/scaffold/scaffold-module" | CODE |
| MEDIUM⚡ | test/integration_scaffold_ssh_test.go | 29 | // sshScaffoldTemplateModule is the SSH-form source for the scaffold | COMMENT |
| MEDIUM⚡ | test/integration_scaffold_ssh_test.go | 34 | return "git::" + m.SSHURL + "//test/fixtures/scaffold/module-with-template" | CODE |
| MEDIUM⚡ | test/integration_scaffold_ssh_test.go | 38 | // scaffold external-template/template fixture, which it asks the server | COMMENT |
| MEDIUM⚡ | test/integration_scaffold_ssh_test.go | 43 | return "git::" + m.SSHURL + "//test/fixtures/scaffold/external-template/template" | CODE |
| MEDIUM | test/integration_scaffold_ssh_test.go | 95 | // internal/cli/commands/scaffold/source_url_test.go, so this | COMMENT |
| MEDIUM | test/integration_scaffold_ssh_test.go | 96 | // integration test now just verifies that scaffold runs end-to-end | COMMENT |
| MEDIUM | test/integration_scaffold_ssh_test.go | 147 | // scaffold's source_url_test; this test now just verifies the | COMMENT |
| MEDIUM | test/integration_scaffold_ssh_test.go | 148 | // var-file plumbing reaches scaffold and EnableRootInclude=false | COMMENT |
| MEDIUM | test/helpers/git_server.go | 232 | // subpaths (e.g. "test/fixtures/scaffold/scaffold-module") and | COMMENT |
| MEDIUM | test/helpers/git_server.go | 245 | // branches at the new HEAD (so a `scaffold` source resolved to the | COMMENT |
| MEDIUM | internal/cli/flags/shared/scaffold.go | 18 | // NewScaffoldingFlags creates the flags shared between catalog and scaffold commands. | COMMENT |
| MEDIUM | internal/cli/commands/commands.go | 88 | scaffold.NewCommand(l, opts, v), // scaffold | CODE |
| MEDIUM | internal/cli/commands/catalog/tui/model_test.go | 184 | // the interactive scaffold key (`s`) on a copyable component transitions | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/model_test.go | 221 | // Lowercase s = interactive scaffold flow. | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/model_test.go | 518 | // TestModelScaffoldFailureQuitsWithError verifies that a failed scaffold | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/update.go | 311 | // Discard further input while the scaffold subprocess is running; | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/update.go | 366 | // ScaffoldFinishedMsg is delivered when a scaffold subprocess completes. | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/update.go | 390 | // scaffold or copy action. action is a verb phrase ("scaffolding component", | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/update.go | 524 | // scaffold run, pointing the user at the generated terragrunt.hcl. When | COMMENT |
| MEDIUM⚡ | internal/cli/commands/catalog/tui/update.go | 601 | // and (for module/template) the prepared scaffold.Plan, or (for unit/stack) | COMMENT |
| MEDIUM⚡ | internal/cli/commands/catalog/tui/update.go | 611 | // like a scaffold or copy failure: stash a styled message and quit. | COMMENT |
| MEDIUM⚡ | internal/cli/commands/catalog/tui/update.go | 617 | // scaffold from. | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/update.go | 631 | // parsing variables via scaffold.Prepare; for unit/stack it means reading | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/update.go | 645 | // discoverModuleFields prepares the scaffold for a module/template and | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/update.go | 727 | // abandonForm releases any prepared scaffold.Plan and clears the form | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/keys.go | 77 | // interactive scaffold form; the placeholder-only flow is reachable from | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/keys.go | 134 | // Run the interactive scaffold flow (s). | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/copy.go | 46 | // directory tree into the user's working directory. Unlike scaffold, it does | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/copy.go | 173 | // action mirrors how scaffold emits its output. | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/keys_test.go | 43 | // The previous design split scaffold across `s` (validated) and `S` | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/keys_test.go | 108 | // Pager mirrors the list: only the lowercase scaffold entry point; | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/scaffold.go | 15 | // via the scaffold package. When plan is non-nil the command takes the | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/scaffold.go | 32 | // WithPlan attaches a prepared scaffold.Plan and the user-supplied HCL | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/form.go | 187 | // scaffold.Plan.Generate or WriteValuesFile. | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/form.go | 243 | // pager state without performing the scaffold or copy. | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/form.go | 403 | // FieldsFromParsedVariables maps scaffold's variable representation onto | COMMENT |
| MEDIUM⚡ | internal/cli/commands/catalog/tui/model.go | 69 | // work (e.g. scaffold.Prepare downloading sources) propagates the | COMMENT |
| MEDIUM⚡ | internal/cli/commands/catalog/tui/model.go | 78 | // and is handed down to the scaffold/copy/form-discovery leaves. | COMMENT |
| MEDIUM⚡ | internal/cli/commands/catalog/tui/model.go | 84 | // the pager and form so scaffold and "view source" know their target | COMMENT |
| MEDIUM⚡ | internal/cli/commands/catalog/tui/model.go | 88 | // scaffold) matched while in the list view. | COMMENT |
| MEDIUM⚡ | internal/cli/commands/catalog/tui/model.go | 105 | // from scaffold-variable discovery. | COMMENT |
| MEDIUM⚡ | internal/cli/commands/catalog/tui/model.go | 109 | // or the scaffold is consumed. | COMMENT |
| MEDIUM⚡ | internal/cli/commands/catalog/tui/model.go | 114 | // terminalErr is the failure that ended the session (a scaffold, copy, | COMMENT |
| MEDIUM⚡ | internal/cli/commands/catalog/tui/model.go | 123 | // entrypoint, so scaffold and form-discovery leaves run against the | COMMENT |
| MEDIUM | internal/cli/commands/catalog/tui/model.go | 142 | // State is the current view (list, pager, form, or scaffold). | COMMENT |
| MEDIUM | internal/cli/commands/hcl/format/format.go | 148 | // This is used by scaffold to format only the files that were generated by boilerplate. | COMMENT |
| MEDIUM | internal/cli/commands/scaffold/scaffold_test.go | 457 | // Apply catalog config settings to options (simulating scaffold.Run behavior) | COMMENT |
| MEDIUM | internal/cli/commands/scaffold/scaffold.go | 142 | // Plan captures the state of a scaffold preparation: the source module has | COMMENT |
| MEDIUM | internal/cli/commands/scaffold/scaffold.go | 195 | // scaffold only in empty directories | COMMENT |
| MEDIUM | internal/cli/commands/scaffold/scaffold.go | 290 | // Generate renders the prepared scaffold into the output directory. When | COMMENT |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/integration_aws_oidc_test.go | 181 | ) | COMMENT |
| LOW | test/integration_run_test.go | 201 | // executes for each unit when both tofu and terraform are on PATH: | COMMENT |
| LOW | test/integration_include_test.go | 301 | COMMENT | |
| LOW | test/integration_regressions_test.go | 601 | t.Logf("Output length: before cancel=%d, after cancel=%d, final=%d", len(outputBeforeCancel), len(outputAfterCancel), l | COMMENT |
| LOW | test/integration_regressions_test.go | 621 | // ├── module1/ <- Has dependency on bastion | COMMENT |
| LOW | test/integration_test.go | 1021 | // TestTerragruntFullLockfile asserts that a single `terragrunt init` (no | COMMENT |
| LOW | test/integration_runner_pool_test.go | 281 | // Verify that source map values are used | COMMENT |
| LOW | test/helpers/git_server.go | 61 | } | COMMENT |
| LOW | test/helpers/git_server.go | 301 | COMMENT | |
| LOW | test/helpers/git_server_ssh.go | 41 | COMMENT | |
| LOW | test/helpers/git_server_ssh.go | 201 | COMMENT | |
| LOW | internal/cas/gitstore.go | 21 | // gitStoreLockTimeout bounds how long EnsureRef waits for the per-URL | COMMENT |
| LOW | internal/cas/gitstore.go | 121 | } | COMMENT |
| LOW | internal/cas/gitstore.go | 221 | Err: git.ErrNoMatchingReference, | COMMENT |
| LOW | internal/cas/telemetry.go | 21 | COMMENT | |
| LOW | internal/cas/venv.go | 21 | // panic surfaces a test misconfiguration rather than a runtime | COMMENT |
| LOW | internal/cas/local.go | 61 | // hashes in the synthetic tree, so blob lookups and tree lookups stay consistent. | COMMENT |
| LOW | internal/cas/clone_e2e_test.go | 121 | COMMENT | |
| LOW | internal/cas/cas.go | 41 | COMMENT | |
| LOW | internal/cas/cas.go | 181 | COMMENT | |
| LOW | internal/cas/cas.go | 661 | if err := c.ensureBlob(ctx, v, runner, entry.Hash, gitFilePerm(entry.Mode)); err != nil { | COMMENT |
| LOW | internal/cas/stacks.go | 61 | ContentDir string | COMMENT |
| LOW | internal/cas/stacks.go | 321 | // avoid mutating the stored blob. | COMMENT |
| LOW | internal/cas/stacks.go | 401 | COMMENT | |
| LOW | internal/cas/source.go | 21 | // version identifier for a source. Callers fall back to downloading, | COMMENT |
| LOW | internal/cas/source.go | 41 | COMMENT | |
| LOW | internal/cas/source.go | 61 | // Scheme is the URL scheme of URL ("s3", "gcs", "http"). Used in | COMMENT |
| LOW | internal/cas/source.go | 261 | return LinkTree(ctx, v, c.blobStore, c.treeStore, tree, opts.Dir, linkOpts...) | COMMENT |
| LOW | internal/cas/errors.go | 21 | // ErrReadFile is returned when failing to read a file | COMMENT |
| LOW | internal/cas/errors.go | 81 | ErrFetchClosureRequired = errors.New("fetch closure is required") | COMMENT |
| LOW | internal/getter/git.go | 21 | // wired with the default detector chain. GitGetter wraps an instance of this | COMMENT |
| LOW | internal/getter/options.go | 41 | COMMENT | |
| LOW | internal/getter/oci.go | 21 | // OCIRepositoryStore is the narrow seam between the OCI getter and the | COMMENT |
| LOW | internal/getter/tfr.go | 21 | const versionQueryKey = "version" | COMMENT |
| LOW | internal/getter/tfr.go | 41 | // Authentication uses environment variables: TG_TF_REGISTRY_TOKEN supplies a | COMMENT |
| LOW | internal/getter/defaults.go | 181 | // and an optional set of extra headers. Pass nil for `extra` to get the | COMMENT |
| LOW | internal/getter/resolver.go | 1 | package getter | COMMENT |
| LOW | internal/getter/doc.go | 1 | // Package getter is Terragrunt's single integration point with the | COMMENT |
| LOW | internal/getter/resolver_tfr.go | 21 | // TFRResolver is a [cas.SourceResolver] for tfr:// URLs. | COMMENT |
| LOW | internal/getter/resolver_s3.go | 41 | // s3URLPathSegments is the count produced by splitting `/bucket/key` | COMMENT |
| LOW | internal/getter/resolver_s3.go | 61 | // https://<bucket>.s3.amazonaws.com/<key> (global virtual-host) | COMMENT |
| LOW | internal/getter/resolver_s3.go | 81 | COMMENT | |
| LOW | internal/getter/casgetter.go | 41 | // | COMMENT |
| LOW | internal/getter/casgetter.go | 81 | COMMENT | |
| LOW | internal/getter/casgetter.go | 221 | COMMENT | |
| LOW | internal/getter/casgetter.go | 261 | // | COMMENT |
| LOW | internal/getter/casgetter.go | 441 | Fetch: g.buildInnerFetch(bare, scheme, innerURL), | COMMENT |
| LOW | internal/vfs/vfs.go | 281 | } | COMMENT |
| LOW | internal/vfs/vfs.go | 321 | err := fastwalk.Walk(fwCfg, root, fn) | COMMENT |
| LOW | internal/hclparse/autoinclude.go | 21 | // the first parsing pass extracts all unit/stack names and paths. | COMMENT |
| LOW | internal/hclparse/autoinclude.go | 41 | // - dependency.config_path is resolved (references unit.*.path / values.*) | COMMENT |
| LOW | internal/hclparse/autoinclude.go | 61 | COMMENT | |
| LOW | internal/providercache/providercache.go | 61 | // | COMMENT |
| LOW | internal/providercache/providercache.go | 421 | // createLocalCLIConfig creates a local CLI config that merges the default/user configuration with our Provider Cache co | COMMENT |
| LOW | internal/providercache/providercache.go | 661 | COMMENT | |
| LOW | internal/stacks/output/output.go | 41 | } | COMMENT |
| LOW | internal/stacks/output/output.go | 61 | // parts of the infrastructure while maintaining awareness of the overall architecture. | COMMENT |
| LOW | internal/stacks/output/output.go | 241 | // nestUnitOutputs transforms a flat map of unit outputs into a nested hierarchical structure. | COMMENT |
| LOW | internal/util/jsons.go | 41 | // escapeInterpolationPatternsInValue recursively walks a value tree and escapes | COMMENT |
| LOW | internal/util/file.go | 601 | return nil | COMMENT |
| 108 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | internal/cli/commands/scaffold/scaffold.go | 74 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | internal/cli/commands/scaffold/scaffold.go | 76 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | internal/cli/commands/scaffold/scaffold.go | 94 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | internal/cli/commands/scaffold/scaffold.go | 97 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 5 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 7 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 11 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 13 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 56 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 62 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 76 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 86 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 128 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 132 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 140 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 143 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 148 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 150 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 193 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 196 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 201 | # ============================================================== | COMMENT |
| MEDIUM⚡ | docs/public/robots.txt | 203 | # ============================================================== | COMMENT |
| MEDIUM | docs/public/robots.txt | 36 | # ============================================================== | COMMENT |
| MEDIUM | docs/public/robots.txt | 42 | # ============================================================== | COMMENT |
| MEDIUM | docs/public/robots.txt | 112 | # ============================================================== | COMMENT |
| MEDIUM | docs/public/robots.txt | 117 | # ============================================================== | COMMENT |
| MEDIUM | docs/public/robots.txt | 226 | # ============================================================== | COMMENT |
| MEDIUM | docs/public/robots.txt | 228 | # ============================================================== | COMMENT |
| MEDIUM | docs/public/robots.txt | 266 | # ============================================================== | COMMENT |
| MEDIUM | docs/public/robots.txt | 268 | # ============================================================== | COMMENT |
| MEDIUM | docs/public/robots.txt | 324 | # ============================================================== | COMMENT |
| MEDIUM | docs/public/robots.txt | 327 | # ============================================================== | COMMENT |
| MEDIUM | docs/public/robots.txt | 344 | # ============================================================== | COMMENT |
| MEDIUM | docs/public/robots.txt | 346 | # ============================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/integration_docs_test.go | 176 | // Step 1: Generate the stack | COMMENT |
| LOW | test/integration_docs_test.go | 191 | // Step 2: Apply the stack to create state files | COMMENT |
| LOW | test/integration_docs_test.go | 216 | // Step 3: Clean and regenerate the stack | COMMENT |
| LOW⚡ | test/integration_docs_test.go | 236 | // Step 4: Verify that existing state is recognized after regeneration | COMMENT |
| LOW⚡ | test/integration_docs_test.go | 244 | // Step 5: Destroy resources to clean up | COMMENT |
| LOW⚡ | test/integration_test.go | 4180 | // Step 1: Create plan with custom name (no .tfplan extension) | COMMENT |
| LOW⚡ | test/integration_test.go | 4187 | // Step 2: Apply using the custom plan file name | COMMENT |
| LOW | internal/queue/queue.go | 99 | // If the entry is a "down" command, we need to check if all of its dependents are ready. | COMMENT |
| LOW⚡ | internal/queue/queue_test.go | 922 | // Step 1: Only C should be ready (it has no dependents) | COMMENT |
| LOW⚡ | internal/queue/queue_test.go | 931 | // Step 2: After C is destroyed, B should be ready (but NOT A yet, as A is a dependency of B) | COMMENT |
| LOW⚡ | internal/queue/queue_test.go | 940 | // Step 3: After B is destroyed, A should be ready | COMMENT |
| LOW⚡ | internal/queue/queue_test.go | 949 | // Step 4: All entries should be finished | COMMENT |
| LOW | internal/queue/queue_test.go | 982 | // Step 1: Only C should be ready | COMMENT |
| LOW⚡ | internal/queue/queue_test.go | 997 | // Step 2: B should now be ready even though C failed | COMMENT |
| LOW⚡ | internal/queue/queue_test.go | 1006 | // Step 3: After B succeeds, A should be ready | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/integration_docs_test.go | 176 | // Step 1: Generate the stack | COMMENT |
| LOW | test/integration_docs_test.go | 191 | // Step 2: Apply the stack to create state files | COMMENT |
| LOW | test/integration_docs_test.go | 216 | // Step 3: Clean and regenerate the stack | COMMENT |
| LOW⚡ | test/integration_docs_test.go | 236 | // Step 4: Verify that existing state is recognized after regeneration | COMMENT |
| LOW⚡ | test/integration_docs_test.go | 244 | // Step 5: Destroy resources to clean up | COMMENT |
| LOW⚡ | test/integration_test.go | 4180 | // Step 1: Create plan with custom name (no .tfplan extension) | COMMENT |
| LOW⚡ | test/integration_test.go | 4187 | // Step 2: Apply using the custom plan file name | COMMENT |
| LOW | internal/cli/flags/flag_opts.go | 44 | // NOTE: This function is currently unused but retained for future flag deprecation needs. | COMMENT |
| LOW⚡ | internal/queue/queue_test.go | 922 | // Step 1: Only C should be ready (it has no dependents) | COMMENT |
| LOW⚡ | internal/queue/queue_test.go | 931 | // Step 2: After C is destroyed, B should be ready (but NOT A yet, as A is a dependency of B) | COMMENT |
| LOW⚡ | internal/queue/queue_test.go | 940 | // Step 3: After B is destroyed, A should be ready | COMMENT |
| LOW⚡ | internal/queue/queue_test.go | 949 | // Step 4: All entries should be finished | COMMENT |
| LOW | internal/queue/queue_test.go | 982 | // Step 1: Only C should be ready | COMMENT |
| LOW⚡ | internal/queue/queue_test.go | 997 | // Step 2: B should now be ready even though C failed | COMMENT |
| LOW⚡ | internal/queue/queue_test.go | 1006 | // Step 3: After B succeeds, A should be ready | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/integration_test.go | 918 | // This makes the test more robust. | COMMENT |
| MEDIUM | internal/util/datetime.go | 60 | // be robust here. | COMMENT |
| MEDIUM | internal/glob/glob_test.go | 251 | // ElementsMatch ignores order, so the assertion is robust to walker | COMMENT |
| MEDIUM | pkg/config/dependency.go | 976 | // To make parsing robust to either, isolate the first JSON object in the buffer. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/src/components/vendored/starlight/rehype-file-tree.ts | 187 | function getFileIconTypeFromExtension(fileName: string) { | CODE |
| LOW | …/src/components/vendored/starlight/rehype-file-tree.ts | 240 | function throwFileTreeValidationError(message: string): never { | CODE |
| LOW | docs/src/lib/changelog.ts | 277 | function transformAsidesToGitHubAlerts(input: string): string { | CODE |
| LOW | docs/src/lib/page-to-markdown.ts | 93 | .use(function improveExpressiveCodeHandling() { | CODE |
| LOW | docs/src/lib/page-to-markdown.ts | 327 | export async function componentToSimpleMarkdown( | CODE |
| LOW | docs/src/lib/commands/sidebar/index.ts | 28 | function organizeCommandsIntoGroups(flatCommandItems: (SidebarItem & { originalPath: string })[]): SidebarItem[] { | CODE |
| LOW | docs/src/lib/commands/sidebar/index.ts | 59 | function insertCommandsIntoSidebar( | CODE |
| LOW | docs/src/lib/commands/sidebar/index.ts | 95 | function expandAutogenerateDirectory(directory: string): SidebarItem[] { | CODE |
| LOW | docs/src/lib/commands/sidebar/index.ts | 115 | function populateAutogeneratedSections(items: SidebarItem[]): SidebarItem[] { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/release/check-release-exists.sh | 20 | # Check if release exists using gh CLI (only care about exit code) | COMMENT |
| LOW | .github/scripts/release/lib-release-config.sh | 79 | # Check if config file exists | COMMENT |
| LOW | .github/scripts/release/verify-assets-uploaded.sh | 52 | # Check if file exists in release | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/helpers/git_server_ssh.go | 226 | {"config", "user.email", "test@test.com"}, | CODE |
| LOW | test/helpers/test_helpers.go | 98 | cmd = exec.CommandContext(ctx, "git", "config", "user.email", "test@test.com") | CODE |
| LOW | internal/cli/commands/hcl/validate/validate_test.go | 120 | return vexec.Result{Stdout: []byte(`{"envs":{"AWS_ACCESS_KEY_ID":"fake-key"}}`)} | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/cli/commands/info/strict/command.go | 2 | // Example usage: | COMMENT |
| LOW | docs/tests/install_test.sh | 4 | # Usage: | COMMENT |