autopilot: update AttachmentHeuristics with context

Continue threading context through the autopilot system and remove the
remaining context.TODOs.
This commit is contained in:
Elle Mouton committed 2025-05-22 14:14:38 +02:00
1 parent 1c6c6436af
commit 3f218dfbbe
12 files changed
+41 -37

No files matched your search

+1 -1
View File
@@ -236,7 +236,7 @@ func (s *Server) QueryScores(ctx context.Context, in *QueryScoresRequest) (
// Query the heuristics.
heuristicScores, err := s.manager.QueryHeuristics(
nodes, !in.IgnoreLocalState,
ctx, nodes, !in.IgnoreLocalState,
)
if err != nil {
return nil, err