The Modern Application Platform.
This report summarizes scanner evidence for kubevela/kubevela, a Go project with 7,911 GitHub stars. SynthScan examined 534,629 lines of code across 2567 source files, recording 777 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 4.6 (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.
Can maintainers explain intent, assumptions, and trade-offs? 540 finding(s).
Are imports declared and package/API names verified? 95 finding(s).
Are wrappers, guards, and repeated structures necessary? 142 finding(s).
Which changes need focused human review? 777 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 777 distinct pattern matches across 12 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 |
|---|---|---|---|---|
| CRITICAL⚡ | references/cli/top/view/pod_view_test.go | 100 | assert.Equal(t, podView.GetCell(1, 4).Text, fmt.Sprintf("[%s::]%s", podView.app.config.Theme.Status.Healthy.String(), | CODE |
| CRITICAL⚡ | references/cli/top/view/pod_view_test.go | 101 | assert.Equal(t, podView.GetCell(2, 4).Text, fmt.Sprintf("[%s::]%s", podView.app.config.Theme.Status.Waiting.String(), | CODE |
| CRITICAL⚡ | references/cli/top/view/pod_view_test.go | 102 | assert.Equal(t, podView.GetCell(3, 4).Text, fmt.Sprintf("[%s::]%s", podView.app.config.Theme.Status.Succeeded.String() | CODE |
| CRITICAL⚡ | references/cli/top/view/pod_view_test.go | 103 | assert.Equal(t, podView.GetCell(4, 4).Text, fmt.Sprintf("[%s::]%s", podView.app.config.Theme.Status.UnHealthy.String() | CODE |
| CRITICAL | references/cli/top/view/yaml_view_test.go | 79 | highlightedText := fmt.Sprintf("[%s::b]apiVersion[%s::-]: [%s::]core.oam.dev/v1beta1", yamlView.app.config.Theme.Yaml. | CODE |
| CRITICAL | references/cli/top/view/app_test.go | 60 | assert.Equal(t, flex.GetBorderColor(), app.config.Theme.Border.App.Color()) | CODE |
| CRITICAL | references/cli/top/view/managed_resource_view.go | 45 | v.SetTitle(fmt.Sprintf("[ %s ]", v.Title())).SetTitleColor(v.app.config.Theme.Table.Title.Color()) | CODE |
| CRITICAL⚡ | references/cli/top/view/managed_resource_view.go | 122 | highlightColor := v.app.config.Theme.Table.Body.String() | CODE |
| CRITICAL⚡ | references/cli/top/view/managed_resource_view.go | 126 | highlightColor = v.app.config.Theme.Status.Healthy.String() | CODE |
| CRITICAL⚡ | references/cli/top/view/managed_resource_view.go | 128 | highlightColor = v.app.config.Theme.Status.UnHealthy.String() | CODE |
| CRITICAL⚡ | references/cli/top/view/managed_resource_view.go | 130 | highlightColor = v.app.config.Theme.Status.Waiting.String() | CODE |
| CRITICAL⚡ | references/cli/top/view/managed_resource_view.go | 132 | highlightColor = v.app.config.Theme.Status.Unknown.String() | CODE |
| CRITICAL | references/cli/top/view/help_view.go | 55 | v.SetTitle(title).SetTitleColor(v.app.config.Theme.Table.Title.Color()) | CODE |
| CRITICAL | references/cli/top/view/help_view.go | 83 | tips = strings.ReplaceAll(tips, "highlight", v.app.config.Theme.Info.Title.String()) | CODE |
| CRITICAL | references/cli/top/view/help_view.go | 84 | tips = strings.ReplaceAll(tips, "normal", v.app.config.Theme.Info.Text.String()) | CODE |
| CRITICAL⚡ | references/cli/top/view/container_view_test.go | 100 | assert.Equal(t, containerView.GetCell(1, 3).Text, fmt.Sprintf("[%s::]%s", containerView.app.config.Theme.Status.Health | CODE |
| CRITICAL⚡ | references/cli/top/view/container_view_test.go | 101 | assert.Equal(t, containerView.GetCell(2, 3).Text, fmt.Sprintf("[%s::]%s", containerView.app.config.Theme.Status.Waitin | CODE |
| CRITICAL⚡ | references/cli/top/view/container_view_test.go | 102 | assert.Equal(t, containerView.GetCell(3, 3).Text, fmt.Sprintf("[%s::]%s", containerView.app.config.Theme.Status.UnHeal | CODE |
| CRITICAL⚡ | references/cli/top/view/pod_view.go | 108 | highlightColor := v.app.config.Theme.Table.Body.String() | CODE |
| CRITICAL⚡ | references/cli/top/view/pod_view.go | 112 | highlightColor = v.app.config.Theme.Status.Waiting.String() | CODE |
| CRITICAL⚡ | references/cli/top/view/pod_view.go | 114 | highlightColor = v.app.config.Theme.Status.Healthy.String() | CODE |
| CRITICAL⚡ | references/cli/top/view/pod_view.go | 116 | highlightColor = v.app.config.Theme.Status.Succeeded.String() | CODE |
| CRITICAL⚡ | references/cli/top/view/pod_view.go | 118 | highlightColor = v.app.config.Theme.Status.UnHealthy.String() | CODE |
| CRITICAL⚡ | references/cli/top/view/pod_view.go | 120 | highlightColor = v.app.config.Theme.Status.Unknown.String() | CODE |
| CRITICAL | references/cli/top/view/resource_view.go | 78 | v.SetTitleColor(v.app.config.Theme.Table.Title.Color()) | CODE |
| CRITICAL | references/cli/top/view/resource_view.go | 93 | c.SetTextColor(v.app.config.Theme.Table.Header.Color()) | CODE |
| CRITICAL | references/cli/top/view/resource_view.go | 106 | c.SetTextColor(v.app.config.Theme.Table.Body.Color()) | CODE |
| CRITICAL⚡ | references/cli/top/view/resource_view_test.go | 31 | assert.Equal(t, view.GetBorderColor(), view.app.config.Theme.Border.Table.Color()) | CODE |
| CRITICAL⚡ | references/cli/top/view/resource_view_test.go | 35 | assert.Equal(t, view.GetCell(0, 0).Color, view.app.config.Theme.Table.Header.Color()) | CODE |
| CRITICAL⚡ | references/cli/top/view/resource_view_test.go | 39 | assert.Equal(t, view.GetCell(1, 0).Color, view.app.config.Theme.Table.Body.Color()) | CODE |
| CRITICAL⚡ | references/cli/top/view/application_view_test.go | 103 | assert.Equal(t, appView.GetCell(1, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Starting.String(), | CODE |
| CRITICAL⚡ | references/cli/top/view/application_view_test.go | 104 | assert.Equal(t, appView.GetCell(2, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Waiting.String(), | CODE |
| CRITICAL⚡ | references/cli/top/view/application_view_test.go | 105 | assert.Equal(t, appView.GetCell(3, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Waiting.String(), | CODE |
| CRITICAL⚡ | references/cli/top/view/application_view_test.go | 106 | assert.Equal(t, appView.GetCell(4, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Waiting.String(), | CODE |
| CRITICAL⚡ | references/cli/top/view/application_view_test.go | 107 | assert.Equal(t, appView.GetCell(5, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Waiting.String(), | CODE |
| CRITICAL⚡ | references/cli/top/view/application_view_test.go | 108 | assert.Equal(t, appView.GetCell(6, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Failed.String(), t | CODE |
| CRITICAL⚡ | references/cli/top/view/application_view_test.go | 109 | assert.Equal(t, appView.GetCell(7, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Failed.String(), t | CODE |
| CRITICAL⚡ | references/cli/top/view/application_view_test.go | 110 | assert.Equal(t, appView.GetCell(8, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Failed.String(), t | CODE |
| CRITICAL⚡ | references/cli/top/view/application_view_test.go | 111 | assert.Equal(t, appView.GetCell(9, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Failed.String(), t | CODE |
| CRITICAL⚡ | references/cli/top/view/application_view_test.go | 112 | assert.Equal(t, appView.GetCell(10, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Healthy.String(), | CODE |
| CRITICAL | references/cli/top/view/cluster_namespace_view.go | 44 | v.SetTitle(fmt.Sprintf("[ %s ]", v.Name())).SetTitleColor(v.app.config.Theme.Table.Title.Color()) | CODE |
| CRITICAL⚡ | references/cli/top/view/cluster_namespace_view.go | 108 | highlightColor := v.app.config.Theme.Table.Body.String() | CODE |
| CRITICAL⚡ | references/cli/top/view/cluster_namespace_view.go | 111 | highlightColor = v.app.config.Theme.Status.Healthy.String() | CODE |
| CRITICAL⚡ | references/cli/top/view/cluster_namespace_view.go | 113 | highlightColor = v.app.config.Theme.Status.UnHealthy.String() | CODE |
| CRITICAL⚡ | references/cli/top/view/application_topology_view.go | 95 | v.metricsInstance.SetBorder(true).SetBorderColor(v.app.config.Theme.Border.Table.Color()) | CODE |
| CRITICAL⚡ | references/cli/top/view/application_topology_view.go | 101 | v.SetBorderColor(v.app.config.Theme.Border.Table.Color()) | CODE |
| CRITICAL⚡ | references/cli/top/view/application_topology_view.go | 103 | v.SetTitleColor(v.app.config.Theme.Table.Title.Color()) | CODE |
| CRITICAL⚡ | references/cli/top/view/application_topology_view.go | 254 | newTopology.SetGraphicsColor(v.app.config.Theme.Topology.Line.Color()) | CODE |
| CRITICAL⚡ | references/cli/top/view/application_topology_view.go | 256 | newTopology.SetBorderColor(v.app.config.Theme.Border.Table.Color()) | CODE |
| CRITICAL⚡ | references/cli/top/view/application_topology_view.go | 258 | newTopology.SetTitleColor(v.app.config.Theme.Table.Title.Color()) | CODE |
| CRITICAL⚡ | references/cli/top/view/application_topology_view.go | 280 | newTopology.SetGraphicsColor(v.app.config.Theme.Topology.Line.Color()) | CODE |
| CRITICAL⚡ | references/cli/top/view/application_topology_view.go | 282 | newTopology.SetBorderColor(v.app.config.Theme.Border.Table.Color()) | CODE |
| CRITICAL⚡ | references/cli/top/view/application_topology_view.go | 284 | newTopology.SetTitleColor(v.app.config.Theme.Table.Title.Color()) | CODE |
| CRITICAL | references/cli/top/view/app.go | 89 | main.SetBorderColor(a.config.Theme.Border.App.Color()) | CODE |
| CRITICAL | references/cli/top/view/log_view.go | 64 | v.SetTitleColor(v.app.config.Theme.Table.Title.Color()) | CODE |
| CRITICAL | references/cli/top/view/cluster_namespace_view_test.go | 96 | assert.Equal(t, cnsView.GetCell(1, 1).Text, fmt.Sprintf("[%s::]%s", cnsView.app.config.Theme.Status.Healthy.String(), | CODE |
| CRITICAL | references/cli/top/view/cluster_namespace_view_test.go | 97 | assert.Equal(t, cnsView.GetCell(2, 1).Text, fmt.Sprintf("[%s::]%s", cnsView.app.config.Theme.Status.UnHealthy.String() | CODE |
| CRITICAL | references/cli/top/view/application_view.go | 44 | v.SetTitle(fmt.Sprintf("[ %s ]", v.Title())).SetTitleColor(v.app.config.Theme.Table.Title.Color()) | CODE |
| CRITICAL⚡ | references/cli/top/view/application_view.go | 108 | highlightColor := v.app.config.Theme.Table.Body.String() | CODE |
| CRITICAL⚡ | references/cli/top/view/application_view.go | 112 | highlightColor = v.app.config.Theme.Status.Starting.String() | CODE |
| 27 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cmd/core/app/bootstrap.go | 79 | // ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/core/app/bootstrap.go | 81 | // ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | design/vela-core/kep-cluster-infrastructure.md | 4522 | # ============================================ | COMMENT |
| MEDIUM⚡ | design/vela-core/kep-cluster-infrastructure.md | 4524 | # ============================================ | COMMENT |
| MEDIUM⚡ | design/vela-core/kep-cluster-infrastructure.md | 4586 | # ============================================ | COMMENT |
| MEDIUM⚡ | design/vela-core/kep-cluster-infrastructure.md | 4588 | # ============================================ | COMMENT |
| MEDIUM⚡ | design/vela-core/kep-cluster-infrastructure.md | 4595 | # ============================================ | COMMENT |
| MEDIUM⚡ | design/vela-core/kep-cluster-infrastructure.md | 4597 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 4487 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 4489 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 5927 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 5929 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 5952 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 5954 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 5978 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 5980 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 6017 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 6019 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 6047 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 6049 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 7414 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 7416 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 7482 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 7484 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 7775 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 7777 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 7814 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 7816 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 7847 | # ============================================ | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 7849 | # ============================================ | COMMENT |
| MEDIUM | references/cli/def_compat_test.go | 34 | // ── parseHints ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | references/cli/def_compat_test.go | 82 | // ── parseSelectorMap ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | references/cli/def_compat_test.go | 143 | // ── matchesSelector ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | references/cli/def_compat_test.go | 170 | // ── extractCUETemplate ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | references/cli/def_compat_test.go | 223 | // ── defNameFromRevision ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | references/cli/def_compat_test.go | 273 | // ── collectSchematics ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | references/cli/def_compat_test.go | 342 | // ── extractDefRevTemplate ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | references/cli/def_compat_test.go | 401 | // ── printDefCompatReport ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | references/cli/def_compat_test.go | 486 | // ── printAppCompatReport ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 3 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 12 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 16 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 18 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 29 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 31 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 35 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 37 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 41 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 43 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 51 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 53 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 59 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 61 | # ========================================================================== | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 67 | # ======================================================================== | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 69 | # ======================================================================== | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 74 | # ======================================================================== | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-multicluster-test.yml | 76 | # ======================================================================== | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-test.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-test.yml | 3 | # ============================================================================= | COMMENT |
| 82 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/core/app/server.go | 181 | manager, err := createControllerManager(ctx, kubeConfig, coreOptions) | COMMENT |
| LOW | cmd/core/app/bootstrap.go | 41 | // Best practices when adding a provider: | COMMENT |
| LOW | cmd/core/app/bootstrap.go | 81 | // ──────────────────────────────────────────────────────────────────── | COMMENT |
| LOW | design/vela-core/kep-cluster-infrastructure.md | 1241 | # - name: validate-cni | COMMENT |
| LOW | design/vela-core/rollout-design.md | 101 | COMMENT | |
| LOW | design/vela-core/keps/2.13-addons/README.md | 521 | // | COMMENT |
| LOW | design/vela-core/keps/2.13-addons/README.md | 541 | // | COMMENT |
| LOW | design/vela-core/keps/2.13-addons/README.md | 561 | // Longer-term this field will be superseded by KEP-2.19 named topology groups. | COMMENT |
| LOW | design/vela-core/keps/2.13-addons/README.md | 581 | // AddonUpgradePolicy controls when the controller acts on a newly resolved version | COMMENT |
| LOW | design/vela-core/keps/2.13-addons/README.md | 601 | AddonUpgradePolicyAuto AddonUpgradePolicy = "Auto" | COMMENT |
| LOW | design/vela-core/keps/2.13-addons/README.md | 641 | Name string `json:"name,omitempty"` | COMMENT |
| LOW | design/vela-core/keps/2.13-addons/README.md | 661 | COMMENT | |
| LOW | design/vela-core/keps/2.13-addons/README.md | 761 | // AddonConditionReady is true when all modules are synced and all API lines | COMMENT |
| LOW | design/vela-core/keps/2.20-module-versioning/README.md | 81 | COMMENT | |
| LOW | design/vela-core/keps/2.20-module-versioning/README.md | 941 | COMMENT | |
| LOW | design/vela-core/keps/2.20-module-versioning/README.md | 961 | oci: { | COMMENT |
| LOW | design/vela-core/keps/2.20-module-versioning/README.md | 1461 | // ResolvedDefinition is the canonical identity locked at admission. | COMMENT |
| LOW | design/vela-core/keps/2.20-module-versioning/README.md | 1541 | COMMENT | |
| LOW | apis/config.oam.dev/v1alpha1/configtemplate_types.go | 61 | // ConfigTemplateStatus defines the observed state of ConfigTemplate. | COMMENT |
| LOW | apis/config.oam.dev/v1alpha1/doc.go | 21 | // +kubebuilder:object:generate=true | COMMENT |
| LOW | apis/types/types.go | 61 | // app.oam.dev/autoUpdate does for a whole Application. It is for definitions | COMMENT |
| LOW | apis/types/types.go | 121 | // AnnotationConfigLastAccessed is the annotation recording when a stale source cache entry was last served (RFC3339). | COMMENT |
| LOW | apis/types/types.go | 141 | // identity, as a JSON array - the answer to "why is this entry distinct?". | COMMENT |
| LOW | apis/core.oam.dev/common/types.go | 61 | // Terraform is the struct to describe cloud resources managed by Hashicorp Terraform | COMMENT |
| LOW | apis/core.oam.dev/common/types.go | 241 | // Phase is Resolved, Stale, Failed or Unused. Stale means a refresh failed and | COMMENT |
| LOW | apis/core.oam.dev/common/types.go | 261 | // AutoUpdate is false on a binding that asked for true. A failure to resolve | COMMENT |
| LOW | apis/core.oam.dev/common/types.go | 281 | // policy. A trait is named "<component>/<trait>", since a trait has no | COMMENT |
| LOW | apis/core.oam.dev/common/types.go | 301 | // property, which a map cannot express. | COMMENT |
| LOW | apis/core.oam.dev/common/types.go | 321 | StorageKey string `json:"storageKey,omitempty"` | COMMENT |
| LOW | apis/core.oam.dev/common/types.go | 341 | // SourceAttr is the attribute of the source that was read, e.g. "data.image". | COMMENT |
| LOW | apis/core.oam.dev/common/types.go | 421 | COMMENT | |
| LOW | apis/core.oam.dev/common/types.go | 441 | // Format: "application-policies-{namespace}-{name}" | COMMENT |
| LOW | apis/core.oam.dev/common/types.go | 721 | COMMENT | |
| LOW | apis/core.oam.dev/common/types.go | 741 | COMMENT | |
| LOW | apis/core.oam.dev/common/types.go | 761 | // Warn and Limit are both optional, and at least one must be set. Warn alone never | COMMENT |
| LOW | apis/core.oam.dev/common/types.go | 781 | // Limit is the most uses of this definition the namespace may contain. Omit to | COMMENT |
| LOW | apis/core.oam.dev/v1beta1/application_types.go | 61 | // the workflow to run again. | COMMENT |
| LOW | apis/core.oam.dev/v1beta1/application_types.go | 81 | // for one path to be masked is a narrower request than asking for silence, | COMMENT |
| LOW | apis/core.oam.dev/v1beta1/application_types.go | 101 | // Policies are applied after components are rendered and before workflow steps are executed. | COMMENT |
| LOW | apis/core.oam.dev/v1beta1/componentdefinition_types.go | 41 | // application keeps rendering the same way after a parent changes. | COMMENT |
| LOW | apis/core.oam.dev/v1beta1/componentdefinition_types.go | 81 | // Extension is used for extension needs by OAM platform builders | COMMENT |
| LOW | apis/core.oam.dev/v1beta1/core_types.go | 41 | // PodSpecPath indicates where/if this workload has K8s podSpec field | COMMENT |
| LOW | apis/core.oam.dev/v1beta1/core_types.go | 61 | type WorkloadDefinitionStatus struct { | COMMENT |
| LOW | apis/core.oam.dev/v1beta1/core_types.go | 101 | metav1.ListMeta `json:"metadata,omitempty"` | COMMENT |
| LOW | apis/core.oam.dev/v1beta1/core_types.go | 121 | Extends string `json:"extends,omitempty"` | COMMENT |
| LOW | apis/core.oam.dev/v1beta1/core_types.go | 141 | COMMENT | |
| LOW | apis/core.oam.dev/v1beta1/core_types.go | 161 | // all workload kinds. | COMMENT |
| LOW | apis/core.oam.dev/v1beta1/core_types.go | 181 | COMMENT | |
| LOW | apis/core.oam.dev/v1beta1/core_types.go | 241 | COMMENT | |
| LOW | apis/core.oam.dev/v1beta1/policy_definition.go | 41 | type PolicyDefinitionSpec struct { | COMMENT |
| LOW | apis/core.oam.dev/v1beta1/policy_definition.go | 61 | // Requires EnableApplicationScopedPolicies feature gate. | COMMENT |
| LOW | apis/core.oam.dev/v1beta1/definitionrevision_types.go | 41 | COMMENT | |
| LOW | apis/core.oam.dev/v1alpha1/component_types.go | 61 | // Name is the name of the Kubernetes object. | COMMENT |
| LOW | test/e2e-addon-module-test/helpers_test.go | 81 | // Overrides for the URL this process uses (the CLI's pushes and the HTTP | COMMENT |
| LOW | test/e2e-addon-module-test/helpers_test.go | 221 | // URL, this process publishes and pushes through the host URL, and the few | COMMENT |
| LOW | test/e2e-addon-module-test/suite_test.go | 21 | // admission webhook enabled, reSyncPeriod=1m as makefiles/e2e.mk installs it), | COMMENT |
| LOW | test/e2e-addon-module-test/testdata/registry.yaml | 1 | # The two in-cluster registries this suite publishes into. Both are anonymous | COMMENT |
| LOW | test/e2e-framework/expression_definitions.go | 61 | } | COMMENT |
| LOW | test/e2e-module-test/module_publish_test.go | 61 | // anything to the cluster (references/cli/module-deploy.go calls | COMMENT |
| LOW | test/e2e-module-test/module_publish_test.go | 161 | // file's own path rather than the process working directory: ginkgo runs the | COMMENT |
| 359 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | design/vela-cli/kep-defkit.md | 1344 | # Initialize a new Go definition module with scaffolding | COMMENT |
| MEDIUM | design/vela-cli/kep-defkit.md | 1966 | # Basic scaffolding | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 1233 | # Optional: Explicit workflow for advanced orchestration | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 2690 | # Blueprint-level workflow (orchestrates plane deployment) | COMMENT |
| MEDIUM | design/vela-core/kep-cluster-infrastructure.md | 12 | - [The Orchestration Gap](#the-orchestration-gap) | CODE |
| MEDIUM | test/e2e-framework/framework.go | 53 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | test/e2e-addon-test/suite_test.go | 45 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM⚡ | config/crd/kustomization.yaml | 6 | # +kubebuilder:scaffold:crdkustomizeresource | COMMENT |
| MEDIUM⚡ | config/crd/kustomization.yaml | 11 | # +kubebuilder:scaffold:crdkustomizewebhookpatch | COMMENT |
| MEDIUM⚡ | config/crd/kustomization.yaml | 16 | # +kubebuilder:scaffold:crdkustomizecainjectionpatch | COMMENT |
| MEDIUM⚡ | references/cli/def_module.go | 964 | // FlagComponents is the flag for component names to scaffold | COMMENT |
| MEDIUM⚡ | references/cli/def_module.go | 966 | // FlagTraits is the flag for trait names to scaffold | COMMENT |
| MEDIUM⚡ | references/cli/def_module.go | 968 | // FlagPolicies is the flag for policy names to scaffold | COMMENT |
| MEDIUM⚡ | references/cli/def_module.go | 970 | // FlagWorkflowSteps is the flag for workflow step names to scaffold | COMMENT |
| MEDIUM | references/cli/def_module.go | 1052 | // Parse scaffold flags | COMMENT |
| MEDIUM | references/cli/def_module.go | 1115 | // scaffoldOptions contains names of definitions to scaffold | COMMENT |
| MEDIUM | references/cli/def_module.go | 1123 | // hasAny returns true if any scaffold options are specified | COMMENT |
| MEDIUM | references/cli/def_module.go | 1464 | // generateComponentScaffold generates a component definition scaffold | COMMENT |
| MEDIUM | references/cli/def_module.go | 1519 | // generateTraitScaffold generates a trait definition scaffold | COMMENT |
| MEDIUM | references/cli/def_module.go | 1572 | // generatePolicyScaffold generates a policy definition scaffold | COMMENT |
| MEDIUM | references/cli/def_module.go | 1613 | // generateWorkflowStepScaffold generates a workflow step definition scaffold | COMMENT |
| MEDIUM | references/cli/addon.go | 430 | // NewAddonInitCommand creates an addon scaffold | COMMENT |
| MEDIUM | references/cli/def_go_new_test.go | 476 | // The scaffold generators use the pattern: funcName + type suffix | COMMENT |
| MEDIUM | references/cli/module-init.go | 80 | // scaffold, and validates it against the module parser. | COMMENT |
| MEDIUM | references/cli/module-init.go | 116 | // The shipped scaffold must always be a valid skeleton. A parse failure here | COMMENT |
| MEDIUM | references/cli/module-init.go | 159 | // alongside the scaffold files. | COMMENT |
| MEDIUM | references/cli/def.go | 456 | // generateGoDefinition generates a Go-based definition scaffold | COMMENT |
| MEDIUM | references/cli/def.go | 1987 | Example: "# Generate SDK for golang with scaffold initialized\n" + | CODE |
| MEDIUM | references/docgen/suit_test.go | 44 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | hack/sdk/reviewable.sh | 21 | # This script helps to lint and format the code in the SDK scaffold. | COMMENT |
| MEDIUM | …webhook/core.oam.dev/v1beta1/application/suite_test.go | 42 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | …webhook/core.oam.dev/v1beta1/application/suite_test.go | 88 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | pkg/config/config_suite_test.go | 52 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | pkg/utils/common/common.go | 101 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | …troller/core.oam.dev/v1beta1/application/suite_test.go | 59 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | …troller/core.oam.dev/v1beta1/application/suite_test.go | 124 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | …core.oam.dev/v1beta1/application/assemble/suit_test.go | 41 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | …core.oam.dev/v1beta1/application/assemble/suit_test.go | 86 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | pkg/rollout/suit_test.go | 47 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | pkg/definition/gen_sdk/files.go | 28 | // Scaffold is scaffold files for different languages | COMMENT |
| MEDIUM | pkg/definition/gen_sdk/files.go | 30 | // ScaffoldDir is scaffold dir name | COMMENT |
| MEDIUM | pkg/definition/gen_sdk/gen_sdk.go | 241 | // CreateScaffold will create a scaffold for the given language. | COMMENT |
| MEDIUM | pkg/definition/gen_sdk/gen_sdk.go | 242 | // It will copy all files from embedded scaffold/{meta.Lang} to meta.Output. | COMMENT |
| MEDIUM | pkg/workflow/suit_test.go | 62 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | pkg/workflow/operation/suit_test.go | 46 | // +kubebuilder:scaffold:imports | COMMENT |
| MEDIUM | pkg/workflow/providers/config/config_test.go | 62 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | pkg/workflow/providers/legacy/config/config_test.go | 62 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM | pkg/addon/init_test.go | 227 | // Verify trait scaffold was created | COMMENT |
| MEDIUM | pkg/addon/init_test.go | 310 | // Verify scaffold files were created | COMMENT |
| MEDIUM | pkg/addon/init.go | 47 | // InitCmd contains the options to initialize an addon scaffold | COMMENT |
| MEDIUM⚡ | pkg/addon/init.go | 59 | // GoDefComponents is a comma-separated list of component names to scaffold | COMMENT |
| MEDIUM⚡ | pkg/addon/init.go | 61 | // GoDefTraits is a comma-separated list of trait names to scaffold | COMMENT |
| MEDIUM⚡ | pkg/addon/init.go | 63 | // GoDefPolicies is a comma-separated list of policy names to scaffold | COMMENT |
| MEDIUM⚡ | pkg/addon/init.go | 65 | // GoDefWorkflowSteps is a comma-separated list of workflow step names to scaffold | COMMENT |
| MEDIUM | pkg/addon/init.go | 81 | // CreateScaffold creates an addon scaffold | COMMENT |
| MEDIUM | pkg/addon/init.go | 212 | // Create scaffold files for specified components | COMMENT |
| MEDIUM | pkg/addon/init.go | 223 | // Create scaffold files for specified traits | COMMENT |
| MEDIUM | pkg/addon/init.go | 234 | // Create scaffold files for specified policies | COMMENT |
| MEDIUM | pkg/addon/init.go | 245 | // Create scaffold files for specified workflow steps | COMMENT |
| MEDIUM | pkg/addon/init.go | 275 | // generateComponentScaffold generates a minimal component scaffold | COMMENT |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/core/app/config/resource.go | 48 | // NOTE: This method exists for backward compatibility with legacy code that depends on global | COMMENT |
| LOW | cmd/core/app/config/oam.go | 48 | // NOTE: This method exists for backward compatibility with legacy code that depends on global | COMMENT |
| LOW | cmd/core/app/config/application.go | 50 | // NOTE: This method exists for backward compatibility with legacy code that depends on global | COMMENT |
| LOW | cmd/core/app/config/cue.go | 107 | // NOTE: This method exists for backward compatibility with legacy code that depends on global | COMMENT |
| LOW | cmd/core/app/config/performance.go | 52 | // NOTE: This method exists for backward compatibility with legacy code that depends on global | COMMENT |
| LOW | cmd/core/app/config/workflow.go | 60 | // NOTE: This method exists for backward compatibility with legacy code that depends on global | COMMENT |
| LOW⚡ | design/vela-core/kep-cluster-infrastructure.md | 2502 | # Step 3: Deploy CNI | COMMENT |
| LOW⚡ | design/vela-core/kep-cluster-infrastructure.md | 2509 | # Step 4: Validate CNI connectivity | COMMENT |
| LOW⚡ | design/vela-core/kep-cluster-infrastructure.md | 2518 | # Step 5: Approval gate (for production) | COMMENT |
| LOW⚡ | design/vela-core/kep-cluster-infrastructure.md | 2527 | # Step 6: Deploy ingress | COMMENT |
| LOW⚡ | design/vela-core/kep-cluster-infrastructure.md | 2534 | # Step 7: Smoke test | COMMENT |
| LOW⚡ | design/vela-core/kep-cluster-infrastructure.md | 4526 | # Step 1: Discover what's in the cluster | COMMENT |
| LOW | design/vela-core/kep-cluster-infrastructure.md | 2482 | # Step 1: Deploy CRDs | COMMENT |
| LOW | design/vela-core/kep-cluster-infrastructure.md | 2488 | # Step 2: Wait for CRDs to be established | COMMENT |
| LOW | design/vela-core/kep-cluster-infrastructure.md | 2694 | # Step 1: Provision cloud infrastructure (VPC, EKS, nodes) | COMMENT |
| LOW | design/vela-core/kep-cluster-infrastructure.md | 2709 | # Step 2: Deploy core infrastructure planes (networking + security in parallel) | COMMENT |
| LOW | design/vela-core/kep-cluster-infrastructure.md | 2729 | # Step 3: Deploy observability | COMMENT |
| LOW | design/vela-core/kep-cluster-infrastructure.md | 2736 | # Step 4: Validation | COMMENT |
| LOW | design/vela-core/kep-cluster-infrastructure.md | 4137 | # Step 1: Create Cluster CRD with credentials (no CLI needed) | COMMENT |
| LOW | design/vela-core/kep-cluster-infrastructure.md | 4156 | # Step 2: After reviewing status.adoptionStatus.discoveredComponents: | COMMENT |
| LOW | design/vela-core/kep-cluster-infrastructure.md | 4565 | # Step 2: Actually adopt | COMMENT |
| LOW | design/vela-core/kep-cluster-infrastructure.md | 4572 | # Step 3: Monitor adoption | COMMENT |
| LOW | design/vela-core/kep-cluster-infrastructure.md | 5035 | # Step 1: Create replacement cluster with same blueprint | COMMENT |
| LOW | design/vela-core/kep-cluster-infrastructure.md | 5046 | # Step 2: After v2 is healthy, decommission original | COMMENT |
| LOW | design/vela-core/keps/2.20-module-versioning/README.md | 550 | # Step 1: Ensure you are on Form 3 at the current version. | COMMENT |
| LOW | design/vela-core/keps/2.20-module-versioning/README.md | 555 | # Step 2: Migrate to the new API line - explicit, reviewable in a pull request. | COMMENT |
| LOW | …v1beta1/application/app_policy_version_pinning_test.go | 434 | // Step 1: Create initial PolicyDefinition v1 | COMMENT |
| LOW | …v1beta1/application/app_policy_version_pinning_test.go | 487 | // Step 2: Initial Application deployment (creates ApplicationRevision-1 with v1) | COMMENT |
| LOW | …v1beta1/application/app_policy_version_pinning_test.go | 571 | // Step 3: Re-reconcile without spec change (should reuse ApplicationRevision-1 with v1) | COMMENT |
| LOW | …v1beta1/application/app_policy_version_pinning_test.go | 592 | // Step 4: Update PolicyDefinition in cluster to v2 | COMMENT |
| LOW | …v1beta1/application/app_policy_version_pinning_test.go | 638 | // Step 5: Re-reconcile again (still no spec change) - should STILL use v1 (version pinning!) | COMMENT |
| LOW | …v1beta1/application/app_policy_version_pinning_test.go | 659 | // Step 6: Update Application spec (triggers new ApplicationRevision-2) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/e2e-helm-test/helmchart_test.go | 1534 | // and args to stay robust against chart layout changes. | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-test.yml | 4 | # This workflow performs comprehensive end-to-end testing for KubeVela upgrades. | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-test.yml | 12 | # 3. Run comprehensive e2e test suites (API, addon, general) | COMMENT |
| MEDIUM⚡ | .github/workflows/upgrade-e2e-test.yml | 51 | timeout-minutes: 90 # Extended timeout for comprehensive e2e testing | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | references/cli/addon.go | 545 | # In addition to cli flags, you can also use environment variables | COMMENT |
| MEDIUM | references/cli/def.go | 972 | Example: "# Command below lists the definitions you can use: those in your current\n" + | CODE |
| MEDIUM | …amples/traits/container-image/multiple-containers.yaml | 19 | # you can use container-image to control multiple containers by filling `containers` | COMMENT |
| MEDIUM | docs/examples/traits/command/multiple-containers.yaml | 19 | # you can use command to control multiple containers by filling `containers` | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …v1beta1/application/app_policy_version_pinning_test.go | 434 | // Step 1: Create initial PolicyDefinition v1 | COMMENT |
| LOW | …v1beta1/application/app_policy_version_pinning_test.go | 487 | // Step 2: Initial Application deployment (creates ApplicationRevision-1 with v1) | COMMENT |
| LOW | …v1beta1/application/app_policy_version_pinning_test.go | 571 | // Step 3: Re-reconcile without spec change (should reuse ApplicationRevision-1 with v1) | COMMENT |
| LOW | …v1beta1/application/app_policy_version_pinning_test.go | 592 | // Step 4: Update PolicyDefinition in cluster to v2 | COMMENT |
| LOW | …v1beta1/application/app_policy_version_pinning_test.go | 638 | // Step 5: Re-reconcile again (still no spec change) - should STILL use v1 (version pinning!) | COMMENT |
| LOW | …v1beta1/application/app_policy_version_pinning_test.go | 659 | // Step 6: Update Application spec (triggers new ApplicationRevision-2) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/e2e-source-test/source_expression_test.go | 538 | Name: "placeholder", Type: "expr-wf-comp", | CODE |
| LOW | test/e2e-source-test/source_expression_test.go | 768 | Name: "placeholder", Type: "expr-render-comp", | CODE |
| LOW | test/e2e-source-test/source_expression_test.go | 834 | Name: "placeholder", Type: "expr-policy-comp", | CODE |
| LOW | pkg/webhook/utils/bundled_definitions_test.go | 72 | if err := yaml.Unmarshal(helmTemplateExpr.ReplaceAll(raw, []byte("placeholder")), &def); err != nil { | CODE |
| LOW | pkg/schema/hints.go | 137 | case "placeholder": | CODE |
| LOW | pkg/definition/goloader/loader.go | 194 | fmt.Println("placeholder") | CODE |
| LOW | …/workflow/providers/legacy/multicluster/deploy_test.go | 208 | Properties: &runtime.RawExtension{Raw: []byte(fmt.Sprintf(`{"placeholder":%d}`, i))}, | CODE |
| LOW | pkg/workflow/providers/multicluster/deploy_test.go | 208 | Properties: &runtime.RawExtension{Raw: []byte(fmt.Sprintf(`{"placeholder":%d}`, i))}, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/definition/defkit/param.go | 1713 | // Example usage: | COMMENT |
| LOW | pkg/definition/defkit/param.go | 1817 | // Example usage: | COMMENT |
| LOW | pkg/definition/defkit/param.go | 1865 | // Example usage: | COMMENT |
| LOW | pkg/definition/defkit/resource.go | 189 | // Example usage: | COMMENT |
| LOW | pkg/definition/defkit/registry.go | 71 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | references/cli/def_module.go | 1662 | # This file contains metadata about your definition module. | COMMENT |
| MEDIUM | …ela-core/templates/admission-webhooks/certmanager.yaml | 28 | # Create an Issuer that uses the above generated CA certificate to issue certs | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/debug-webhook-setup.sh | 89 | # Check if k3d is using host network | COMMENT |
| LOW | hack/utils/golangci-lint-wrapper.sh | 46 | # Check if golangci-lint itself had a critical failure (not a linting error) | COMMENT |
| LOW | hack/utils/golangci-lint-wrapper.sh | 49 | # Check if there are only typecheck errors | COMMENT |
| LOW | hack/licence/header-check.sh | 8 | # Check if headers are fine: | COMMENT |