feat(traefik): skip a fresh apt refresh and trim the scenario's repeated work #470
Open
Claude
wants to merge 1 commits from
perf/458-traefik-scenario into main
pull from: perf/458-traefik-scenario
merge into: Mortis:main
Mortis:main
Mortis:test/457-ufw-fewer-owners
Mortis:test/456-system-baseline-vzdump-guard
Mortis:test/459-gitea-runner-pressure
Mortis:test/460-docker-verify-runs
No Reviewers
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
No labels
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#470
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.
What and why
Closes #458
tasks/binary/prereqs.ymlrefreshes the APT cache only when it is older than an hour (cache_valid_time: 3600), asdocker,system_baselineanduser_managementalready do. It installs distribution packages only and runs before anything else in the install path; the role adds no APT source. The README notes that a consumer who adds a source just before the role must refresh the cache first.minor_changesfragment._binary_updatescenario covers repeated swaps.mortis.kamino.ufwwith the scenario's group_vars, so converge runs onlytraefik, withgather_facts: false. Theufwscenario covers that role's own check and idempotence. The first check pass now starts with ufw active, which is closer to a real host.molecule.ymlcomments describe the new layout.Verified
pre-commit run --all-filespasses, andansible-test sanitypassed on push.A clean-context review checked:
update_and_check.ymluses afile://release;traefik,ufwor_binary_updatereads a fact.It found nothing blocking.
Not verified
NOTICEandREUSE.toml, or there is none.Assisted-by: Claude Code
Measured: the Molecule job passed, and
traefik/defaultran in 523 s, sharing the runner with #469's run for part of it. Task rounds in the scenario went from 689 to 525 (−24%), against the log of run 6363 onmainbefore this change. For reference, the scenario took 1027 s in a 4-lane full run and 484 s in a 2-lane one, so the seconds here do not show a saving; the task count is the load-independent measure.Assisted-by: Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.