.github/workflows/ci.yml → mattermost/actions-workflows/.github/workflows/plugin-ci.ymlmattermost-plugin-gitlab
mattermost-plugin-gitlab
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | React (Vite) |
| Detected Frameworks | React (Vite); React; TypeScript; Go Service; Docker Compose; Container |
| Deployable Types | Frontend |
| Technology Stack | JavaScript/TypeScript, Docker, CI/CD |
| Default Branch | master |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:15:30 AM |
| Source Repository | Open on GitHub |
mattermost/mattermost-plugin-gitlab — Workflow Hierarchy Overview
Pipeline Anti-Patterns Detected
Cross-Workflow Triggers & Reusable Calls
mattermost/mattermost-plugin-gitlab — Module Architecture Tree
Arc42 Architecture & Dependency Report
Repository Architecture Analysis: mattermost/mattermost-plugin-gitlab
Metadata
- SHA:
20ce1556aab0370e79d5b35918b830307801db1e - Primary Ecosystem: JavaScript/TypeScript
Quality Metrics
- ast_engine: tree-sitter
- avg_cognitive_complexity: 1.58
- avg_cyclomatic_complexity: 2.24
- component_count: 12
- dead_code_count: 6
- dead_code_symbols: 6 entry(ies)
- duplication_pct: 70.62
- file_complexities: 25 entry(ies)
- files_analyzed: 96
- fitness_passed: False
- fitness_violation_count: 3
- framework: React (Vite)
- import_edges: 100 entry(ies)
- loc: 8711
- max_cognitive_complexity: 33
- max_cyclomatic_complexity: 33
- sloc: 6772
- test_file_count: 51
Architecture: mattermost/mattermost-plugin-gitlab
Context
- Repository:
mattermost/mattermost-plugin-gitlab - SHA:
20ce1556aab0370e79d5b35918b830307801db1e - Ecosystem: JavaScript/TypeScript
- Framework: React (Vite)
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
mattermost_plugin_gitlab_e2e["mattermost-plugin-gitlab-e2e : MODULE"]:::atlasJob
gitlab["gitlab : MODULE"]:::atlasJob
Client["Client : SERVICE"]:::atlasJob
CreateIssuePostMenuAction["CreateIssuePostMenuAction : UI_COMPONENT"]:::atlasJob
GitLabIssuesIcon["GitLabIssuesIcon : UI_COMPONENT"]:::atlasJob
GitLabMergeRequestIcon["GitLabMergeRequestIcon : UI_COMPONENT"]:::atlasJob
GitLabReviewsIcon["GitLabReviewsIcon : UI_COMPONENT"]:::atlasJob
GitLabTodosIcon["GitLabTodosIcon : UI_COMPONENT"]:::atlasJob
GitLabMergeRequestClosedIcon["GitLabMergeRequestClosedIcon : UI_COMPONENT"]:::atlasJob
GitLabMergedIcon["GitLabMergedIcon : UI_COMPONENT"]:::atlasJob
GitLabIssueClosedIcon["GitLabIssueClosedIcon : UI_COMPONENT"]:::atlasJob
GitLabIssueOpenIcon["GitLabIssueOpenIcon : UI_COMPONENT"]:::atlasJob
repo_root(["mattermost/mattermost-plugin-gitlab"]):::atlasRoot
repo_root --> Client
repo_root --> CreateIssuePostMenuAction
repo_root --> GitLabIssueClosedIcon
repo_root --> GitLabIssueOpenIcon
repo_root --> GitLabIssuesIcon
repo_root --> GitLabMergeRequestClosedIcon
repo_root --> GitLabMergeRequestIcon
repo_root --> GitLabMergedIcon
repo_root --> GitLabReviewsIcon
repo_root --> GitLabTodosIcon
repo_root --> gitlab
repo_root --> mattermost_plugin_gitlab_e2e
Component Details
- mattermost-plugin-gitlab-e2e (
e2e/playwright/package.json): MODULE - gitlab (
webapp/package.json): MODULE - Client (
webapp/src/client/client.ts): SERVICE - CreateIssuePostMenuAction (
webapp/src/components/post_options/create_issue.tsx): UI_COMPONENT - GitLabIssuesIcon (
webapp/src/utils/icons.tsx): UI_COMPONENT - GitLabMergeRequestIcon (
webapp/src/utils/icons.tsx): UI_COMPONENT - GitLabReviewsIcon (
webapp/src/utils/icons.tsx): UI_COMPONENT - GitLabTodosIcon (
webapp/src/utils/icons.tsx): UI_COMPONENT - GitLabMergeRequestClosedIcon (
webapp/src/utils/icons.tsx): UI_COMPONENT - GitLabMergedIcon (
webapp/src/utils/icons.tsx): UI_COMPONENT - GitLabIssueClosedIcon (
webapp/src/utils/icons.tsx): UI_COMPONENT - GitLabIssueOpenIcon (
webapp/src/utils/icons.tsx): UI_COMPONENT
6-Dimension Repository Scorecard
- Overall Grade:
D(69.38/100) - Technical Debt Score: 30.62
- Estimated Remediation Effort: 33.28h
| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | F | 38.00 | 0.20 | avg_cc=2.24, max_cc=33, duplication=70.62%, dead_code=6 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=1372, outdated=0, vulnerable=0, has_lockfile=True |
| Maintainability | D | 62.50 | 0.15 | avg_cognitive=1.58, max_cognitive=33, fitness_violations=3, oversized_files=0 |
| Pipeline Health | A | 94.00 | 0.15 | workflows=3, operational_antipatterns=2, parallel_branches=False |
| Security | D | 64.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=3 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=True, test_files_detected=True |
Architecture Fitness & Workspace Boundaries
- [MEDIUM]
ATRUSS-ARCH-005(COMPLEXITY_THRESHOLD): Repository duplication_pct (70.62) exceeds policy threshold (15.0). - [MEDIUM]
ATRUSS-ARCH-005(COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (33.0) exceeds policy threshold (25.0). - [MEDIUM]
ATRUSS-ARCH-005(COMPLEXITY_THRESHOLD): Repository max_cyclomatic_complexity (33.0) exceeds policy threshold (20.0).
Supply Chain Dependencies, Vulnerabilities & Secrets
- Dependencies Parsed: 1372 | Vulnerabilities: 0 | Secrets: 0
Inventory Sample
github.com/Masterminds/semver/v33.4.0(golang,go.mod)github.com/gorilla/mux1.8.1(golang,go.mod)github.com/hashicorp/go-multierror1.1.1(golang,go.mod)github.com/mattermost/mattermost-plugin-agents1.14.1-0.20260508173910-8219eb13bd4e(golang,go.mod)github.com/mattermost/mattermost/server/public0.3.1-0.20260402155910-d9d71af83e3f(golang,go.mod)github.com/microcosm-cc/bluemonday1.0.27(golang,go.mod)github.com/modelcontextprotocol/go-sdk1.4.1(golang,go.mod)github.com/pkg/errors0.9.1(golang,go.mod)github.com/stretchr/testify1.11.1(golang,go.mod)github.com/xanzy/go-gitlab0.97.0(golang,go.mod)go.uber.org/mock0.4.0(golang,go.mod)golang.org/x/oauth20.36.0(golang,go.mod)golang.org/x/sync0.22.0(golang,go.mod)gopkg.in/yaml.v33.0.1(golang,go.mod)@babel/cli7.28.3(npm,webapp/package-lock.json)@babel/cli7.28.3(npm,webapp/package.json)@babel/core7.26.0(npm,webapp/package-lock.json)@babel/core7.26.0(npm,webapp/package.json)@babel/eslint-parser7.25.9(npm,webapp/package-lock.json)@babel/eslint-parser7.25.9(npm,webapp/package.json)@babel/plugin-syntax-dynamic-import7.8.3(npm,webapp/package-lock.json)@babel/plugin-syntax-dynamic-import7.8.3(npm,webapp/package.json)@babel/plugin-transform-class-properties7.25.9(npm,webapp/package-lock.json)@babel/plugin-transform-class-properties7.25.9(npm,webapp/package.json)@babel/plugin-transform-object-rest-spread7.25.9(npm,webapp/package-lock.json)@babel/plugin-transform-object-rest-spread7.25.9(npm,webapp/package.json)@babel/preset-env7.26.0(npm,webapp/package-lock.json)@babel/preset-env7.26.0(npm,webapp/package.json)@babel/preset-react7.26.3(npm,webapp/package-lock.json)@babel/preset-react7.26.3(npm,webapp/package.json)- … (+1342 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__cursor[".cursor"]:::atlasCategory
mod_e2e_playwright["e2e/playwright"]:::atlasCategory
end
subgraph build_artifacts["Build Artifacts / Containers"]
art__cursor_Dockerfile[".cursor/Dockerfile"]:::atlasWorkflow
art_e2e_playwright_docker_compose_yml["e2e/playwright/docker-compose.yml"]:::atlasWorkflow
end
mod__cursor -->|PACKAGED_BY| art__cursor_Dockerfile
mod_e2e_playwright -->|PACKAGED_BY| art__cursor_Dockerfile
mod_e2e_playwright -->|PACKAGED_BY| art_e2e_playwright_docker_compose_yml
.cursor(code_module) —[PACKAGED_BY]—>.cursor/Dockerfile(container)e2e/playwright(code_module) —[PACKAGED_BY]—>.cursor/Dockerfile(container)e2e/playwright(code_module) —[PACKAGED_BY]—>e2e/playwright/docker-compose.yml(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(["mattermost/mattermost-plugin-gitlab"]):::atlasRoot
subgraph ci_0["ci"]
direction TB
0_plugin_ci["plugin-ci"]:::atlasJob
end
pipeline_root --> 0_plugin_ci
subgraph CodeQL_1["CodeQL"]
direction TB
1_analyze["analyze"]:::atlasJob
end
pipeline_root --> 1_analyze
subgraph e2e_2["e2e"]
direction TB
2_playwright["playwright"]:::atlasJob
end
pipeline_root --> 2_playwright6-Dimension Scorecard Breakdown
Code Quality
Weight 20%avg_cc=2.24, max_cc=33, duplication=70.62%, dead_code=6
Security
Weight 20%vulnerabilities=0, secrets=0, pipeline_security_findings=3
Maintainability
Weight 15%avg_cognitive=1.58, max_cognitive=33, fitness_violations=3, oversized_files=0
Test Coverage
Weight 15%coverage=unavailable, ci_test_job=True, test_files_detected=True
Dependency Health
Weight 15%dependencies=1372, outdated=0, vulnerable=0, has_lockfile=True
Pipeline Health
Weight 15%workflows=3, operational_antipatterns=2, parallel_branches=False
Module Complexity & Quality Heatmap
Unreferenced / Dead Code Symbols Preview (6)
closee2e/playwright/support/components/issue_modals.ts:24doDeletewebapp/src/client/client.ts:123doPutwebapp/src/client/client.ts:146initializewebapp/src/index.ts:53deinitializewebapp/src/index.ts:190Windowwebapp/src/index.ts:198Architectural Fitness Rules
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDwebapp/src/actions/index.ts:1Repository duplication_pct (70.62) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDwebapp/src/actions/index.ts:1Repository max_cognitive_complexity (33.0) exceeds policy threshold (25.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDwebapp/src/actions/index.ts:1Repository max_cyclomatic_complexity (33.0) exceeds policy threshold (20.0).
Supply-Chain Dependencies & OSV Vulnerabilities
No known OSV vulnerabilities detected across 1372 parsed dependencies.
Redacted Secret Findings
No hardcoded secret patterns detected.
Code-to-Cloud & Workspace Packages
Workspace Packages
Single-package repository or no monorepo workspace manifests.