Set an explicit one-hour fact cache timeout - #97
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 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 |
|
Thanks for opening this PR. Assigned to @sameeralam3127. Labels added: |
|
Thanks, @ra5alghu1 — this hits all three acceptance criteria on #25, and I appreciate that you went back and fixed I checked the claims rather than taking them on trust:
One thing I'd like before merging. CONTRIBUTING asks for a test with every behaviour change, and four docs now quote the one-hour value, so I'd like it pinned: a small test that asserts Two minor notes, neither blocking:
CI needs my approval to run on a first PR; I'll kick that off now. |
Resolves the CHANGELOG.md conflict created by sameeralam3127#95 and sameeralam3127#96 landing in the same [Unreleased] -> Changed block. Keeps all three entries. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
Heads-up, @ra5alghu1: I pushed one commit to your branch rather than asking you to rebase. #95 and #96 landed first and all three PRs added an entry to the same Verified on the merged result before pushing: I've approved the re-run and this goes in once it's green. On the test I asked for — I'm merging without it and filing a follow-up instead, since the config change itself is sound and I'd rather not hold the fix. Thanks for a careful change; going back to fix |
|
Thanks for sorting out the merge conflict and re-running the checks.
Good catch on the docs drift too. I’ll leave the extra test for the
follow-up then.
Сб, 26 сент. 2026 г. в 20:50, SAMEER ALAM ***@***.***>:
… Merged #97 <#97> into
main.
—
Reply to this email directly, view it on GitHub
<#97?email_source=notifications&email_token=AT6SPDJO54MMXPMLKMWXUQL5Q7QU5A5CNFSNUABQM5UWIORPF5TWS5BNNB2WEL2JONZXKZKFOZSW45CON52GSZTJMNQXI2LPNYXTGMJYHE3DSMBRGIZTLJTSMVQXG33OU5WWK3TUNFXW5JLFOZSW45FMMZXW65DFOJPWG3DJMNVQ#event-31896901235>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AT6SPDLO7S7WXL7MHENSRAL5Q7QU5AVCNFSNUABGKJSXA33TNF2G64TZHMYTCNJSGM2DKMZWGQ5US43TOVSTWNJVHEZDIOBTHAYTBILWAI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The checkout uses a persistent fact cache without an explicit timeout, so Ansible defaults to 24 hours. This sets it to one hour, as suggested in #25.
I kept caching enabled and added instructions for a fresh scan with
--flush-cache. I also updated the existing cache notes so the docs agree. Discovery still refreshes its health-related facts on every scan. The setting applies to the source checkout; Galaxy users keep their own configuration.All 212 tests pass, along with pre-commit, ansible-lint, and the playbook syntax check. No managed-host scan or Docker scenario was run for this configuration and documentation change.