.github/workflows/autoclose.yml → appwrite/.github/.github/workflows/autoclose.ymlsdk-for-go
sdk-for-go
| Primary Language | Go |
|---|---|
| Primary Framework | Unknown |
| Deployable Types | Database |
| Technology Stack | Go, CI/CD |
| Default Branch | main |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:18:35 AM |
| Source Repository | Open on GitHub |
appwrite/sdk-for-go — Auto-close External Pull Requests Job Dependency DAG
Pipeline Anti-Patterns Detected
Cross-Workflow Triggers & Reusable Calls
appwrite/sdk-for-go — Module Architecture Tree
Arc42 Architecture & Dependency Report
Repository Architecture Analysis: appwrite/sdk-for-go
Metadata
- SHA:
ac4b239fee3e8ad8f36b7ac179bb1a5e90f7669b - Primary Ecosystem: Go
Quality Metrics
- ast_engine: fallback
- avg_cognitive_complexity: 0.0
- avg_cyclomatic_complexity: 0.0
- component_count: 250
- dead_code_count: 0
- dead_code_symbols: 0 entry(ies)
- duplication_pct: 0.0
- file_complexities: 0 entry(ies)
- files_analyzed: 754
- fitness_passed: True
- fitness_violation_count: 0
- framework: Unknown
- import_edges: 0 entry(ies)
- loc: 194500
- max_cognitive_complexity: 0
- max_cyclomatic_complexity: 0
- sloc: 167301
- test_file_count: 375
Architecture: appwrite/sdk-for-go
Context
- Repository:
appwrite/sdk-for-go - SHA:
ac4b239fee3e8ad8f36b7ac179bb1a5e90f7669b - Ecosystem: Go
- Framework: Unknown
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
repo_root(["appwrite/sdk-for-go (250 components)"]):::atlasRoot
dir_0_models["models (212)"]:::atlasCategory
repo_root --> dir_0_models
dir_1_account["account (2)"]:::atlasCategory
repo_root --> dir_1_account
dir_2_activities["activities (2)"]:::atlasCategory
repo_root --> dir_2_activities
dir_3_advisor["advisor (2)"]:::atlasCategory
repo_root --> dir_3_advisor
dir_4_analytics["analytics (2)"]:::atlasCategory
repo_root --> dir_4_analytics
dir_other_modules["+16 more modules (30)"]:::atlasMore
repo_root --> dir_other_modules
Component Details
Showing top 60 representative components out of 250 across 21 module group(s):
-
Module
models(212 components — module: 212) -
Module
account(2 components — module: 2) -
Module
activities(2 components — module: 2) -
Module
advisor(2 components — module: 2) -
Module
analytics(2 components — module: 2) -
Module
apps(2 components — module: 2) -
Module
avatars(2 components — module: 2) -
Module
backups(2 components — module: 2) -
Module
client(2 components — module: 2) -
Module
databases(2 components — module: 2) -
Module
documentsdb(2 components — module: 2) -
Module
domains(2 components — module: 2) -
account (
account/account.go): module -
account (
models/account.go): module -
account_test (
account/account_test.go): module -
account_test (
models/account_test.go): module -
activities (
activities/activities.go): module -
activities_test (
activities/activities_test.go): module -
activityEvent (
models/activityEvent.go): module -
activityEventList (
models/activityEventList.go): module -
activityEventList_test (
models/activityEventList_test.go): module -
activityEvent_test (
models/activityEvent_test.go): module -
additionalResource (
models/additionalResource.go): module -
additionalResource_test (
models/additionalResource_test.go): module -
advisor (
advisor/advisor.go): module -
advisor_test (
advisor/advisor_test.go): module -
algoArgon2 (
models/algoArgon2.go): module -
algoArgon2_test (
models/algoArgon2_test.go): module -
algoBcrypt (
models/algoBcrypt.go): module -
algoBcrypt_test (
models/algoBcrypt_test.go): module -
algoMd5 (
models/algoMd5.go): module -
algoMd5_test (
models/algoMd5_test.go): module -
algoPhpass (
models/algoPhpass.go): module -
algoPhpass_test (
models/algoPhpass_test.go): module -
algoScrypt (
models/algoScrypt.go): module -
algoScryptModified (
models/algoScryptModified.go): module -
algoScryptModified_test (
models/algoScryptModified_test.go): module -
algoScrypt_test (
models/algoScrypt_test.go): module -
algoSha (
models/algoSha.go): module -
algoSha_test (
models/algoSha_test.go): module -
analytics (
analytics/analytics.go): module -
analyticsMetric (
models/analyticsMetric.go): module -
analyticsMetricList (
models/analyticsMetricList.go): module -
analyticsMetricList_test (
models/analyticsMetricList_test.go): module -
analyticsMetric_test (
models/analyticsMetric_test.go): module -
analyticsProperty (
models/analyticsProperty.go): module -
analyticsPropertyList (
models/analyticsPropertyList.go): module -
analyticsPropertyList_test (
models/analyticsPropertyList_test.go): module -
analyticsProperty_test (
models/analyticsProperty_test.go): module -
analytics_test (
analytics/analytics_test.go): module -
app (
models/app.go): module -
appInstallation (
models/appInstallation.go): module -
appInstallationList (
models/appInstallationList.go): module -
appInstallationList_test (
models/appInstallationList_test.go): module -
appInstallation_test (
models/appInstallation_test.go): module -
appKey (
models/appKey.go): module -
appKeyList (
models/appKeyList.go): module -
appKeyList_test (
models/appKeyList_test.go): module -
appKey_test (
models/appKey_test.go): module -
appScope (
models/appScope.go): module -
appScopeList (
models/appScopeList.go): module -
appScopeList_test (
models/appScopeList_test.go): module -
appScope_test (
models/appScope_test.go): module -
appSecret (
models/appSecret.go): module -
appSecretList (
models/appSecretList.go): module -
appSecretList_test (
models/appSecretList_test.go): module -
appSecretPlaintext (
models/appSecretPlaintext.go): module -
appSecretPlaintext_test (
models/appSecretPlaintext_test.go): module -
appSecret_test (
models/appSecret_test.go): module -
app_test (
models/app_test.go): module -
apps (
apps/apps.go): module -
appsList (
models/appsList.go): module
6-Dimension Repository Scorecard
- Overall Grade:
C(73.55/100) - Technical Debt Score: 26.45
- Estimated Remediation Effort: 50.61h
| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | A | 100.00 | 0.20 | avg_cc=0.00, max_cc=0, duplication=0.00%, dead_code=0 |
| Dependency Health | A | 90.00 | 0.15 | dependencies=0 (no manifests parsed) |
| Maintainability | A | 100.00 | 0.15 | avg_cognitive=0.00, max_cognitive=0, fitness_violations=0, oversized_files=0 |
| Pipeline Health | A | 97.00 | 0.15 | workflows=1, operational_antipatterns=1, parallel_branches=False |
| Security | F | 0.00 | 0.20 | vulnerabilities=0, secrets=21, pipeline_security_findings=1 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=False, test_files_detected=True |
Supply Chain Dependencies, Vulnerabilities & Secrets
- Dependencies Parsed: 0 | Vulnerabilities: 0 | Secrets: 21
Secret Findings (Redacted)
- [HIGH]
ATRUSS-SEC-005ataccount/account_test.go:609("providerIdToken": "eyJh***REDACTED***") - [HIGH]
ATRUSS-SEC-005atmodels/algoScryptModified_test.go:10(model := AlgoScryptModified{Type: "scryptMod", Salt: "UxLMreBr6tYyjQ==", SaltSeparator: "Bw==", SignerKey: "XyEK***REDACTED***"}) - [HIGH]
ATRUSS-SEC-005atmodels/algoScryptModified_test.go:106(reused := AlgoScryptModified{Type: "scryptMod", Salt: "UxLMreBr6tYyjQ==", SaltSeparator: "Bw==", SignerKey: "XyEK***REDACTED***"}) - [HIGH]
ATRUSS-SEC-005atmodels/identityList_test.go:10(...TM2NDE1ZTZjNGZmZjI3", ProviderIdToken: "eyJh***REDACTED***"}}}) - [HIGH]
ATRUSS-SEC-005atmodels/identityList_test.go:49(...TM2NDE1ZTZjNGZmZjI3", ProviderIdToken: "eyJh***REDACTED***"}}}) - [HIGH]
ATRUSS-SEC-005atmodels/identity_test.go:10(...TM2NDE1ZTZjNGZmZjI3", ProviderIdToken: "eyJh***REDACTED***"}) - [HIGH]
ATRUSS-SEC-005atmodels/identity_test.go:239(...TM2NDE1ZTZjNGZmZjI3", ProviderIdToken: "eyJh***REDACTED***"}) - [CRITICAL]
ATRUSS-SEC-004atmodels/oAuth2Apple_test.go:10(-----BEGIN ... PRIVATE KEY----- [REDACTED]) - [HIGH]
ATRUSS-SEC-005atmodels/oAuth2Microsoft_test.go:10(...bbbb-3333cccc4444", ApplicationSecret: "A1bC***REDACTED***", Prompt: []string{"test"}, Tenant: "co...) - [HIGH]
ATRUSS-SEC-005atmodels/oAuth2Microsoft_test.go:141(...bbbb-3333cccc4444", ApplicationSecret: "A1bC***REDACTED***", Prompt: []string{"test"}, Tenant: "co...) - [HIGH]
ATRUSS-SEC-005atmodels/resourceTokenList_test.go:10(...020-10-15T06:38:00.000+00:00", Secret: "eyJh***REDACTED***", AccessedAt: "2020-10-15T06:38:00.000+...) - [HIGH]
ATRUSS-SEC-005atmodels/resourceTokenList_test.go:49(...020-10-15T06:38:00.000+00:00", Secret: "eyJh***REDACTED***", AccessedAt: "2020-10-15T06:38:00.000+...) - [HIGH]
ATRUSS-SEC-005atmodels/resourceToken_test.go:10(...020-10-15T06:38:00.000+00:00", Secret: "eyJh***REDACTED***", AccessedAt: "2020-10-15T06:38:00.000+...) - [HIGH]
ATRUSS-SEC-005atmodels/resourceToken_test.go:163(...020-10-15T06:38:00.000+00:00", Secret: "eyJh***REDACTED***", AccessedAt: "2020-10-15T06:38:00.000+...) - [CRITICAL]
ATRUSS-SEC-004atproject/project_test.go:871(-----BEGIN ... PRIVATE KEY----- [REDACTED]) - [HIGH]
ATRUSS-SEC-005atproject/project_test.go:1611("applicationSecret": "A1bC***REDACTED***",) - [HIGH]
ATRUSS-SEC-005attokens/tokens_test.go:30("secret": "eyJh***REDACTED***",) - [HIGH]
ATRUSS-SEC-005attokens/tokens_test.go:64("secret": "eyJh***REDACTED***",) - [HIGH]
ATRUSS-SEC-005attokens/tokens_test.go:96("secret": "eyJh***REDACTED***",) - [HIGH]
ATRUSS-SEC-005attokens/tokens_test.go:128("secret": "eyJh***REDACTED***",) - [HIGH]
ATRUSS-SEC-005atusers/users_test.go:252("providerIdToken": "eyJh***REDACTED***")
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_9e0938a4_fba2_4a4f_a018_2776c9038953["9e0938a4-fba2-4a4f-a018-2776c9038953"]:::atlasCategory
end
subgraph ci_jobs["CI/CD Jobs"]
job_autoclose_yml_auto_close["autoclose.yml#auto_close"]:::atlasJob
end
mod_9e0938a4_fba2_4a4f_a018_2776c9038953 -->|BUILT_BY| job_autoclose_yml_auto_close
9e0938a4-fba2-4a4f-a018-2776c9038953(code_module) —[BUILT_BY]—>autoclose.yml#auto_close(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
subgraph Auto_close_External_Pull_Requests_0["Auto-close External Pull Requests"]
direction TB
0_auto_close["auto_close"]:::atlasJob
end6-Dimension Scorecard Breakdown
Code Quality
Weight 20%avg_cc=0.00, max_cc=0, duplication=0.00%, dead_code=0
Security
Weight 20%vulnerabilities=0, secrets=21, pipeline_security_findings=1
Maintainability
Weight 15%avg_cognitive=0.00, max_cognitive=0, fitness_violations=0, oversized_files=0
Test Coverage
Weight 15%coverage=unavailable, ci_test_job=False, test_files_detected=True
Dependency Health
Weight 15%dependencies=0 (no manifests parsed)
Pipeline Health
Weight 15%workflows=1, operational_antipatterns=1, parallel_branches=False
Module Complexity & Quality Heatmap
No per-file complexity hotspots recorded in this report.
Architectural Fitness Rules
All architectural boundary, cycle, and complexity thresholds passed.
Supply-Chain Dependencies & OSV Vulnerabilities
No known OSV vulnerabilities detected across 0 parsed dependencies.
Redacted Secret Findings
ATRUSS-SEC-005account/account_test.go:609High-entropy credential candidate (H=5.32 > 4.5) detected.
"providerIdToken": "eyJh***REDACTED***"ATRUSS-SEC-005models/algoScryptModified_test.go:10High-entropy credential candidate (H=5.54 > 4.5) detected.
model := AlgoScryptModified{Type: "scryptMod", Salt: "UxLMreBr6tYyjQ==", SaltSeparator: "Bw==", SignerKey: "XyEK***REDACTED***"}ATRUSS-SEC-005models/algoScryptModified_test.go:106High-entropy credential candidate (H=5.54 > 4.5) detected.
reused := AlgoScryptModified{Type: "scryptMod", Salt: "UxLMreBr6tYyjQ==", SaltSeparator: "Bw==", SignerKey: "XyEK***REDACTED***"}ATRUSS-SEC-005models/identityList_test.go:10High-entropy credential candidate (H=5.32 > 4.5) detected.
...TM2NDE1ZTZjNGZmZjI3", ProviderIdToken: "eyJh***REDACTED***"}}}ATRUSS-SEC-005models/identityList_test.go:49High-entropy credential candidate (H=5.32 > 4.5) detected.
...TM2NDE1ZTZjNGZmZjI3", ProviderIdToken: "eyJh***REDACTED***"}}}ATRUSS-SEC-005models/identity_test.go:10High-entropy credential candidate (H=5.32 > 4.5) detected.
...TM2NDE1ZTZjNGZmZjI3", ProviderIdToken: "eyJh***REDACTED***"}ATRUSS-SEC-005models/identity_test.go:239High-entropy credential candidate (H=5.32 > 4.5) detected.
...TM2NDE1ZTZjNGZmZjI3", ProviderIdToken: "eyJh***REDACTED***"}ATRUSS-SEC-004models/oAuth2Apple_test.go:10Private key material header detected.
-----BEGIN ... PRIVATE KEY----- [REDACTED]ATRUSS-SEC-005models/oAuth2Microsoft_test.go:10High-entropy credential candidate (H=4.91 > 4.5) detected.
...bbbb-3333cccc4444", ApplicationSecret: "A1bC***REDACTED***", Prompt: []string{"test"}, Tenant: "co...ATRUSS-SEC-005models/oAuth2Microsoft_test.go:141High-entropy credential candidate (H=4.91 > 4.5) detected.
...bbbb-3333cccc4444", ApplicationSecret: "A1bC***REDACTED***", Prompt: []string{"test"}, Tenant: "co...ATRUSS-SEC-005models/resourceTokenList_test.go:10High-entropy credential candidate (H=5.44 > 4.5) detected.
...020-10-15T06:38:00.000+00:00", Secret: "eyJh***REDACTED***", AccessedAt: "2020-10-15T06:38:00.000+...ATRUSS-SEC-005models/resourceTokenList_test.go:49High-entropy credential candidate (H=5.44 > 4.5) detected.
...020-10-15T06:38:00.000+00:00", Secret: "eyJh***REDACTED***", AccessedAt: "2020-10-15T06:38:00.000+...ATRUSS-SEC-005models/resourceToken_test.go:10High-entropy credential candidate (H=5.44 > 4.5) detected.
...020-10-15T06:38:00.000+00:00", Secret: "eyJh***REDACTED***", AccessedAt: "2020-10-15T06:38:00.000+...ATRUSS-SEC-005models/resourceToken_test.go:163High-entropy credential candidate (H=5.44 > 4.5) detected.
...020-10-15T06:38:00.000+00:00", Secret: "eyJh***REDACTED***", AccessedAt: "2020-10-15T06:38:00.000+...ATRUSS-SEC-004project/project_test.go:871Private key material header detected.
-----BEGIN ... PRIVATE KEY----- [REDACTED]ATRUSS-SEC-005project/project_test.go:1611High-entropy credential candidate (H=4.91 > 4.5) detected.
"applicationSecret": "A1bC***REDACTED***",ATRUSS-SEC-005tokens/tokens_test.go:30High-entropy credential candidate (H=5.44 > 4.5) detected.
"secret": "eyJh***REDACTED***",ATRUSS-SEC-005tokens/tokens_test.go:64High-entropy credential candidate (H=5.44 > 4.5) detected.
"secret": "eyJh***REDACTED***",ATRUSS-SEC-005tokens/tokens_test.go:96High-entropy credential candidate (H=5.44 > 4.5) detected.
"secret": "eyJh***REDACTED***",ATRUSS-SEC-005tokens/tokens_test.go:128High-entropy credential candidate (H=5.44 > 4.5) detected.
"secret": "eyJh***REDACTED***",ATRUSS-SEC-005users/users_test.go:252High-entropy credential candidate (H=5.32 > 4.5) detected.
"providerIdToken": "eyJh***REDACTED***"Code-to-Cloud & Workspace Packages
Workspace Packages
Single-package repository or no monorepo workspace manifests.