Skip to content

feat(hawk): production hardening — adopt top-50 OSS patterns #124

feat(hawk): production hardening — adopt top-50 OSS patterns

feat(hawk): production hardening — adopt top-50 OSS patterns #124

Triggered via pull request May 14, 2026 19:29
Status Failure
Total duration 4m 47s
Artifacts 1

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 4 warnings
security
plugin.RegistryClient.FetchIndex calls http.Client.Get
security
engine.URLScraper.Fetch calls http.Client.Do
security
api.Server.Start calls http.Server.Serve, which eventually calls x509.Certificate.Verify
security
api.Server.Start calls http.Server.Serve, which eventually calls x509.Certificate.Verify
security
permissions.BoundaryChecker.CheckNetwork calls net.LookupHost
security
daemon.Server.Start calls net.Listen
security
engine.URLScraper.Fetch calls http.Client.Do, which eventually calls net.Dialer.DialContext
security
health.checkTCPReachable calls net.DialTimeout
security
engine.RenderHTML calls template.Template.Execute
security
engine.RenderHTML calls template.Template.Execute
lint: agents/persona_test.go#L524
Error return value of `os.WriteFile` is not checked (errcheck)
lint: agents/persona_test.go#L523
Error return value of `os.WriteFile` is not checked (errcheck)
lint: agents/agents_test.go#L105
Error return value of `os.WriteFile` is not checked (errcheck)
lint: agents/agents_test.go#L104
Error return value of `os.MkdirAll` is not checked (errcheck)
lint: agents/agents_test.go#L100
Error return value of `os.Setenv` is not checked (errcheck)
lint: agents/agents_test.go#L99
Error return value of `os.Setenv` is not checked (errcheck)
lint: agents/agents_test.go#L95
Error return value of `os.WriteFile` is not checked (errcheck)
lint: agents/agents_test.go#L94
Error return value of `os.WriteFile` is not checked (errcheck)
lint: agents/agents_test.go#L93
Error return value of `os.WriteFile` is not checked (errcheck)
lint: agents/agents_test.go#L78
Error return value of `os.WriteFile` is not checked (errcheck)
test
Process completed with exit code 1.
security
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5, golangci/golangci-lint-action@v7. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
benchmark
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
benchmarks
2.69 KB
sha256:ce3a8330623abc5dd88bc6c61c23211a60d6a0bc40df0e3cd0337c1ca508f469