Skip to content

Conversation

@diafour
Copy link
Member

@diafour diafour commented Nov 6, 2025

Description

  • Make cron source independent of the garbage collection manager.

Why do we need it, and what problem does it solve?

Cron source may be used for other purposes than garbage collection.

What is the expected result?

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: core
type: chore
summary: Refactor cron source to be more universal.

@diafour diafour added this to the v1.2.0 milestone Nov 6, 2025
@diafour diafour requested a review from loktev-d November 6, 2025 07:50
loktev-d
loktev-d previously approved these changes Nov 6, 2025
@diafour diafour force-pushed the chore/core/refactor-cron-source-to-be-more-universal branch from d163e43 to 202a803 Compare November 10, 2025 09:06
- Make cron source independent of the garbage collection manager.

Signed-off-by: Ivan Mikheykin <[email protected]>
@diafour diafour force-pushed the chore/core/refactor-cron-source-to-be-more-universal branch from 202a803 to 520895f Compare November 10, 2025 11:26
@diafour diafour requested a review from loktev-d November 10, 2025 13:46
clock: &clock.RealClock{},
schedule: schedule,
objLister: objLister,
log: log.With("WatchSource", sourceName),
Copy link
Contributor

Choose a reason for hiding this comment

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

camelCase: log.With("watchSource", ...

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

Signed-off-by: Ivan Mikheykin <[email protected]>
@diafour diafour merged commit 2749093 into main Nov 11, 2025
26 of 27 checks passed
@diafour diafour deleted the chore/core/refactor-cron-source-to-be-more-universal branch November 11, 2025 11:39
danilrwx pushed a commit that referenced this pull request Nov 11, 2025
* chore(core): refactor cron source

- Make cron source independent of the garbage collection manager.

Signed-off-by: Ivan Mikheykin <[email protected]>
danilrwx pushed a commit that referenced this pull request Nov 11, 2025
* chore(core): refactor cron source

- Make cron source independent of the garbage collection manager.

Signed-off-by: Ivan Mikheykin <[email protected]>
danilrwx pushed a commit that referenced this pull request Nov 11, 2025
* chore(core): refactor cron source

- Make cron source independent of the garbage collection manager.

Signed-off-by: Ivan Mikheykin <[email protected]>

Signed-off-by: Daniil Antoshin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants