Skip to content

test(tracking): isolate config tests from user home #36

test(tracking): isolate config tests from user home

test(tracking): isolate config tests from user home #36

Triggered via push January 4, 2026 03:00
Status Failure
Total duration 1m 50s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test: internal/secrets/store_test.go#L43
shadow: declaration of "err" shadows declaration at line 36 (govet)
test: internal/secrets/store_test.go#L40
shadow: declaration of "err" shadows declaration at line 36 (govet)
test: internal/config/config_test.go#L57
shadow: declaration of "err" shadows declaration at line 46 (govet)
test: internal/config/config_test.go#L50
shadow: declaration of "err" shadows declaration at line 46 (govet)
test: internal/cmd/gmail_send.go#L125
shadow: declaration of "err" shadows declaration at line 36 (govet)
test: internal/tracking/config.go#L33
G304: Potential file inclusion via variable (gosec)
test: internal/cmd/gmail_track_opens.go#L46
G107: Potential HTTP request made with variable url (gosec)
test: internal/cmd/gmail_send.go#L146
assignOp: replace `htmlBody = htmlBody + pixelHTML` with `htmlBody += pixelHTML` (gocritic)
test: internal/tracking/pixel.go#L13
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"tracking not configured\")" (err113)
test: internal/tracking/crypto.go#L76
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"ciphertext too short\")" (err113)