Skip to content

refactor: add tests for proxy package #198

refactor: add tests for proxy package

refactor: add tests for proxy package #198

Triggered via pull request September 17, 2025 20:37
Status Failure
Total duration 43s
Artifacts

ci.yml

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

Annotations

36 errors and 2 warnings
Test (macos-latest)
Process completed with exit code 2.
Test (macos-latest)
Cannot open: File exists
Test (macos-latest)
Cannot open: File exists
Test (macos-latest)
Cannot open: File exists
Test (macos-latest)
Cannot open: File exists
Test (macos-latest)
Cannot open: File exists
Test (macos-latest)
Cannot open: File exists
Test (macos-latest)
Cannot open: File exists
Test (macos-latest)
Cannot open: File exists
Test (macos-latest)
Cannot open: File exists
Test (macos-latest)
Cannot open: File exists
Test (ubuntu-latest)
Process completed with exit code 2.
Test (ubuntu-latest)
Cannot open: File exists
Test (ubuntu-latest)
Cannot open: File exists
Test (ubuntu-latest)
Cannot open: File exists
Test (ubuntu-latest)
Cannot open: File exists
Test (ubuntu-latest)
Cannot open: File exists
Test (ubuntu-latest)
Cannot open: File exists
Test (ubuntu-latest)
Cannot open: File exists
Test (ubuntu-latest)
Cannot open: File exists
Test (ubuntu-latest)
Cannot open: File exists
Test (ubuntu-latest)
Cannot open: File exists
Lint
Process completed with exit code 2.
Lint: proxy/proxy_test.go#L134
ineffectual assignment to tlsConfig (ineffassign)
Lint: proxy/proxy_test.go#L208
Error return value of `resp.Body.Close` is not checked (errcheck)
Lint: proxy/proxy_test.go#L102
Error return value of `resp.Body.Close` is not checked (errcheck)
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Test (macos-latest)
Failed to restore: "/opt/homebrew/bin/gtar" failed with error: The process '/opt/homebrew/bin/gtar' failed with exit code 2
Test (ubuntu-latest)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2