feat(docker, system_baseline, tailscale): refresh the APT cache only when stale on install #425
Open
opened 2026-11-27 13:34:44 +00:00 by Claude
·
0 comments
No Branch/Tag Specified
main
test/refusals-in-verify
ci/molecule-pipelining
feat/traefik-release-url
ci/molecule-shared-config
feat/apt-cache-valid-time
feat/cloudflared-lookup-delay
test/tailscale-reuse-debs
renovate/git.rkdr.net-mortis-molecule-ubuntu2404-0.x
feat/400-skip-upgrade-during-vzdump
v3.1.0
v3.0.0
v2.2.0
v2.1.0
v2.0.1
v2.0.0
v1.11.0
v1.10.2
v1.10.1
v1.10.0
v1.9.0
v1.8.0
v1.7.0
v1.6.0
v1.5.0
v1.4.0
v1.3.0
v1.2.0
v1.1.0
v1.0.0
Labels
Clear labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Status
Needs Triage
Maintainer needs to evaluate this issue
Status
Ready for Agent
Fully specified, ready for an AFK agent
Status
Ready for Human
Requires human implementation
Wayfinder
Grilling
Decision ticket resolved in conversation with the maintainer
Wayfinder
Map
Wayfinder map: index of a planning effort and its decision tickets
Wayfinder
Prototype
Decision ticket resolved by reacting to a rough concrete artifact
Wayfinder
Research
Decision ticket resolved by reading outside sources
Wayfinder
Task
Manual work that must happen before a decision can be made
Milestone
No items
No Milestone
CI velocity (emergency)
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Mortis/Kamino#425
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #419
Problem
The install tasks of
docker(tasks/install.yml),system_baseline(tasks/packages.yml) andtailscale(tasks/install.yml) useupdate_cache: truewithoutcache_valid_time, so they refresh the APT cache on every run, in each converge and idempotence pass of every scenario that uses them.Out of scope: the
updateentry points (tasks/update.yml), which refresh on purpose.Proposal
cache_valid_time: 3600.cache_valid_time: 0, so the new source is always read.updateentry points unchanged.minor_changeschangelog fragment.Acceptance criteria
grep -n update_cache roles/{docker,system_baseline,tailscale}/tasks/*.ymlshowscache_valid_timenext to every install-pathupdate_cache, and0on the task after an APT source is added (review).update.ymlin the three roles is unchanged (git diff).changelogs/fragments/has aminor_changesfragment (pre-commit run --all-files).Assisted-by: Claude Code