Skip to content

chore(ci): bump golangci-lint-action to v7 for golangci-lint v2 support

e60c1eb
Select commit
Loading
Failed to load commit list.
Merged

nextcompile: build-time compiler + runtime + CLI explain + roadmap #15

chore(ci): bump golangci-lint-action to v7 for golangci-lint v2 support
e60c1eb
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 19, 2026 in 41s

Quality Gate failed

Failed conditions
5 Security Hotspots
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 56 in cli/cmd/creds.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "🔒 CREDS" 3 times.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3999IF1tYctoxu2s&open=AZ2i3999IF1tYctoxu2s&pullRequest=15

Check failure on line 179 in internal/packaging/serverless_packager.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "public, max-age=0, must-revalidate" 3 times.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-DkIF1tYctoxu3i&open=AZ2i3-DkIF1tYctoxu3i&pullRequest=15

Check failure on line 54 in scripts/bench-startup.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-DXIF1tYctoxu3f&open=AZ2i3-DXIF1tYctoxu3f&pullRequest=15

Check warning on line 30 in internal/packaging/runtime/bridge.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected class with only a constructor.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-DrIF1tYctoxu3j&open=AZ2i3-DrIF1tYctoxu3j&pullRequest=15

Check failure on line 27 in build-lambdas.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-C6IF1tYctoxu3T&open=AZ2i3-C6IF1tYctoxu3T&pullRequest=15

Check failure on line 103 in scripts/bench-startup.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-DXIF1tYctoxu3g&open=AZ2i3-DXIF1tYctoxu3g&pullRequest=15

Check warning on line 203 in cli/internal/serverless/aws_cloudfront.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 16 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3969IF1tYctoxu2W&open=AZ2i3969IF1tYctoxu2W&pullRequest=15

Check warning on line 527 in magefile.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure this permission is safe.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-EAIF1tYctoxu3u&open=AZ2i3-EAIF1tYctoxu3u&pullRequest=15

Check warning on line 97 in shared/secrets/secretmanager.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-BvIF1tYctoxu3O&open=AZ2i3-BvIF1tYctoxu3O&pullRequest=15

Check warning on line 9 in tools/tools.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a comment explaining why this blank import is needed.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-DQIF1tYctoxu3X&open=AZ2i3-DQIF1tYctoxu3X&pullRequest=15

Check failure on line 15 in shared/nextcompile/compiler_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 49 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-AAIF1tYctoxu23&open=AZ2i3-AAIF1tYctoxu23&pullRequest=15

Check failure on line 394 in magefile.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "-covermode=atomic" 3 times.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-EAIF1tYctoxu3r&open=AZ2i3-EAIF1tYctoxu3r&pullRequest=15

Check warning on line 198 in cli/internal/serverless/templates/worker_shim.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This branch's code block is the same as the block for the branch on line 194.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i397aIF1tYctoxu2c&open=AZ2i397aIF1tYctoxu2c&pullRequest=15

Check warning on line 301 in shared/nextcompile/runtime_src/dispatcher.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Compare with `undefined` directly instead of using `typeof`.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-AeIF1tYctoxu3A&open=AZ2i3-AeIF1tYctoxu3A&pullRequest=15

Check failure on line 768 in cli/internal/serverless/aws_cloudfront.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3969IF1tYctoxu2X&open=AZ2i3969IF1tYctoxu2X&pullRequest=15

Check failure on line 77 in cmd/imgopt/main.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-DCIF1tYctoxu3V&open=AZ2i3-DCIF1tYctoxu3V&pullRequest=15

Check failure on line 28 in shared/nextcompile/compiler.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-BYIF1tYctoxu3N&open=AZ2i3-BYIF1tYctoxu3N&pullRequest=15

Check warning on line 8 in tools/tools.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a comment explaining why this blank import is needed.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-DQIF1tYctoxu3Z&open=AZ2i3-DQIF1tYctoxu3Z&pullRequest=15

Check failure on line 16 in cli/cmd/status_explain.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "cli/cmd/status.go" 3 times.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i39-FIF1tYctoxu2t&open=AZ2i39-FIF1tYctoxu2t&pullRequest=15

Check warning on line 40 in scripts/bench-startup.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add an explicit return statement at the end of the function.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-DXIF1tYctoxu3d&open=AZ2i3-DXIF1tYctoxu3d&pullRequest=15

Check warning on line 31 in scripts/bench-startup.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add an explicit return statement at the end of the function.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-DXIF1tYctoxu3c&open=AZ2i3-DXIF1tYctoxu3c&pullRequest=15

Check warning on line 137 in cli/internal/serverless/cloudflare_bindings.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i397iIF1tYctoxu2d&open=AZ2i397iIF1tYctoxu2d&pullRequest=15

Check warning on line 5 in internal/packaging/serverless_packager.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a comment explaining why this blank import is needed.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-DkIF1tYctoxu3h&open=AZ2i3-DkIF1tYctoxu3h&pullRequest=15

Check failure on line 53 in scripts/bench-startup.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i3-DXIF1tYctoxu3e&open=AZ2i3-DXIF1tYctoxu3e&pullRequest=15

Check failure on line 62 in cli/internal/serverless/cloudflare_plan.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=Golangcodes_nextdeploy&issues=AZ2i398DIF1tYctoxu2h&open=AZ2i398DIF1tYctoxu2h&pullRequest=15