Skip to content

Comments

Update telemetry requeue timer #1709

Merged
minjieqiu merged 2 commits intodevelopfrom
feature/updatetimer
Feb 20, 2026
Merged

Update telemetry requeue timer #1709
minjieqiu merged 2 commits intodevelopfrom
feature/updatetimer

Conversation

@minjieqiu
Copy link

Description

We found that kubernete controller's re-queue timer is not precise. When the timer is set to one day, the next reconcile happens a few hours longer than a day.

What does this PR have in it?
Reduce the timer to every 6 hours to make it more frequent.

Key Changes

Reduce the timer to every 6 hours to make it more frequent.

Highlight the updates in specific files

Testing and Verification

How did you test these changes? What automated tests are added?

Related Issues

Jira tickets, GitHub issues, Support tickets...

PR Checklist

  • [ ✅ ] Code changes adhere to the project's coding standards.
  • [✅ ] Relevant unit and integration tests are included.
  • [✅ ] Documentation has been updated accordingly.
  • [ ✅ ] All tests pass locally.
  • [✅ ] The PR description follows the project's guidelines.

@coveralls
Copy link
Collaborator

coveralls commented Feb 19, 2026

Pull Request Test Coverage Report for Build 22164823756

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 85.924%

Totals Coverage Status
Change from base Build 22145448988: 0.0%
Covered Lines: 11287
Relevant Lines: 13136

💛 - Coveralls

@minjieqiu minjieqiu changed the title [DRAFT]: Update telemetry requeue timer Update telemetry requeue timer Feb 19, 2026
@minjieqiu minjieqiu marked this pull request as ready for review February 19, 2026 16:25
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 adjusts the telemetry controller’s reconcile requeue interval to run more frequently, aiming to mitigate observed drift when using a 24-hour requeue period.

Changes:

  • Reduced the telemetry requeue interval from 24 hours (86400s) to 6 hours (21600s).
  • Updated the inline comment describing the telemetry send frequency.

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


const (
requeAfterInSeconds = 86400 // Send telemetry once a day
requeAfterInSeconds = 21600 // Send telemetry once every 6 hour
Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

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

The inline comment has a grammar issue: "once every 6 hour" should be "once every 6 hours".

Suggested change
requeAfterInSeconds = 21600 // Send telemetry once every 6 hour
requeAfterInSeconds = 21600 // Send telemetry once every 6 hours

Copilot uses AI. Check for mistakes.

const (
requeAfterInSeconds = 86400 // Send telemetry once a day
requeAfterInSeconds = 21600 // Send telemetry once every 6 hour
Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

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

Constant name appears to have a typo ("requeAfterInSeconds" vs "requeueAfterInSeconds"). Since this is referenced only in this file, consider renaming it to the correctly spelled form to avoid confusion and improve searchability.

Copilot uses AI. Check for mistakes.
@minjieqiu minjieqiu merged commit e3f19b9 into develop Feb 20, 2026
49 of 50 checks passed
@minjieqiu minjieqiu deleted the feature/updatetimer branch February 20, 2026 17:25
@github-actions github-actions bot locked and limited conversation to collaborators Feb 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants