.github/workflows/add-to-project.yml → grafana/data-sources-ci-workflows/.github/workflows/reusable-add-to-project.ymlgrafana-csv-datasource
grafana-csv-datasource
Go Go Service P2 Nov 15, 2026
CI/CD Pipeline Docker Container Kubernetes API Surface Service Layer Frontend UI Database
| Primary Language | Go |
|---|---|
| Primary Framework | Go Service |
| Detected Frameworks | Go Service; React (Vite); React; TypeScript; Docker Compose; Container |
| Deployable Types | Frontend |
| Technology Stack | Go, Docker, CI/CD |
| Default Branch | main |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:19:03 AM |
| Source Repository | Open on GitHub |
grafana/grafana-csv-datasource — Workflow Hierarchy Overview
100%
Showing top-level workflow hierarchy. Click any workflow node or choose one above to inspect its job DAG.
5 Workflow(s)
5 Job(s)
7 Anti-Pattern(s)
4 Cross-Workflow Edge(s)
11/15/2026, 5:22:57 AM
Pipeline Anti-Patterns Detected
LOW NO_TIMEOUT
CRITICAL NO_TEST_GATE
LOW NO_TIMEOUT
LOW NO_TIMEOUT
LOW NO_TIMEOUT
CRITICAL NO_TEST_GATE
LOW NO_TIMEOUT
Cross-Workflow Triggers & Reusable Calls
.github/workflows/publish.yaml → grafana/plugin-ci-workflows/.github/workflows/cd.yml.github/workflows/push.yaml → grafana/plugin-ci-workflows/.github/workflows/ci.yml.github/workflows/stale.yml → grafana/data-sources-ci-workflows/.github/workflows/reusable-stale.ymlGo11 Components
26 Files
2402 LoC
Avg CC: 1.730 OSV CVE(s)
0 Fitness Rule Alert(s)
grafana/grafana-csv-datasource — Module Architecture Tree
100%
Showing top-level module hierarchy (flowchart TD). Click any subfolder node or pill to traverse deeper.
Arc42 Architecture & Dependency Report
Repository Architecture Analysis: grafana/grafana-csv-datasource
Metadata
- SHA:
37d4eb52886ce418997fe8f3403b0a899d86c069 - Primary Ecosystem: Go
Quality Metrics
- ast_engine: tree-sitter
- avg_cognitive_complexity: 1.05
- avg_cyclomatic_complexity: 1.73
- component_count: 11
- dead_code_count: 0
- dead_code_symbols: 0 entry(ies)
- duplication_pct: 10.26
- file_complexities: 15 entry(ies)
- files_analyzed: 26
- fitness_passed: True
- fitness_violation_count: 0
- framework: Go Service
- import_edges: 47 entry(ies)
- loc: 2402
- max_cognitive_complexity: 9
- max_cyclomatic_complexity: 10
- sloc: 1982
- test_file_count: 5
Architecture: grafana/grafana-csv-datasource
Context
- Repository:
grafana/grafana-csv-datasource - SHA:
37d4eb52886ce418997fe8f3403b0a899d86c069 - Ecosystem: Go
- Framework: Go Service
Building Block View
graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
Magefile["Magefile : module"]:::atlasJob
csv["csv : module"]:::atlasJob
csv_test["csv_test : module"]:::atlasJob
datasource["datasource : module"]:::atlasJob
http_storage["http_storage : module"]:::atlasJob
http_storage_test["http_storage_test : module"]:::atlasJob
local_storage["local_storage : module"]:::atlasJob
main["main : module"]:::atlasJob
settings["settings : module"]:::atlasJob
dsconfig_test["dsconfig_test : module"]:::atlasJob
repo_root(["grafana/grafana-csv-datasource"]):::atlasRoot
repo_root --> Magefile
repo_root --> csv
repo_root --> csv_test
repo_root --> datasource
repo_root --> dsconfig_test
repo_root --> http_storage
repo_root --> http_storage_test
repo_root --> local_storage
repo_root --> main
repo_root --> settings
Component Details
- Magefile (
Magefile.go): module - csv (
pkg/csv.go): module - csv_test (
pkg/csv_test.go): module - datasource (
pkg/datasource.go): module - http_storage (
pkg/http_storage.go): module - http_storage_test (
pkg/http_storage_test.go): module - local_storage (
pkg/local_storage.go): module - main (
pkg/main.go): module - settings (
pkg/settings.go): module - settings (
pkg/models/settings.go): module - dsconfig_test (
pkg/schema/dsconfig_test.go): module
6-Dimension Repository Scorecard
- Overall Grade:
B(84.17/100) - Technical Debt Score: 15.83
- Estimated Remediation Effort: 12.51h
| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | B | 84.61 | 0.20 | avg_cc=1.73, max_cc=10, duplication=10.26%, dead_code=0 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=1718, outdated=0, vulnerable=0, has_lockfile=True |
| Maintainability | A | 100.00 | 0.15 | avg_cognitive=1.05, max_cognitive=9, fitness_violations=0, oversized_files=0 |
| Pipeline Health | F | 45.00 | 0.15 | workflows=5, operational_antipatterns=7, parallel_branches=False |
| Security | A | 100.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=0 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=False, test_files_detected=True |
Supply Chain Dependencies, Vulnerabilities & Secrets
- Dependencies Parsed: 1718 | Vulnerabilities: 0 | Secrets: 0
Inventory Sample
github.com/grafana/dsconfig/schema0.0.13(golang,go.mod)github.com/grafana/grafana-plugin-sdk-go0.299.0(golang,go.mod)@babel/core8.0.7(npm,package-lock.json)@babel/core8.0.7(npm,package.json)@changesets/cli3.0.3(npm,package-lock.json)@changesets/cli3.0.3(npm,package.json)@emotion/css11.13.5(npm,package-lock.json)@emotion/css11.13.5(npm,package.json)@grafana/data13.2.4(npm,package-lock.json)@grafana/data13.2.4(npm,package.json)@grafana/e2e-selectors13.2.4(npm,package-lock.json)@grafana/e2e-selectors13.2.4(npm,package.json)@grafana/eslint-config9.0.0(npm,package-lock.json)@grafana/eslint-config9.0.0(npm,package.json)@grafana/i18n13.2.4(npm,package-lock.json)@grafana/i18n13.2.4(npm,package.json)@grafana/plugin-e2e4.0.0(npm,package-lock.json)@grafana/plugin-e2e4.0.0(npm,package.json)@grafana/plugin-ui0.17.8(npm,package-lock.json)@grafana/plugin-ui0.17.8(npm,package.json)@grafana/runtime13.2.4(npm,package-lock.json)@grafana/runtime13.2.4(npm,package.json)@grafana/schema13.2.4(npm,package-lock.json)@grafana/schema13.2.4(npm,package.json)@grafana/sign-plugin4.0.0(npm,package-lock.json)@grafana/sign-plugin4.0.0(npm,package.json)@grafana/tsconfig2.2.0(npm,package-lock.json)@grafana/tsconfig2.2.0(npm,package.json)@grafana/ui13.2.4(npm,package-lock.json)@grafana/ui13.2.4(npm,package.json)- … (+1688 more dependencies)
Section 7: Code-to-Cloud Deployment Traceability
flowchart LR
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
subgraph code_modules["Code Modules"]
mod__config[".config"]:::atlasCategory
mod_bc69a8e2_5e50_4c94_a52f_0bffb36a3ea5["bc69a8e2-5e50-4c94-a52f-0bffb36a3ea5"]:::atlasCategory
end
subgraph build_artifacts["Build Artifacts / Containers"]
art__config_Dockerfile[".config/Dockerfile"]:::atlasWorkflow
art__config_docker_compose_base_yaml[".config/docker-compose-base.yaml"]:::atlasWorkflow
art_docker_compose_yaml["docker-compose.yaml"]:::atlasWorkflow
end
mod__config -->|PACKAGED_BY| art__config_Dockerfile
mod__config -->|PACKAGED_BY| art__config_docker_compose_base_yaml
mod__config -->|PACKAGED_BY| art_docker_compose_yaml
mod_bc69a8e2_5e50_4c94_a52f_0bffb36a3ea5 -->|PACKAGED_BY| art__config_docker_compose_base_yaml
mod_bc69a8e2_5e50_4c94_a52f_0bffb36a3ea5 -->|PACKAGED_BY| art_docker_compose_yaml
.config(code_module) —[PACKAGED_BY]—>.config/Dockerfile(container).config(code_module) —[PACKAGED_BY]—>.config/docker-compose-base.yaml(container).config(code_module) —[PACKAGED_BY]—>docker-compose.yaml(container)bc69a8e2-5e50-4c94-a52f-0bffb36a3ea5(code_module) —[PACKAGED_BY]—>.config/docker-compose-base.yaml(container)bc69a8e2-5e50-4c94-a52f-0bffb36a3ea5(code_module) —[PACKAGED_BY]—>docker-compose.yaml(container)
CI/CD Pipeline Topology
graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
pipeline_root(["grafana/grafana-csv-datasource (5 workflows)"]):::atlasRoot
subgraph sg_grp_0_CI___Verification["CI & Verification (2 workflows · 2 jobs)"]
direction TB
subgraph sg_wf_0_Add_issues___PRs_to_Grafana_Data_Source_Plugins_Squad_project["Add issues & PRs to Grafana Data Source Plugins Squad project (1 jobs)"]
direction TB
wf_0_Add_issues___PRs_to_Grafana_Data_Source_Plugins_Squad_project(["Trigger: Add issues & PRs to Grafana Data Source Plugins Squad project"]):::atlasWorkflow
job_0_add_to_project["add-to-project"]:::atlasJob
wf_0_Add_issues___PRs_to_Grafana_Data_Source_Plugins_Squad_project --> job_0_add_to_project
end
pipeline_root --> wf_0_Add_issues___PRs_to_Grafana_Data_Source_Plugins_Squad_project
subgraph sg_wf_2_Plugins___CI["Plugins - CI (1 jobs)"]
direction TB
wf_2_Plugins___CI(["Trigger: Plugins - CI"]):::atlasWorkflow
job_2_ci["ci"]:::atlasJob
wf_2_Plugins___CI --> job_2_ci
end
pipeline_root --> wf_2_Plugins___CI
end
subgraph sg_grp_1_Scheduled___Manual["Scheduled & Manual (2 workflows · 2 jobs)"]
direction TB
subgraph sg_wf_1_Plugins___CD["Plugins - CD (1 jobs)"]
direction TB
wf_1_Plugins___CD(["Trigger: Plugins - CD"]):::atlasWorkflow
job_1_cd["cd"]:::atlasJob
wf_1_Plugins___CD --> job_1_cd
end
pipeline_root --> wf_1_Plugins___CD
subgraph sg_wf_4_Create_Plugin_Update["Create Plugin Update (1 jobs)"]
direction TB
wf_4_Create_Plugin_Update(["Trigger: Create Plugin Update"]):::atlasWorkflow
job_4_release["release"]:::atlasJob
wf_4_Create_Plugin_Update --> job_4_release
end
pipeline_root --> wf_4_Create_Plugin_Update
end
subgraph sg_grp_2_Security___Governance["Security & Governance (1 workflows · 1 jobs)"]
direction TB
subgraph sg_wf_3_Close_stale_issues_and_PRs["Close stale issues and PRs (1 jobs)"]
direction TB
wf_3_Close_stale_issues_and_PRs(["Trigger: Close stale issues and PRs"]):::atlasWorkflow
job_3_stale["stale"]:::atlasJob
wf_3_Close_stale_issues_and_PRs --> job_3_stale
end
pipeline_root --> wf_3_Close_stale_issues_and_PRs
endB
Technical Debt15.8
Remediation Effort12.5h
Dependencies1718
OSV Findings0
Score Trend (Repository)
2 snapshot(s)
6-Dimension Scorecard Breakdown
Code Quality
Weight 20%84.6
avg_cc=1.73, max_cc=10, duplication=10.26%, dead_code=0
Security
Weight 20%100.0
vulnerabilities=0, secrets=0, pipeline_security_findings=0
Maintainability
Weight 15%100.0
avg_cognitive=1.05, max_cognitive=9, fitness_violations=0, oversized_files=0
Test Coverage
Weight 15%70.0
coverage=unavailable, ci_test_job=False, test_files_detected=True
Dependency Health
Weight 15%100.0
dependencies=1718, outdated=0, vulnerable=0, has_lockfile=True
Pipeline Health
Weight 15%45.0
workflows=5, operational_antipatterns=7, parallel_branches=False
Module Complexity & Quality Heatmap
Duplication: 10.26%
Dead Code: 0
webpack.config.ts
.config/webpack/webpack.config.ts
LOC: 253CC: 10Cog: 9
utils.ts
.config/webpack/utils.ts
LOC: 68CC: 6Cog: 7
BuildModeWebpackPlugin.ts
.config/webpack/BuildModeWebpackPlugin.ts
LOC: 33CC: 3Cog: 7
externals.ts
.config/bundler/externals.ts
LOC: 43CC: 3Cog: 0
webpack-plugins.d.ts
.config/types/webpack-plugins.d.ts
LOC: 83CC: 1Cog: 0
jest.config.js
.config/jest.config.js
LOC: 44CC: 1Cog: 0
utils.js
.config/jest/utils.js
LOC: 37CC: 1Cog: 0
bundler-rules.d.ts
.config/types/bundler-rules.d.ts
LOC: 37CC: 1Cog: 0
custom.d.ts
.config/types/custom.d.ts
LOC: 37CC: 1Cog: 0
eslint.config.mjs
.config/eslint.config.mjs
LOC: 31CC: 1Cog: 0
jest-setup.js
.config/jest-setup.js
LOC: 28CC: 1Cog: 0
react-inlinesvg.tsx
.config/jest/mocks/react-inlinesvg.tsx
LOC: 25CC: 1Cog: 0
.prettierrc.js
.config/.prettierrc.js
LOC: 16CC: 1Cog: 0
constants.ts
.config/webpack/constants.ts
LOC: 2CC: 1Cog: 0
setupTests.d.ts
.config/types/setupTests.d.ts
LOC: 1CC: 1Cog: 0
Architectural Fitness Rules
All architectural boundary, cycle, and complexity thresholds passed.
Supply-Chain Dependencies & OSV Vulnerabilities
1718 Dependencies
0 OSV Vulnerabilities
No known OSV vulnerabilities detected across 1718 parsed dependencies.
Redacted Secret Findings
No hardcoded secret patterns detected.
Code-to-Cloud & Workspace Packages
0 Workspace Package(s)
5 Code-to-Cloud Edge(s)
Workspace Packages
Single-package repository or no monorepo workspace manifests.
Code-to-Cloud Traceability Links
.config(code_module)PACKAGED_BY.config/Dockerfile(container)
.config(code_module)PACKAGED_BY.config/docker-compose-base.yaml(container)
.config(code_module)PACKAGED_BYdocker-compose.yaml(container)
bc69a8e2-5e50-4c94-a52f-0bffb36a3ea5(code_module)PACKAGED_BY.config/docker-compose-base.yaml(container)
bc69a8e2-5e50-4c94-a52f-0bffb36a3ea5(code_module)PACKAGED_BYdocker-compose.yaml(container)