fix: fixed tests #1
Annotations
25 errors and 13 warnings
|
Test on ubuntu-latest
Process completed with exit code 1.
|
|
Test on macos-latest
Process completed with exit code 1.
|
|
Test on windows-latest
Process completed with exit code 1.
|
|
Lint:
app_impl.go#L57
string `development` has 4 occurrences, make it a constant (goconst)
|
|
Lint:
app_impl.go#L54
string `1.0.0` has 4 occurrences, make it a constant (goconst)
|
|
Lint:
app_impl.go#L51
string `forge-app` has 3 occurrences, make it a constant (goconst)
|
|
Lint:
app_impl.go#L23
fieldalignment: struct with 632 pointer bytes could be 616 (govet)
|
|
Lint:
app_impl.go#L1
ST1000: at least one file in a package should have a package comment (stylecheck)
|
|
Lint:
app.go#L112
fieldalignment: struct with 152 pointer bytes could be 136 (govet)
|
|
Lint:
app.go#L107
hugeParam: config is heavy (480 bytes); consider passing it by pointer (gocritic)
|
|
Lint:
app.go#L102
hugeParam: config is heavy (480 bytes); consider passing it by pointer (gocritic)
|
|
Lint:
app.go#L42
fieldalignment: struct with 464 pointer bytes could be 448 (govet)
|
|
Lint:
app.go#L1
package-comments: should have a package comment (revive)
|
|
Security Scan
Unable to upload "gosec.sarif" as it is not valid SARIF:
- instance.runs[0].results[156].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[157].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[158].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[159].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[160].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[161].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[162].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[163].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[164].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[165].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[166].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[167].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[168].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[169].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[170].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[171].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[172].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[173].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[174].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[175].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[176].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[177].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[178].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[179].fixes[0].artifactChanges is not of a type(s) array
- instance.runs[0].results[180].fixes[0].artifactChanges is not of a type(s) array
|
|
Security Scan
storage.EnhancedLocalBackend.List calls filepath.Walk, which calls os.Lstat
|
|
Security Scan
config.LoadForgeConfig calls os.Getwd
|
|
Security Scan
storage.EnhancedLocalBackend.List calls filepath.Walk, which eventually calls os.File.Readdirnames
|
|
Security Scan
di.Ctx.ParseMultipartForm calls http.Request.ParseMultipartForm, which eventually calls os.CreateTemp
|
|
Security Scan
storage.LocalBackend.Copy calls os.Create
|
|
Security Scan
middleware.AdaptiveLoadBalance.checkBackendHealth calls http.Client.Get
|
|
Security Scan
sdk.DownloadFromURL calls http.Client.Do
|
|
Security Scan
stores.PostgresEventStore.QueryEvents calls sql.Rows.Scan
|
|
Security Scan
stores.PostgresEventStore.GetSnapshot calls sql.Row.Scan
|
|
Security Scan
plugins.DeployPlugin.deployKubernetes calls exec.LookPath
|
|
CI Summary
Process completed with exit code 1.
|
|
Lint
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0DXn+aAAAAADhy0qE+79RQY3I4YYK6axLUEhYMzFFREdFMDYxNQBFZGdl
|
|
Lint:
extensions/ai/agents/anomaly.go#L130
130-161 lines are duplicate of `extensions/ai/agents/loadbalancer.go:112-143` (dupl)
|
|
Lint:
extension_config.go#L43
cyclomatic complexity 30 of func `(*ExtensionConfigLoader).LoadConfig` is high (> 15) (gocyclo)
|
|
Lint:
cmd/forge/plugins/init.go#L49
cyclomatic complexity 19 of func `(*InitPlugin).initProject` is high (> 15) (gocyclo)
|
|
Lint:
cli/prompt.go#L214
cyclomatic complexity 26 of func `interactiveSelect` is high (> 15) (gocyclo)
|
|
Lint:
cli/prompt.go#L118
cyclomatic complexity 20 of func `numberMultiSelectPrompt` is high (> 15) (gocyclo)
|
|
Lint:
cli/context.go#L204
cyclomatic complexity 16 of func `parseFlagsForCommand` is high (> 15) (gocyclo)
|
|
Lint:
cli/context.go#L23
The line is 161 characters long, which exceeds the maximum of 140 characters. (lll)
|
|
Lint:
app_impl.go#L742
cyclomatic complexity 24 of func `mergeHealthConfig` is high (> 15) (gocyclo)
|
|
Lint:
app_impl.go#L48
cyclomatic complexity 28 of func `newApp` is high (> 15) (gocyclo)
|
|
Lint
Failed to restore: Cache service responded with 400
|
|
Security Scan
This run of the CodeQL Action does not have permission to access the CodeQL Action API endpoints. This could be because the Action is running on a pull request from a fork. If not, please ensure the workflow has at least the 'security-events: read' permission. Details: Resource not accessible by integration - https://docs.github.com/rest
|
|
Security Scan
This run of the CodeQL Action does not have permission to access the CodeQL Action API endpoints. This could be because the Action is running on a pull request from a fork. If not, please ensure the workflow has at least the 'security-events: read' permission. Details: Resource not accessible by integration - https://docs.github.com/rest
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
forge-cli-c3e812c1efa70518ec1c778e9f6bdfe1110da0e4
Expired
|
10.9 MB |
sha256:ea7e6e3703de2a0889ba405dce7b0ffa75edf8a09dc1e954f85620b928549b53
|
|