Agent Substrate: the core system
This report summarizes scanner evidence for agent-substrate/substrate, a Go project with 5,993 GitHub stars. SynthScan examined 502,151 lines of code across 1924 source files, recording 2719 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 5.8 (Moderate 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? 2515 finding(s).
Are imports declared and package/API names verified? 65 finding(s).
Are wrappers, guards, and repeated structures necessary? 308 finding(s).
Which changes need focused human review? 2719 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 2719 distinct pattern matches across 20 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 | .golangci.yaml | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | .ko.yaml | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | .golangci-kal.yaml | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | cmd/ateworker-microvm/actorpath.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/crash.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/snapshotborrow.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/checkpoint.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/checkpoint.go | 41 | "golang.org/x/sync/errgroup" | COMMENT |
| LOW | cmd/ateworker-microvm/checkpoint.go | 61 | // on restore with its rootfs writes back in place. | COMMENT |
| LOW | cmd/ateworker-microvm/checkpoint.go | 181 | if err := os.MkdirAll(checkpointDir, 0o700); err != nil { | COMMENT |
| LOW | cmd/ateworker-microvm/checkpoint.go | 321 | return dSnapshot, nil | COMMENT |
| LOW | cmd/ateworker-microvm/fidelity_test.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/hosted_test.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/durable.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/durable.go | 21 | // A durable-dir volume is a directory whose contents outlive the actor's process | COMMENT |
| LOW | cmd/ateworker-microvm/run.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/run.go | 61 | // base-id file so the chain survives suspend->resume->suspend. | COMMENT |
| LOW | cmd/ateworker-microvm/run.go | 81 | // restoreSourceDir is the snapshot dir this actor was OnDemand-restored from | COMMENT |
| LOW | cmd/ateworker-microvm/run.go | 101 | // actor's lifetime) and GetWorkloadStats (via the hosted actor's guest | COMMENT |
| LOW | cmd/ateworker-microvm/run.go | 141 | const kataAgentPath = "/usr/bin/kata-agent" | COMMENT |
| LOW | cmd/ateworker-microvm/run.go | 221 | // | COMMENT |
| LOW | cmd/ateworker-microvm/run.go | 341 | Ref: p.actorRef, | COMMENT |
| LOW | cmd/ateworker-microvm/run.go | 761 | // agentInit reports whether to boot the kata agent as the guest's PID 1, from what | COMMENT |
| LOW | cmd/ateworker-microvm/run.go | 781 | // mask systemd-networkd, since the agent owns eth0. | COMMENT |
| LOW | cmd/ateworker-microvm/run.go | 921 | return fmt.Errorf("while starting rootfs container %q: %w", c.name, err) | COMMENT |
| LOW | cmd/ateworker-microvm/run.go | 941 | go s.actorLogger.WrapContainerLogs(kata.NewStdioReader(context.Background(), ac, streamID, streamID, false), a, contain | COMMENT |
| LOW | cmd/ateworker-microvm/run.go | 961 | ) | COMMENT |
| LOW | cmd/ateworker-microvm/hosted.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/hosted.go | 41 | // Mutable fields are guarded by actorsMu. | COMMENT |
| LOW | cmd/ateworker-microvm/systeminfo.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/systeminfo.go | 21 | // so its contents always describe the actor actually being started, whatever | COMMENT |
| LOW | cmd/ateworker-microvm/spec.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/spec.go | 41 | // remedy names the field that raises the memory ceiling. | COMMENT |
| LOW | cmd/ateworker-microvm/shutdown.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/shutdown.go | 41 | // own termination grace period — 3600s, set by | COMMENT |
| LOW | cmd/ateworker-microvm/shutdown.go | 61 | // grace period is raised. | COMMENT |
| LOW | cmd/ateworker-microvm/shutdown.go | 261 | return nil | COMMENT |
| LOW | cmd/ateworker-microvm/net.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/snapshotborrow_test.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/csi.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/durable_test.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/snapshotcache.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/phaselog.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/restore_test.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/fidelity.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/fidelity.go | 21 | // The fidelity ladder, lowest to highest, each level including the ones | COMMENT |
| LOW | cmd/ateworker-microvm/run_test.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/stats.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/stats.go | 41 | // Generous next to a healthy read, which is a vsock round trip and four small | COMMENT |
| LOW | cmd/ateworker-microvm/stats.go | 61 | // agent to talk to. | COMMENT |
| LOW | cmd/ateworker-microvm/stats.go | 81 | agent containerStatsReader | COMMENT |
| LOW | cmd/ateworker-microvm/stats.go | 121 | } | COMMENT |
| LOW | cmd/ateworker-microvm/stats.go | 321 | // RPCs write together under lock and so should never happen. GetWorkloadStats | COMMENT |
| LOW | cmd/ateworker-microvm/stats.go | 381 | } | COMMENT |
| LOW | cmd/ateworker-microvm/shutdown_test.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/crash_test.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/rootfsupper.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/rootfsupper.go | 21 | // Each container's rootfs is assembled ON THE HOST — the stock kata | COMMENT |
| LOW | cmd/ateworker-microvm/memlimit_test.go | 1 | //go:build linux | COMMENT |
| LOW | cmd/ateworker-microvm/rootfsupper_test.go | 1 | //go:build linux | COMMENT |
| 2245 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/skills/security-status-report/scripts/report_test.py | 46 | def test_sorts_by_priority_then_id(self): | CODE |
| LOW | …s/skills/security-status-report/scripts/report_test.py | 56 | def test_error_row_and_pipe_escaping(self): | CODE |
| LOW | …ls/security-status-report/scripts/template_dispatch.py | 24 | def generate_dispatch_payload(output_path): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 128 | def test_parses_both_layers_of_the_same_msg(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 136 | def test_nanosecond_timestamps_parse(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 143 | def test_ateworker_checkpoint_parses(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 148 | def test_cloud_logging_entry_parses_with_the_entry_timestamp(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 156 | def test_cloud_logging_export_file_is_a_json_array(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 165 | def test_ateworker_records_take_class_and_kind_from_the_paired_atelet_record(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 172 | def test_an_unpaired_ateworker_record_keeps_no_class(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 178 | def test_non_numeric_duration_is_skipped_not_fatal(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 186 | def test_malformed_export_warns_instead_of_vanishing(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 229 | def test_atelet_checkpoint_residual_is_total_minus_sequential_phases(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 234 | def test_microvm_ateworker_checkpoint_counts_the_concurrent_captures_once(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 242 | def test_gvisor_ateworker_checkpoint_phases_are_sequential(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 248 | def test_ateworker_checkpoint_of_unknown_runtime_gets_no_residual(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 253 | def test_gvisor_pair_splits_both_layers_by_class(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 273 | def test_restore_layers_get_no_residual(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 278 | def test_negative_residual_is_not_clamped(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 285 | def test_failed_records_are_flagged_and_excluded_from_percentiles(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 293 | def test_percentiles_split_by_sandbox_class_and_kind(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 303 | def test_paired_ateworker_record_inherits_the_atelet_kind(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 311 | def test_checkpoint_pairing_window_ends_where_persist_starts(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 321 | def test_checkpoint_pairing_window_excludes_cleanup(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 331 | def test_an_ateworker_record_pairs_with_at_most_one_operation(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 339 | def test_waterfall_ignores_an_ateworker_record_from_another_cycle(self): | CODE |
| LOW⚡ | benchmarking/analysis/test_phase_report.py | 346 | def test_stats_rows_take_the_runner_jsonl_shape(self): | CODE |
| LOW | benchmarking/analysis/test_phase_report.py | 198 | def test_bracket_prefixed_dump_is_read_line_by_line(self): | CODE |
| LOW | benchmarking/analysis/test_phase_report.py | 212 | def test_parse_lines_feeds_an_existing_parse(self): | CODE |
| LOW | benchmarking/analysis/test_phase_report.py | 218 | def test_prefixed_kubectl_lines_still_parse(self): | CODE |
| LOW | benchmarking/analysis/test_phase_report.py | 359 | def test_waterfall_nests_ateworker_and_gap_under_atelet(self): | CODE |
| LOW | benchmarking/locust/cluster_facts.py | 189 | def get_cluster_hardware_facts(logs: TextIO | None = None) -> dict[str, Any]: | CODE |
| LOW | benchmarking/locust/server_telemetry.py | 813 | def extract_and_record_server_telemetry( | CODE |
| LOW⚡ | benchmarking/locust/unit_tests/test_turnover_window.py | 73 | def test_finds_the_first_boomer_fill_done_line(self): | CODE |
| LOW⚡ | benchmarking/locust/unit_tests/test_turnover_window.py | 76 | def test_a_run_without_one_has_none(self): | CODE |
| LOW⚡ | benchmarking/locust/unit_tests/test_turnover_window.py | 79 | def test_reads_an_offset_time(self): | CODE |
| LOW⚡ | benchmarking/locust/unit_tests/test_turnover_window.py | 83 | def test_skips_a_line_it_cannot_read(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_turnover_window.py | 101 | def test_counts_from_the_start_to_the_last_sample(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_turnover_window.py | 108 | def test_no_sample_after_the_start_gives_none(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_turnover_window.py | 124 | def test_appends_the_window_row(self): | CODE |
| LOW⚡ | benchmarking/locust/unit_tests/test_turnover_window.py | 148 | def test_appends_nothing_without_a_history(self): | CODE |
| LOW⚡ | benchmarking/locust/unit_tests/test_turnover_window.py | 151 | def test_appends_nothing_without_a_sample_after_the_start(self): | CODE |
| LOW⚡ | benchmarking/locust/unit_tests/test_turnover_window.py | 156 | def test_a_start_inside_the_window_starts_it(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_turnover_window.py | 172 | def test_a_start_outside_the_window_logs_and_leaves_it(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_cluster_facts.py | 181 | def test_capacity_is_scoped_to_nodes_running_worker_pods(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_cluster_facts.py | 192 | def test_zero_worker_pods_is_a_reading(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_cluster_facts.py | 202 | def test_unreadable_facts_are_none(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_cluster_facts.py | 220 | def test_no_cluster_facts_skips_the_api(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_cluster_facts.py | 241 | def test_worker_container_facts(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_cluster_facts.py | 271 | def test_worker_facts_fail_independently(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_cluster_facts.py | 300 | def test_unreadable_worker_values_are_logged_once(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_cluster_facts.py | 324 | def test_metadata_in_trial_summary(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_cluster_facts.py | 340 | def test_run_window_and_multi_actor_worker(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_cluster_facts.py | 386 | def test_actors_per_user_scales_every_key(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_cluster_facts.py | 404 | def test_actors_per_pod_percentiles(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_cluster_facts.py | 440 | def test_per_rpc_failure_ratios(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_cluster_facts.py | 460 | def test_live_actors_from_create_and_delete(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_cluster_facts.py | 544 | def test_evicted_pods_from_events(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_cluster_facts.py | 598 | def test_worker_pod_reads_follow_cluster_facts_flag(self): | CODE |
| LOW | benchmarking/locust/unit_tests/test_server_telemetry.py | 214 | def test_range_query_window_guard(self, mock_urlopen): | CODE |
| 109 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | hack/metrics/ci-failure-analysis.py | 61 | # ── GitHub helpers ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | hack/metrics/ci-failure-analysis.py | 85 | # ── failure classification ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | hack/metrics/ci-failure-analysis.py | 130 | # ── main analysis ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | hack/metrics/ci-failure-analysis.py | 196 | # ── output ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | hack/metrics/ci-failure-analysis.py | 236 | # ── CLI ─────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | docs/metrics/substrate.yaml | 35 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/substrate.yaml | 54 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/substrate.yaml | 125 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/substrate.yaml | 131 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | docs/metrics/substrate.yaml | 184 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | docs/metrics/substrate.yaml | 188 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | docs/metrics/substrate.yaml | 198 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | docs/metrics/substrate.yaml | 202 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/registry/metrics.yaml | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/registry/metrics.yaml | 32 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/registry/metrics.yaml | 798 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/registry/metrics.yaml | 800 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/registry/metrics.yaml | 984 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/registry/metrics.yaml | 986 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/registry/metrics.yaml | 1453 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/registry/metrics.yaml | 1455 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/registry/metrics.yaml | 1503 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/registry/metrics.yaml | 1505 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/registry/metrics.yaml | 1601 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/registry/metrics.yaml | 1603 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/registry/metrics.yaml | 1667 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/metrics/registry/metrics.yaml | 1680 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/examples/gmp-alerting-rules.yaml | 75 | # ============================================================================ | COMMENT |
| MEDIUM | docs/examples/gmp-alerting-rules.yaml | 84 | # ============================================================================ | COMMENT |
| MEDIUM | docs/examples/gmp-alerting-rules.yaml | 169 | # ============================================================================ | COMMENT |
| MEDIUM | docs/examples/gmp-alerting-rules.yaml | 183 | # ============================================================================ | COMMENT |
| MEDIUM | docs/examples/gmp-alerting-rules.yaml | 278 | # ============================================================================ | COMMENT |
| MEDIUM | docs/examples/gmp-alerting-rules.yaml | 306 | # ============================================================================ | COMMENT |
| MEDIUM | manifests/ate-install/atenet-egress.yaml | 283 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | manifests/ate-install/atenet-egress.yaml | 315 | # --------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/skills/security-status-report/scripts/render_chart.py | 24 | print("Error: 'matplotlib' is required to render the chart. Please install it using 'pip install matplotlib'.", file | CODE |
| LOW | …kills/security-status-report/scripts/compile_report.py | 76 | except Exception as e: | CODE |
| MEDIUM | hack/export-threats.py | 97 | print(f"Error: {args.md} not found.", file=sys.stderr) | CODE |
| LOW | hack/util/verify-boilerplate.py | 61 | except Exception as e: | CODE |
| MEDIUM | hack/util/verify-boilerplate.py | 62 | print(f"Error reading {filepath}: {e}") | CODE |
| MEDIUM | hack/util/verify-boilerplate.py | 96 | print(f"Error running git ls-files: {e}") | CODE |
| MEDIUM | hack/util/verify-boilerplate.py | 57 | def verify_file(filepath): | CODE |
| LOW | benchmarking/locust/cluster_facts.py | 109 | except Exception as e: | CODE |
| LOW | benchmarking/locust/cluster_facts.py | 218 | except Exception as e: | CODE |
| LOW | benchmarking/locust/cluster_facts.py | 257 | except Exception as e: | CODE |
| LOW | benchmarking/locust/cluster_facts.py | 290 | except Exception as e: | CODE |
| LOW | benchmarking/locust/cluster_facts.py | 327 | except Exception as e: | CODE |
| LOW | benchmarking/locust/cluster_facts.py | 439 | except Exception as e: | CODE |
| LOW | benchmarking/locust/cluster_facts.py | 477 | except Exception as e: | CODE |
| LOW | benchmarking/locust/runner.py | 534 | except Exception as e: | CODE |
| LOW | benchmarking/locust/runner.py | 547 | except Exception as e: | CODE |
| LOW | benchmarking/locust/runner.py | 606 | except Exception as e: | CODE |
| LOW | benchmarking/locust/runner.py | 622 | except Exception as e: | CODE |
| LOW | benchmarking/locust/runner.py | 639 | except Exception as e: | CODE |
| LOW | benchmarking/locust/runner.py | 651 | except Exception as e: | CODE |
| LOW | benchmarking/locust/runner.py | 673 | except Exception as e: | CODE |
| LOW | benchmarking/locust/runner.py | 686 | except Exception as e: | CODE |
| LOW | benchmarking/locust/runner.py | 696 | except Exception as e: | CODE |
| LOW | benchmarking/locust/runner.py | 714 | except Exception as e: | CODE |
| LOW | benchmarking/locust/server_telemetry.py | 53 | except Exception as e: | CODE |
| LOW | benchmarking/locust/server_telemetry.py | 86 | except Exception as e: | CODE |
| LOW | benchmarking/locust/server_telemetry.py | 149 | except Exception: | CODE |
| LOW | benchmarking/locust/phase_breakdown.py | 96 | except Exception as e: | CODE |
| LOW | benchmarking/locust/phase_breakdown.py | 107 | except Exception as e: | CODE |
| LOW | benchmarking/locust/phase_breakdown.py | 117 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/counter_demo.py | 75 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/counter_demo.py | 97 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/counter_demo.py | 117 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/counter_demo.py | 122 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/counter_demo.py | 136 | except Exception: | CODE |
| LOW | benchmarking/locust/tests/counter_demo.py | 160 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/counter_demo.py | 184 | except Exception: | CODE |
| LOW | benchmarking/locust/tests/ate_api.py | 57 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/ate_api.py | 77 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/ate_api.py | 86 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/ate_api.py | 98 | except Exception: | CODE |
| LOW | benchmarking/locust/tests/ate_api.py | 107 | except Exception: | CODE |
| LOW | benchmarking/locust/tests/ate_api.py | 119 | except Exception: | CODE |
| MEDIUM | benchmarking/locust/tests/ate_api.py | 91 | def invoke_target(self) -> None: | CODE |
| LOW | benchmarking/locust/tests/usermem.py | 51 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/usermem.py | 73 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/usermem.py | 85 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/usermem.py | 93 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/usermem.py | 112 | except Exception: | CODE |
| LOW | benchmarking/locust/tests/usermem.py | 124 | except Exception: | CODE |
| LOW | benchmarking/locust/tests/sleep.py | 51 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/sleep.py | 73 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/sleep.py | 85 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/sleep.py | 93 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/sleep.py | 112 | except Exception: | CODE |
| LOW | benchmarking/locust/tests/sleep.py | 124 | except Exception: | CODE |
| LOW | benchmarking/locust/tests/kernelmem.py | 51 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/kernelmem.py | 73 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/kernelmem.py | 85 | except Exception as e: | CODE |
| LOW | benchmarking/locust/tests/kernelmem.py | 93 | except Exception as e: | CODE |
| 12 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | benchmarking/locust/cluster_facts.py | 78 | except config.ConfigException: | CODE |
| HIGH | benchmarking/locust/server_telemetry.py | 192 | except (IndexError, TypeError, ValueError): | CODE |
| HIGH | benchmarking/locust/server_telemetry.py | 294 | except (ValueError, IndexError): | CODE |
| HIGH | benchmarking/locust/tests/counter_demo.py | 136 | except Exception: | CODE |
| HIGH | benchmarking/locust/tests/counter_demo.py | 184 | except Exception: | CODE |
| HIGH | benchmarking/locust/tests/ate_api.py | 98 | except Exception: | CODE |
| HIGH | benchmarking/locust/tests/ate_api.py | 107 | except Exception: | CODE |
| HIGH | benchmarking/locust/tests/ate_api.py | 119 | except Exception: | CODE |
| HIGH | benchmarking/locust/tests/usermem.py | 112 | except Exception: | CODE |
| HIGH | benchmarking/locust/tests/usermem.py | 124 | except Exception: | CODE |
| HIGH | benchmarking/locust/tests/sleep.py | 112 | except Exception: | CODE |
| HIGH | benchmarking/locust/tests/sleep.py | 124 | except Exception: | CODE |
| HIGH | benchmarking/locust/tests/kernelmem.py | 112 | except Exception: | CODE |
| HIGH | benchmarking/locust/tests/kernelmem.py | 124 | except Exception: | CODE |
| HIGH | benchmarking/nighthawk-ingress/tests/test_spec.py | 96 | except ValueError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/ate-setup/commands.md | 28 | | `--fake-data-plane` | Install the fake data plane for control-plane benchmarks: fake-atelet takes atelet's place in it | CODE |
| LOW | cmd/ate-setup/internal/cmd/deploy.go | 102 | --cordon-system-infra-components, and --fake-data-plane flags.`, | CODE |
| LOW | cmd/ate-setup/internal/config/setting.go | 308 | Key: "fakeDataPlane.enabled", Env: "ATE_INSTALL_FAKE_DATA_PLANE", Flag: "fake-data-plane", | CODE |
| LOW | cmd/ate-setup/internal/config/options_test.go | 108 | {"fake-data-plane", opts.FakeDataPlane}, | CODE |
| LOW | cmd/ate-setup/internal/steps/deploy.go | 415 | return e.Cfg.Manifest("components", "fake-data-plane", "fake-workersync.yaml") | CODE |
| LOW | cmd/ate-setup/internal/steps/deploy.go | 430 | return fmt.Errorf("%s --fake-data-plane needs the fake data plane installed; install it with deploy ate-system --fake- | CODE |
| LOW | cmd/ate-setup/internal/steps/deploy.go | 432 | return fmt.Errorf("the cluster has the fake data plane, which %s alone would half replace; pass --fake-data-plane, or | CODE |
| LOW | cmd/ate-setup/internal/steps/deploy.go | 466 | return fmt.Errorf("--fake-data-plane cannot replace the real data plane while worker pods exist; delete these WorkerPoo | CODE |
| LOW | cmd/ate-setup/internal/steps/deploy.go | 498 | // --fake-data-plane, after every apply that carries atelet or ate-controller. | COMMENT |
| LOW | cmd/ate-setup/internal/steps/overlay_test.go | 614 | // Under --fake-data-plane every path that applies atelet or ate-controller | COMMENT |
| LOW | cmd/ate-setup/internal/steps/overlay_test.go | 894 | t.Run("composes with fake-data-plane", func(t *testing.T) { | CODE |
| LOW | cmd/ate-setup/internal/steps/overlay_test.go | 1163 | // Without --fake-data-plane the data plane renders as it always has. | COMMENT |
| LOW | cmd/ate-setup/internal/steps/overlay_test.go | 1176 | t.Error("render without --fake-data-plane differs from render") | CODE |
| LOW | cmd/ate-setup/internal/steps/overlay_test.go | 1179 | t.Errorf("render without --fake-data-plane has a %s Deployment", fakeWorkersyncDeployment) | CODE |
| LOW | cmd/ate-setup/internal/steps/overlay_test.go | 1626 | // Without --fake-data-plane there is no fake-workersync rollout to wait for. | COMMENT |
| LOW | cmd/ate-setup/internal/steps/overlay_test.go | 1630 | t.Errorf("waitFakeWorkersync() without --fake-data-plane = %v, want nil", err) | CODE |
| LOW | cmd/ate-setup/internal/steps/overlay_test.go | 1728 | t.Errorf("the fake-data-plane component does not list fake-workersync.yaml as a resource") | CODE |
| LOW⚡ | cmd/ate-setup/internal/steps/overlay.go | 51 | // over the atelet and ate-controller applies under --fake-data-plane. | COMMENT |
| LOW⚡ | cmd/ate-setup/internal/steps/overlay.go | 52 | const fakeDataPlaneComponent = installDir + "/components/fake-data-plane" | CODE |
| LOW⚡ | cmd/ate-setup/internal/steps/overlay.go | 62 | // e2e must come before fake-data-plane: e2e appends to atelet's args, | COMMENT |
| LOW⚡ | cmd/ate-setup/internal/steps/overlay.go | 63 | // and fake-data-plane removes args entirely. | COMMENT |
| LOW | cmd/ate-setup/internal/steps/delete.go | 70 | {"components", "fake-data-plane", "fake-workersync.yaml"}, | CODE |
| LOW | cmd/ate-setup/internal/steps/microvm.go | 224 | "ASSET_BUCKET_NAME": "placeholder", | CODE |
| LOW | cmd/atenet/internal/router/egress/credentials_test.go | 135 | md.Headers["x-api-key"] = "placeholder" | CODE |
| LOW | cmd/atenet/internal/router/egress/credentials_test.go | 237 | md.Headers["x-api-key"] = "placeholder" | CODE |
| LOW | cmd/atenet/internal/router/egress/credentials_test.go | 458 | md.Headers[header] = "placeholder" | CODE |
| LOW | cmd/benchmarking/isolate/fake-atelet/main.go | 16 | // runs in atelet's DaemonSet, installed by ate-setup --fake-data-plane, so | COMMENT |
| LOW | …ernal/benchmarking/boomer/resumepaused/resumepaused.go | 19 | // (benchmarking/workloads/deploy.sh --fake-data-plane), it measures what a | COMMENT |
| LOW | docs/guides/benchmarking.md | 681 | go run ./cmd/ate-setup deploy ate-system --fake-data-plane | CODE |
| LOW | docs/guides/operator-install.md | 307 | | `fakeDataPlane.enabled` | `ATE_INSTALL_FAKE_DATA_PLANE` | `--fake-data-plane` | CODE |
| LOW | …-install/components/fake-data-plane/kustomization.yaml | 16 | # --fake-data-plane over the atelet and ate-controller applies. fake-atelet | COMMENT |
| LOW | benchmarking/workloads/deploy.sh | 102 | echo " On a substrate installed with --fake-data-plane, set a fake-atelet flag:" | CODE |
| LOW | benchmarking/workloads/deploy.sh | 246 | # --fake-data-plane, which serves the WorkerPool with fake Workers instead of | COMMENT |
| LOW | benchmarking/workloads/deploy.sh | 300 | echo "Error: --fake-atelet-env needs substrate installed with --fake-data-plane" >&2 | CODE |
| LOW | benchmarking/automation/tests.yaml | 62 | # data plane (ate-setup deploy ate-system --fake-data-plane), which | COMMENT |
| LOW | benchmarking/automation/util.py | 120 | return [] if isolate_block(test) is None else ["--fake-data-plane"] | CODE |
| LOW⚡ | benchmarking/automation/test_util.py | 65 | self.assertEqual(util.isolate_install_args(test), ["--fake-data-plane"]) | CODE |
| LOW⚡ | benchmarking/automation/test_util.py | 71 | self.assertEqual(util.isolate_install_args(test), ["--fake-data-plane"]) | CODE |
| LOW⚡ | benchmarking/automation/test_util.py | 80 | self.assertEqual(util.isolate_install_args(test), ["--fake-data-plane"]) | CODE |
| LOW⚡ | benchmarking/automation/test_orchestrator.py | 68 | ["--cluster-size=size10", "--fake-data-plane", "--sandbox-classes=gvisor"], | CODE |
| LOW⚡ | benchmarking/automation/test_orchestrator.py | 77 | ["--fake-data-plane", "--sandbox-classes=gvisor"], | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/metrics/ci-failure-analysis.py | 50 | CODE | |
| LOW | benchmarking/analysis/phase_report.py | 44 | CODE | |
| LOW | benchmarking/locust/unit_tests/conftest.py | 18 | CODE | |
| LOW | benchmarking/locust/tests/counter_demo.py | 24 | CODE | |
| LOW | benchmarking/locust/tests/ate_api.py | 16 | CODE | |
| LOW | benchmarking/locust/tests/ate_api.py | 17 | CODE | |
| LOW | benchmarking/locust/tests/ate_api.py | 19 | CODE | |
| LOW | benchmarking/locust/tests/usermem.py | 19 | CODE | |
| LOW | benchmarking/locust/tests/sleep.py | 19 | CODE | |
| LOW | benchmarking/locust/tests/kernelmem.py | 19 | CODE | |
| LOW | benchmarking/locust/common/boomer_config.py | 164 | CODE | |
| LOW | benchmarking/locust/common/boomer_config.py | 165 | CODE | |
| LOW | benchmarking/locust/common/boomer_config.py | 166 | CODE | |
| LOW | benchmarking/locust/common/boomer_config.py | 167 | CODE | |
| LOW | benchmarking/locust/common/boomer_config.py | 168 | CODE | |
| LOW | benchmarking/locust/common/boomer_config.py | 169 | CODE | |
| LOW | benchmarking/locust/common/boomer_config.py | 170 | CODE | |
| LOW | benchmarking/locust/common/boomer_config.py | 171 | CODE | |
| LOW | benchmarking/locust/common/boomer_config.py | 172 | CODE | |
| LOW | benchmarking/locust/common/boomer_config.py | 173 | CODE | |
| LOW | benchmarking/nighthawk-ingress/actors.py | 33 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmarking/locust/tests/counter_demo.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarking/locust/tests/ate_api.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarking/locust/tests/usermem.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarking/locust/tests/sleep.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarking/locust/tests/kernelmem.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarking/locust/shapes/ladder_shape.py | 70 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarking/locust/shapes/ladder_shape.py | 151 | def _set_trace_probability(environment, probability: float) -> None: | CODE |
| LOW | benchmarking/locust/shapes/ladder_shape.py | 164 | def _set_target_rps(environment, rps: float) -> None: | CODE |
| LOW | benchmarking/locust/shapes/spawn_shape.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarking/locust/common/metrics.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarking/locust/common/metrics.py | 97 | def update_user_count(delta: int, user_class: str) -> None: | CODE |
| LOW | benchmarking/locust/common/trace.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarking/locust/common/trace.py | 40 | def update_probability(self, probability: float) -> None: | CODE |
| LOW | benchmarking/locust/common/trace.py | 117 | def set_trace_probability(probability: float) -> None: | CODE |
| LOW | benchmarking/locust/common/grpc_tracing.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarking/locust/common/boomer_config.py | 53 | logger = logging.getLogger(__name__) | CODE |
| LOW | benchmarking/automation/controlplane.py | 233 | def set_pool_max_conns(n: int) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …kills/security-status-report/scripts/compile_report.py | 19 | CODE | |
| LOW | hack/export-threats.py | 27 | CODE | |
| LOW | benchmarking/analysis/phase_report.py | 191 | CODE | |
| LOW | benchmarking/analysis/phase_report.py | 251 | CODE | |
| LOW | benchmarking/analysis/phase_report.py | 404 | CODE | |
| LOW | benchmarking/locust/cluster_facts.py | 142 | CODE | |
| LOW | benchmarking/locust/cluster_facts.py | 264 | CODE | |
| LOW | benchmarking/locust/runner.py | 464 | CODE | |
| LOW | benchmarking/locust/runner.py | 552 | CODE | |
| LOW | benchmarking/locust/server_telemetry.py | 116 | CODE | |
| LOW | benchmarking/locust/server_telemetry.py | 283 | CODE | |
| LOW | benchmarking/nighthawk-ingress/runner.py | 229 | CODE | |
| LOW | benchmarking/nighthawk-ingress/actors.py | 144 | CODE | |
| LOW | benchmarking/nighthawk-ingress/output.py | 114 | CODE | |
| LOW | benchmarking/automation/test_orchestrator.py | 219 | CODE | |
| LOW | benchmarking/automation/orchestrator.py | 576 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | hack/update/licenses.sh | 56 | # Create a temporary output folder for each target | COMMENT |
| MEDIUM | docs/metrics/registry/metrics.yaml | 15 | # This file is an OpenTelemetry Weaver semantic convention registry. It defines | COMMENT |
| MEDIUM | docs/examples/gmp-alerting-rules.yaml | 17 | # This file is a Custom Resource for Google Cloud Managed Service for | COMMENT |
| MEDIUM | .github/workflows/release.yaml | 160 | # Creating a release needs contents: write. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/ateapi/internal/controlapi/tag.go | 63 | // TODO: implement this | COMMENT |
| LOW | cmd/ateapi/internal/controlapi/tag.go | 83 | // TODO: implement this | COMMENT |
| LOW | cmd/ateapi/internal/controlapi/tag.go | 99 | // TODO: implement this | COMMENT |
| LOW | cmd/ateapi/internal/controlapi/tag.go | 208 | // TODO: implement this | COMMENT |
| LOW | cmd/ateapi/internal/controlapi/actor_template.go | 99 | // TODO: implement this | COMMENT |
| LOW | cmd/ateapi/internal/controlapi/actor_template.go | 119 | // TODO: implement this | COMMENT |
| LOW | cmd/ateapi/internal/controlapi/actor_template.go | 135 | // TODO: implement this | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | benchmarking/locust/shapes/spawn_shape.py | 33 | entry = self.runner.environment.stats.entries.get( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | internal/imagecache/imagecache.go | 297 | // multi-arch ref, the index digest as requested, not the per-platform | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …credential-provider/kubernetes-secrets/kubeprovider.go | 172 | // Step 3: the Secret is in hand, so a grant narrowed by label can finally | COMMENT |
| LOW | docs/guides/csi-volumes.md | 123 | ### Step 1: Create the StorageClass | COMMENT |
| LOW | docs/guides/csi-volumes.md | 140 | ### Step 2: Register the CSIDriverConfig | COMMENT |
| LOW | docs/guides/csi-volumes.md | 157 | ### Step 3: Define WorkerPool and ActorTemplate | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | benchmarking/locust/ladder_steps.py | 105 | # TODO: separate the test's metrics from the harness. summarize() and | COMMENT |
| MEDIUM | benchmarking/automation/testtypes/nighthawk_ingress.py | 39 | # Client sizing decoupled from envoyCpu so the harness never binds. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | benchmarking/locust/server_telemetry.py | 690 | """Working set GiB per node, worker, atelet and actor; null, not 0, with no series. | STRING |
| HIGH | benchmarking/locust/server_telemetry.py | 744 | """OOM kills over the run; a failed read is null, not 0. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/setup-csi-nfs-kind.sh | 19 | # Check if NFS server module is loaded on the host | COMMENT |
| LOW | hack/third_party/kubernetes/verify-shellcheck.sh | 80 | # Set this to "always" to force color output. | COMMENT |
| LOW | hack/third_party/kubernetes/verify-shellcheck.sh | 81 | # Set this to "never" to disable color output (which can confuse parsers like | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cmd/atecontroller/main.go | 301 | //+kubebuilder:scaffold:builder | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | demos/egress/test-egress.sh | 30 | # Usage: | COMMENT |
| LOW | demos/parking/load.sh | 31 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …credential-provider/kubernetes-secrets/kubeprovider.go | 172 | // Step 3: the Secret is in hand, so a grant narrowed by label can finally | COMMENT |