feat(cloudflared): add cloudflared_tunnel_lookup_delay input #441
Open
Claude
wants to merge 1 commits from
feat/cloudflared-lookup-delay into main
pull from: feat/cloudflared-lookup-delay
merge into: Mortis:main
Mortis:main
Mortis:ci/molecule-shared-config
Mortis:ci/molecule-pipelining
Mortis:feat/traefik-release-url
Mortis:feat/apt-cache-valid-time
Mortis:test/tailscale-reuse-debs
Mortis:renovate/git.rkdr.net-mortis-molecule-ubuntu2404-0.x
Mortis:feat/400-skip-upgrade-during-vzdump
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
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Mortis/Kamino#441
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 #424
New role input
cloudflared_tunnel_lookup_delay(int, default 5) sets the seconds between the three retries of a 404 from the tunnel lookup inroles/cloudflared/tasks/configure.yml. The default keeps today's behaviour.tasks/validate.ymlrefuses a negative value (the same| int(-1) >= 0pattern as the docker role), andverify.ymlhas a negative test for it, as roles/AGENTS.md asks for every validation. The Molecule failure cases pass 0, because the stub API answers at once and never changes its answer; the retries still run, so the retry path stays tested without the 5-second waits.Verified
pre-commit run --files <changed files>: all hooks pass, including ansible-lint, yamllint, REUSE and antsibull-changelog-lint;ansible-test sanity(pre-push) passed.ansible-playbook --syntax-checkonroles/cloudflared/molecule/default/verify.yml.validate_argument_specagainst the main entry point's spec and the role'svalidate.yml. Delays 0 and 5 are accepted, -1 is refused by the new assert andabcby the spec.retries: 3still makes every attempt.mainentry point reaches the lookup and it validates first; no failure case depends on elapsed time (the stub's answers don't change over time).Not verified
defaultscenario, including the newlookup-delay-negativecase; it runs in CI only.NOTICEandREUSE.toml, or there is none.Assisted-by: Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.