Add support for continual gathering #3145
Annotations
10 errors and 1 warning
          | 
                      
                          golangci-lint: 
                        gather_test.go#L918
                      
                       calculated cyclomatic complexity for function TestContinualGatheringPolicy is 12, max is 10 (cyclop) | 
| 
                      
                          golangci-lint: 
                        examples/continual-gathering/main.go#L21
                      
                       calculated cyclomatic complexity for function main is 17, max is 10 (cyclop) | 
| 
                      
                          golangci-lint: 
                        gather_test.go#L1000
                      
                       Function `GatherCandidates` should pass the context parameter (contextcheck) | 
| 
                      
                          golangci-lint: 
                        gather_test.go#L979
                      
                       Function `NewAgentWithOptions->newAgentWithConfig->New->runLoop` should pass the context parameter (contextcheck) | 
| 
                      
                          golangci-lint: 
                        gather_test.go#L972
                      
                       Function `GetGatheringState` should pass the context parameter (contextcheck) | 
| 
                      
                          golangci-lint: 
                        gather_test.go#L961
                      
                       Function `GetGatheringState` should pass the context parameter (contextcheck) | 
| 
                      
                          golangci-lint: 
                        gather_test.go#L947
                      
                       Function `GatherCandidates` should pass the context parameter (contextcheck) | 
| 
                      
                          golangci-lint: 
                        gather_test.go#L927
                      
                       Function `NewAgent->newAgentWithConfig->New->runLoop` should pass the context parameter (contextcheck) | 
| 
                      
                          golangci-lint: 
                        examples/continual-gathering/main.go#L118
                      
                       Function `GetLocalCandidates` should pass the context parameter (contextcheck) | 
| 
                      
                          golangci-lint: 
                        examples/continual-gathering/main.go#L112
                      
                       Function `GetGatheringState` should pass the context parameter (contextcheck) | 
| 
                      
                          Install Go
                        
                      
                       Restore cache failed: Dependencies file is not found in /home/runner/work/ice/ice. Supported file pattern: go.sum | 
        
      Loading