Conversation
|
Warning Review limit reachedNext included review available in 35 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Follow-up hardening is in
Local validation: ruff passed, all 5 focused unit cases passed, the 39 Foreman feature tests collect successfully, Python compilation passed, and |
|
Exact-head CI is green on Actions run 36270656288 passed all 25 jobs, including Python and Ansible lint, the full deployed-VM matrix, proxy/capsule/satellite deployments, migration, upgrade, and the aggregate test-suite gate. Both Packit RPM builds also passed. |
Why are you introducing these changes? (Problem description, related links)
The hourly recurring timer can fire while the feature suite is reaching its timer tests. In that state systemd temporarily omits
NextElapseUSecRealtime, andsystemctl startis coalesced with the already-running service. The tests then fail even though the timer-triggered service started and completed successfully.This reproduced in two independent matrix jobs:
Fixes #887
What are the changes introduced in this pull request?
InvocationIDchecks when the service is idle.How to test this pull request
ruff check tests src development/scripts inventoriespython -m pytest tests/unit/recurring_timer_test.py -vv(5 passed)python -m pytest tests/feature/foreman/base_test.py --collect-only -q(39 tests collected)python -m py_compile tests/feature/foreman/base_test.py tests/unit/recurring_timer_test.pygit diff --checkThe live timer behavior requires the existing deployed-VM CI matrix.
Checklist