.github/workflows/ci.yml → mattermost/actions-workflows/.github/workflows/plugin-dist-pr.ymlmattermost-plugin-wrangler
mattermost-plugin-wrangler
JavaScript/TypeScript React (Vite) P2 Nov 15, 2026
CI/CD Pipeline Docker Container Kubernetes API Surface Service Layer Frontend UI Database
| 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:19:53 AM |
| Source Repository | Open on GitHub |
mattermost/mattermost-plugin-wrangler — Workflow Hierarchy Overview
100%
Showing top-level workflow hierarchy. Click any workflow node or choose one above to inspect its job DAG.
3 Workflow(s)
4 Job(s)
7 Anti-Pattern(s)
2 Cross-Workflow Edge(s)
11/15/2026, 5:22:58 AM
Pipeline Anti-Patterns Detected
HIGH EXCESSIVE_PERMISSIONS
LOW NO_TIMEOUT
LOW NO_TIMEOUT
HIGH UNPINNED_ACTION
HIGH UNPINNED_ACTION
HIGH UNPINNED_ACTION
LOW NO_TIMEOUT
Cross-Workflow Triggers & Reusable Calls
.github/workflows/ci.yml → mattermost/actions-workflows/.github/workflows/plugin-ci.ymlJavaScript/TypeScript3 Components
58 Files
3694 LoC
Avg CC: 1.740 OSV CVE(s)
1 Fitness Rule Alert(s)
mattermost/mattermost-plugin-wrangler — 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: mattermost/mattermost-plugin-wrangler
Metadata
- SHA:
e3292206c5b103457800ca23c0ad18fdcff79fd2 - Primary Ecosystem: JavaScript/TypeScript
Quality Metrics
- ast_engine: tree-sitter
- avg_cognitive_complexity: 0.88
- avg_cyclomatic_complexity: 1.74
- component_count: 3
- dead_code_count: 0
- dead_code_symbols: 0 entry(ies)
- duplication_pct: 72.0
- file_complexities: 25 entry(ies)
- files_analyzed: 58
- fitness_passed: False
- fitness_violation_count: 1
- framework: React (Vite)
- import_edges: 100 entry(ies)
- loc: 3694
- max_cognitive_complexity: 11
- max_cyclomatic_complexity: 9
- sloc: 2626
- test_file_count: 20
Architecture: mattermost/mattermost-plugin-wrangler
Context
- Repository:
mattermost/mattermost-plugin-wrangler - SHA:
e3292206c5b103457800ca23c0ad18fdcff79fd2 - 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_wrangler_e2e["mattermost-plugin-wrangler-e2e : MODULE"]:::atlasJob
webapp["webapp : MODULE"]:::atlasJob
Client["Client : SERVICE"]:::atlasJob
Component Details
- mattermost-plugin-wrangler-e2e (
e2e/playwright/package.json): MODULE - webapp (
webapp/package.json): MODULE - Client (
webapp/src/client/client.ts): SERVICE
6-Dimension Repository Scorecard
- Overall Grade:
C(79.40/100) - Technical Debt Score: 20.60
- Estimated Remediation Effort: 28.55h
| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | C | 75.00 | 0.20 | avg_cc=1.74, max_cc=9, duplication=72.00%, dead_code=0 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=1076, outdated=0, vulnerable=0, has_lockfile=True |
| Maintainability | A | 94.00 | 0.15 | avg_cognitive=0.88, max_cognitive=11, fitness_violations=1, oversized_files=0 |
| Pipeline Health | A | 96.00 | 0.15 | workflows=3, operational_antipatterns=3, parallel_branches=True |
| Security | F | 52.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=4 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=False, test_files_detected=True |
Architecture Fitness & Workspace Boundaries
- [MEDIUM]
ATRUSS-ARCH-005(COMPLEXITY_THRESHOLD): Repository duplication_pct (72.0) exceeds policy threshold (15.0).
Supply Chain Dependencies, Vulnerabilities & Secrets
- Dependencies Parsed: 1076 | Vulnerabilities: 0 | Secrets: 0
Inventory Sample
github.com/mattermost/mattermost/server/public0.2.1(golang,go.mod)github.com/mholt/archiver/v33.5.1(golang,go.mod)github.com/pkg/errors0.9.1(golang,go.mod)github.com/spf13/pflag1.0.10(golang,go.mod)github.com/stretchr/testify1.11.1(golang,go.mod)@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)@babel/preset-typescript7.26.0(npm,webapp/package-lock.json)@babel/preset-typescript7.26.0(npm,webapp/package.json)@babel/runtime7.28.4(npm,webapp/package-lock.json)@babel/runtime7.28.4(npm,webapp/package.json)@fortawesome/fontawesome-svg-core6.6.0(npm,webapp/package-lock.json)@fortawesome/fontawesome-svg-core6.6.0(npm,webapp/package.json)@fortawesome/free-regular-svg-icons6.6.0(npm,webapp/package-lock.json)@fortawesome/free-regular-svg-icons6.6.0(npm,webapp/package.json)@fortawesome/free-solid-svg-icons6.6.0(npm,webapp/package-lock.json)@fortawesome/free-solid-svg-icons6.6.0(npm,webapp/package.json)@fortawesome/react-fontawesome0.2.2(npm,webapp/package-lock.json)- … (+1046 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
subgraph ci_jobs["CI/CD Jobs"]
job_e2e_yml_playwright["e2e.yml#playwright"]:::atlasJob
end
mod__cursor -->|PACKAGED_BY| art__cursor_Dockerfile
mod_e2e_playwright -->|BUILT_BY| job_e2e_yml_playwright
mod_e2e_playwright -->|PACKAGED_BY| art_e2e_playwright_docker_compose_yml
art_e2e_playwright_docker_compose_yml -->|BUILT_BY| job_e2e_yml_playwright
.cursor(code_module) —[PACKAGED_BY]—>.cursor/Dockerfile(container)e2e/playwright(code_module) —[BUILT_BY]—>e2e.yml#playwright(ci_job)e2e/playwright(code_module) —[PACKAGED_BY]—>e2e/playwright/docker-compose.yml(container)e2e/playwright/docker-compose.yml(container) —[BUILT_BY]—>e2e.yml#playwright(ci_job)
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-wrangler"]):::atlasRoot
subgraph ci_0["ci"]
direction TB
0_plugin_ci["plugin-ci"]:::atlasJob
0_dist["dist"]:::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_playwrightC
Technical Debt20.6
Remediation Effort28.6h
Dependencies1076
OSV Findings0
Score Trend (Repository)
2 snapshot(s)
6-Dimension Scorecard Breakdown
Code Quality
Weight 20%75.0
avg_cc=1.74, max_cc=9, duplication=72.00%, dead_code=0
Security
Weight 20%52.0
vulnerabilities=0, secrets=0, pipeline_security_findings=4
Maintainability
Weight 15%94.0
avg_cognitive=0.88, max_cognitive=11, fitness_violations=1, 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=1076, outdated=0, vulnerable=0, has_lockfile=True
Pipeline Health
Weight 15%96.0
workflows=3, operational_antipatterns=3, parallel_branches=True
Module Complexity & Quality Heatmap
Duplication: 72.00%
Dead Code: 0
attach_message_dropdown.tsx
webapp/src/components/attach_message_dropdown/attach_message_dropdown.tsx
LOC: 95CC: 13Cog: 11
move_thread_modal.tsx
webapp/src/components/move_thread_modal/move_thread_modal.tsx
LOC: 327CC: 18Cog: 10
index.ts
webapp/src/components/move_thread_dropdown/index.ts
LOC: 57CC: 7Cog: 10
fixtures.ts
e2e/playwright/support/fixtures.ts
LOC: 86CC: 8Cog: 9
index.ts
webapp/src/actions/index.ts
LOC: 201CC: 5Cog: 9
merge_thread_dropdown.tsx
webapp/src/components/merge_thread_dropdown/merge_thread_dropdown.tsx
LOC: 88CC: 10Cog: 7
posts.ts
e2e/playwright/support/posts.ts
LOC: 84CC: 7Cog: 7
index.ts
webapp/src/components/attach_message_dropdown/index.ts
LOC: 57CC: 7Cog: 7
index.ts
webapp/src/reducers/index.ts
LOC: 84CC: 12Cog: 6
plugin.ts
e2e/playwright/support/plugin.ts
LOC: 135CC: 8Cog: 6
index.ts
webapp/src/components/merge_thread_dropdown/index.ts
LOC: 55CC: 6Cog: 6
plugin.tsx
webapp/src/plugin.tsx
LOC: 72CC: 3Cog: 6
lint-test-docs.js
e2e/playwright/scripts/lint-test-docs.js
LOC: 70CC: 15Cog: 5
move_thread_dropdown.tsx
webapp/src/components/move_thread_dropdown/move_thread_dropdown.tsx
LOC: 67CC: 6Cog: 3
copy_to_channel_dropdown.tsx
webapp/src/components/copy_to_channel_dropdown/copy_to_channel_dropdown.tsx
LOC: 59CC: 6Cog: 3
left_sidebar_attach_message.tsx
webapp/src/components/left_sidebar_attach_message/left_sidebar_attach_message.tsx
LOC: 50CC: 6Cog: 3
left_sidebar_merge_thread.tsx
webapp/src/components/left_sidebar_merge_thread/left_sidebar_merge_thread.tsx
LOC: 50CC: 6Cog: 3
index.ts
webapp/src/components/move_thread_modal/index.ts
LOC: 45CC: 3Cog: 3
setup_ui.tsx
webapp/src/components/setup_ui/setup_ui.tsx
LOC: 25CC: 3Cog: 3
index.ts
webapp/src/components/copy_to_channel_dropdown/index.ts
LOC: 35CC: 3Cog: 2
left_sidebar_copy_to_channel.tsx
webapp/src/components/left_sidebar_copy_to_channel/left_sidebar_copy_to_channel.tsx
LOC: 44CC: 4Cog: 1
commands.ts
e2e/playwright/support/commands.ts
LOC: 18CC: 3Cog: 1
commands_general.spec.ts
e2e/playwright/tests/commands_general.spec.ts
LOC: 127CC: 2Cog: 1
merge_thread.spec.ts
e2e/playwright/tests/merge_thread.spec.ts
LOC: 82CC: 2Cog: 1
Architectural Fitness Rules
MEDIUM
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDwebapp/src/components/attach_message_dropdown/attach_message_dropdown.tsx:1Repository duplication_pct (72.0) exceeds policy threshold (15.0).
webapp/src/components/attach_message_dropdown/attach_message_dropdown.tsx(REPOSITORY)duplication_pct(THRESHOLD)
Supply-Chain Dependencies & OSV Vulnerabilities
1076 Dependencies
0 OSV Vulnerabilities
No known OSV vulnerabilities detected across 1076 parsed dependencies.
Redacted Secret Findings
No hardcoded secret patterns detected.
Code-to-Cloud & Workspace Packages
0 Workspace Package(s)
4 Code-to-Cloud Edge(s)
Workspace Packages
Single-package repository or no monorepo workspace manifests.
Code-to-Cloud Traceability Links
.cursor(code_module)PACKAGED_BY.cursor/Dockerfile(container)
e2e/playwright(code_module)BUILT_BYe2e.yml#playwright(ci_job)
e2e/playwright(code_module)PACKAGED_BYe2e/playwright/docker-compose.yml(container)
e2e/playwright/docker-compose.yml(container)BUILT_BYe2e.yml#playwright(ci_job)