Skip to content

Onion messaging support #3

Onion messaging support

Onion messaging support #3

Re-run triggered October 23, 2025 14:33
Status Failure
Total duration 1m 44s
Artifacts

main.yml

on: pull_request
Matrix: Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: sphinx.go#L241
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
Lint: sphinx_test.go#L294
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unable to create onion \"+\n\t\"packet: %v\", err)" (err113)
Lint: sphinx_test.go#L239
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"error generating second \"+\n\t\"blinded path: %v\", err)" (err113)
Lint: sphinx_test.go#L220
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unable to \"+\n\t\"generate random path ID: %v\", err)" (err113)
Lint: sphinx_test.go#L207
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"error generating first \"+\n\t\"blinded path: %v\", err)" (err113)
Lint: sphinx_test.go#L164
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unable to generate \"+\n\t\"random key for sphinx node: %v\", err)" (err113)
Lint: sphinx_test.go#L155
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"at least 2 hops are \" +\n\t\"required to create an onion message route\")" (err113)
Lint: sphinx.go#L444
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"onion packet is too small, missing HMAC\")" (err113)
Lint: sphinx.go#L240
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"error generating shared secret: %v\",\n\terr)" (err113)
Lint: sphinx_test.go#L151
calculated cyclomatic complexity for function newOnionMessageRoute is 15, max is 10 (cyclop)