Skip to content

Conversation

@jkuradobery
Copy link
Collaborator

No description provided.

@jkuradobery jkuradobery requested review from Copilot and gy2411 and removed request for Copilot November 7, 2025 14:59
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the Run method in collectListerMetricsTask to improve context cancellation handling by using a select statement instead of a simple for range loop over the ticker channel.

Key changes:

  • Added explicit context cancellation handling via select statement with ctx.Done() case
  • Restructured the ticker loop to allow graceful shutdown when context is cancelled

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2025

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit a792b8d.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
9428 9427 0 0 0 1 0

BarkovBG
BarkovBG previously approved these changes Nov 10, 2025
@github-actions
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit e865351.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
9428 9427 0 0 0 1 0

@SvartMetal SvartMetal added the large-tests Launch large tests for PR label Nov 10, 2025
@BarkovBG BarkovBG merged commit 60a9036 into main Nov 10, 2025
21 of 23 checks passed
@BarkovBG BarkovBG deleted the users/jkuradobery/make-collect-lister-metrics-more-cancellable branch November 10, 2025 19:48
@github-actions
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit e865351.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
10166 10165 0 0 0 1 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

large-tests Launch large tests for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants