Skip to content

server: fix a Serve() vs. (immediate) Shutdown() race #444

server: fix a Serve() vs. (immediate) Shutdown() race

server: fix a Serve() vs. (immediate) Shutdown() race #444

Triggered via pull request September 13, 2024 13:10
Status Failure
Total duration 2m 48s
Artifacts

ci.yml

on: pull_request
Project Checks
21s
Project Checks
Run Protobuild
30s
Run Protobuild
Matrix: build
Matrix: Linters
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
Linters (macos-latest): src/github.com/containerd/ttrpc/server.go#L200
func `(*Server).addListener` is unused (unused)
Linters (macos-latest): src/github.com/containerd/ttrpc/server_test.go#L326
S1005: unnecessary assignment to the blank identifier (gosimple)
Linters (macos-latest)
issues found
Linters (macos-latest)
func `(*Server).addListener` is unused (unused)
Linters (macos-latest)
S1005: unnecessary assignment to the blank identifier (gosimple)
Linters (macos-latest)
Process completed with exit code 1.
Linters (ubuntu-latest)
The job was canceled because "macos-latest" failed.
Linters (ubuntu-latest)
The operation was canceled.
Linters (windows-latest)
The job was canceled because "macos-latest" failed.
Linters (windows-latest)
The operation was canceled.
Project Checks
Restore cache failed: Dependencies file is not found in /home/runner/work/ttrpc/ttrpc. Supported file pattern: go.sum
Linters (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/ttrpc/ttrpc. Supported file pattern: go.sum
Run Protobuild
Restore cache failed: Dependencies file is not found in /home/runner/work/ttrpc/ttrpc. Supported file pattern: go.sum
Linters (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/ttrpc/ttrpc. Supported file pattern: go.sum
Linters (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\ttrpc\ttrpc. Supported file pattern: go.sum
macos-latest / 1.19.x
Restore cache failed: Dependencies file is not found in /Users/runner/work/ttrpc/ttrpc. Supported file pattern: go.sum
macos-latest / 1.20.x
Restore cache failed: Dependencies file is not found in /Users/runner/work/ttrpc/ttrpc. Supported file pattern: go.sum
ubuntu-latest / 1.19.x
Restore cache failed: Dependencies file is not found in /home/runner/work/ttrpc/ttrpc. Supported file pattern: go.sum
ubuntu-latest / 1.20.x
Restore cache failed: Dependencies file is not found in /home/runner/work/ttrpc/ttrpc. Supported file pattern: go.sum
windows-latest / 1.19.x
Restore cache failed: Dependencies file is not found in D:\a\ttrpc\ttrpc. Supported file pattern: go.sum
windows-latest / 1.20.x
Restore cache failed: Dependencies file is not found in D:\a\ttrpc\ttrpc. Supported file pattern: go.sum