René's URL Explorer Experiment


Title: Apply one Domain on its proxy server with cloudfall domains apply (#117) by shipmill-romamo[bot] · Pull Request #137 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: Apply one Domain on its proxy server with cloudfall domains apply (#117) by shipmill-romamo[bot] · Pull Request #137 · cloudfall-dev/cloudfall

X Title: Apply one Domain on its proxy server with cloudfall domains apply (#117) by shipmill-romamo[bot] · Pull Request #137 · cloudfall-dev/cloudfall

Description: Summary Implements the domains apply part of S-004 (docs/specs/004-domains-apply.md): criteria S-004-1, 3, 5, 6, 7, 8, 9 and 10. domains observe and the MCP tools (S-004-4, 14, 15, 16) stay with #118, so the spec is not marked built. New domains group with cloudfall domains apply [--issue-certificate] [--deployments DIR] [--yes], modeled on deploy: the project is validated first (CONFIG_INVALID), an unknown id exits PRECONDITION (lifecycle_domain_missing), and both refusals come before the inventory render With --yes it runs domains.yml with --limit and cloudfall_domains_domain_id, the one-Domain run #116 added, and answers status: "ok", action: "domains-apply", domain, servers, receipt and effect: "updated". A run that writes no receipt is refused (lifecycle_receipt_missing), as deploy does. Without --yes it answers the plan (status: "plan", would_run, instruction, effect: "would_update") after running every controller-side check, the DNS check included --issue-certificate refuses tls.mode: disabled (PRECONDITION, domains_tls_disabled) before anything else. On a dns-only Domain it then requires the primary name and every alias to resolve to at least one address of the proxy server (PRECONDITION, domains_dns_unverified, naming each failing name and what it resolved to), then passes cloudfall_domains_issue_certificates: true. A proxied Domain skips the check (dns_check: "skipped-proxied"); a checked one answers "verified"; without the flag dns_check is null The resolver is a NameResolver protocol passed into preview_domain_apply / apply_domain (SystemNameResolver on the CLI, getaddrinfo), so tests answer DNS offline without monkeypatching. lifecycle.proxy_addresses computes the proxy address set the way migrate's dns-verify does (server address or what its hostname resolves to, plus network.ipv4); migrate itself is unchanged and keeps its own code Catalog: domains apply is a servers command gated by --yes; output keys domain and dnsCheck are added (additive). sdk/README.md names the command Fixes #117 Test plan sdk/tests/test_domains_apply.py: S-004-1: apply_domain runs the real domains.yml under ansible-playbook against the rendered inventory of the examples (servers h1, h2; crm-site proxied on h2), every host on a local connection and cloudfall_nginx_site swapped through ANSIBLE_ROLES_PATH for a recorder. The play recap lists only h2, every task that ran belongs to domains.yml or the stub, the stub saw cloudfall_nginx_site_issue_certificate as asked, and the receipt is written. A static check holds domains.yml to the one include_role of cloudfall_nginx_site, with no roles/import_playbook, and the role to no dependencies or nested role includes S-004-3, 5, 7, 8 through cloudfall.cli.main: plan output, CONFIG_INVALID with and without --yes, proxied --issue-certificate plan, domains_tls_disabled with and without --yes; none renders the inventory or writes a receipt. An unknown id exits lifecycle_domain_missing too S-004-6, 7, 8, 9 at the lifecycle level with a stand-in resolver and a recording runner: an alias elsewhere and a name resolving to nothing are refused naming them (plan and --yes), with no step run; proxied asks no resolver; TLS disabled is refused before DNS; the certificate run passes --limit h2 and the extra vars and answers dnsCheck: "verified" and the receipt engine/tests/test_domains_certificate.py: Templar replays of the role's when conditions (issuance runs on a fresh Domain and is skipped once fullchain.pem exists; certbot.timer is enabled either way), and the role's receipt tasks run for real twice on localhost: the second receipt's configurationSha256 equals its previousConfigurationSha256 (S-004-10) sdk/tests/test_commands.py: domains apply joins the --yes-gated set sdk/tests/test_migrate.py: pins migrate's dns-verify addresses as on main: an unresolvable server hostname (.invalid) adds no address and raises nothing, and a scoped link-local address (fe80::1%eth0) is kept as written Ran locally: uv run ruff check ., uv run mypy, uv run cloudfall config validate --project config/examples, and the tests of the touched and neighbouring files (test_domains_apply, test_commands, test_migrate, test_domains_converge, test_lifecycle, test_project, test_app, test_agent_server, test_catalog, test_arguments, test_domains_certificate, test_domains_one_domain: 153 passed). No Ansible file changed, so ansible-lint was not needed. The full suite is left to CI Not run live: a real Let's Encrypt issuance, fullchain.pem present and certbot.timer active on a Debian host (S-004-9), and the second run's actual skip of Issue the declared certificate against a real certificate (S-004-10); the real SystemNameResolver against public DNS Plan Serves: quality bar Files: sdk/src/cloudfall/lifecycle.py, sdk/src/cloudfall/app.py, sdk/src/cloudfall/commands.py, sdk/README.md, changelog.d/117-domains-apply.md, tests Order: resolver protocol and proxy addresses, preview and apply in lifecycle, domains apply command and catalog entry, tests per criterion (see the spec's Behaviour) Proof: S-004-1, S-004-3, S-004-5, S-004-6, S-004-7, S-004-8, S-004-9, S-004-10 (specs.py coverage --spec 004; S-004-4, 14, 15, 16 stay with #118) 🤖 Generated with Claude Code

Open Graph Description: Summary Implements the domains apply part of S-004 (docs/specs/004-domains-apply.md): criteria S-004-1, 3, 5, 6, 7, 8, 9 and 10. domains observe and the MCP tools (S-004-4, 14, 15, 16) stay with #1...

X Description: Summary Implements the domains apply part of S-004 (docs/specs/004-domains-apply.md): criteria S-004-1, 3, 5, 6, 7, 8, 9 and 10. domains observe and the MCP tools (S-004-4, 14, 15, 16) stay with #1...

Opengraph URL: https://github.com/cloudfall-dev/cloudfall/pull/137

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:cada803a-0c38-9b5e-ec4c-49b32a871345
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id828C:1F67:522160:71E4E4:6B0557A6
html-safe-noncef837d665d9700c82e65ef6adf6cb2964d57b31c21cd16b089b50b39cf3449101
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjhDOjFGNjc6NTIyMTYwOjcxRTRFNDo2QjA1NTdBNiIsInZpc2l0b3JfaWQiOiI1MzgzMjM2NjU5Njk1NjcxMjA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac44abd2a9941b7df5176f7ad4e4a62a127990eab95740c704a9d98849737b7953
hovercard-subject-tagpull_request:5031787103
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cloudfall-dev/cloudfall/pull/137/files
twitter:imagehttps://avatars.githubusercontent.com/u/5600783?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5600783?s=400&v=4
og:image:altSummary Implements the domains apply part of S-004 (docs/specs/004-domains-apply.md): criteria S-004-1, 3, 5, 6, 7, 8, 9 and 10. domains observe and the MCP tools (S-004-4, 14, 15, 16) stay with #1...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonea79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git
octolytics-dimension-user_id339512759
octolytics-dimension-user_logincloudfall-dev
octolytics-dimension-repository_id1360999777
octolytics-dimension-repository_nwocloudfall-dev/cloudfall
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1360999777
octolytics-dimension-repository_network_root_nwocloudfall-dev/cloudfall
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release10dff83edfd4f3617a7792a152d44991587b434c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cloudfall-dev/cloudfall/pull/137/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F137%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F137%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=cloudfall-dev%2Fcloudfall
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/137/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/137/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/137/files
cloudfall-devhttps://github.com/cloudfall-dev
cloudfallhttps://github.com/cloudfall-dev/cloudfall
Codehttps://github.com/cloudfall-dev/cloudfall
Issues78 (78)https://github.com/cloudfall-dev/cloudfall/issues
Pull requests10 (10)https://github.com/cloudfall-dev/cloudfall/pulls
Discussionshttps://github.com/cloudfall-dev/cloudfall/discussions
Actionshttps://github.com/cloudfall-dev/cloudfall/actions
Security and qualityhttps://github.com/cloudfall-dev/cloudfall/security
Insightshttps://github.com/cloudfall-dev/cloudfall/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fcloudfall-dev%2Fcloudfall%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcloudfall-dev%2Fcloudfall%2Fissues%2Fnew%2Fchoose
shipmill-romamohttps://github.com/apps/shipmill-romamo
mainhttps://github.com/cloudfall-dev/cloudfall/tree/main
feat/117-domains-applyhttps://github.com/cloudfall-dev/cloudfall/tree/feat/117-domains-apply
Conversation 1 https://github.com/cloudfall-dev/cloudfall/pull/137
Commits 3 https://github.com/cloudfall-dev/cloudfall/pull/137/commits
Checks 1 https://github.com/cloudfall-dev/cloudfall/pull/137/checks
Files changed 9 https://github.com/cloudfall-dev/cloudfall/pull/137/files
Apply one Domain on its proxy server with cloudfall domains apply (#117) https://github.com/cloudfall-dev/cloudfall/pull/137/files#top
Show all changes 3 commits https://github.com/cloudfall-dev/cloudfall/pull/137/files
77276ff Apply one Domain on its proxy server with cloudfall domains apply shipmill-romamo[bot] Oct 27, 2026 https://github.com/cloudfall-dev/cloudfall/pull/137/commits/77276ff9b5a5bec11a4a2da0774bd827b3a65625
1447896 Keep migrate's dns-verify exactly as before domains apply shipmill-romamo[bot] Oct 27, 2026 https://github.com/cloudfall-dev/cloudfall/pull/137/commits/144789606de4bf82e4b4a6f2dbe9c815a408c1f4
51c8193 Compare a non-canonical IPv6 proxy address canonically in domains apply shipmill-romamo[bot] Oct 27, 2026 https://github.com/cloudfall-dev/cloudfall/pull/137/commits/51c819313d686e0062cc3149e7b276b7505dc0a9
Clear filters https://github.com/cloudfall-dev/cloudfall/pull/137/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/137/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/137/files
117-domains-apply.md https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-3a6bf6fb94ae76cfe8c6657b2008e027486fdfe2e267cc3408e7ad720ba8806c
test_domains_certificate.py https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-0b2c13787842311c11caa95bc5a16d3829c6e1144ecdef5bb34bb8b5e6a32118
README.md https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-00ba42324c784ebcf27766700a3924a25e593009a52d5431331d42bef9edd2e9
app.py https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
commands.py https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-e11cc5881f876e11cf81d9bcb39f0fb74710976f27a01a99fb979dfc76c09cc1
lifecycle.py https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-6593e43e7c2a82c570ff2144303fbc6af72efaf8ff8a4075fcc8733b8d86b4d8
test_commands.py https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-117fa14131dd2e31ba099fedd7ccdfb92938b973295d83cda2d8b679a31bdb80
test_domains_apply.py https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-0f628f9664625fe8d5cd478890c2f8723b6715416ba10551d50af3881b7ecb33
test_migrate.py https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-ff876c4e372bb9c3d7f26a8a0dfc87bf9890113abfe0cf9398e8c32b84d55c8b
changelog.d/117-domains-apply.mdhttps://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-3a6bf6fb94ae76cfe8c6657b2008e027486fdfe2e267cc3408e7ad720ba8806c
View file https://github.com/cloudfall-dev/cloudfall/blob/51c819313d686e0062cc3149e7b276b7505dc0a9/changelog.d/117-domains-apply.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/137/{{ revealButtonHref }}
engine/tests/test_domains_certificate.pyhttps://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-0b2c13787842311c11caa95bc5a16d3829c6e1144ecdef5bb34bb8b5e6a32118
View file https://github.com/cloudfall-dev/cloudfall/blob/51c819313d686e0062cc3149e7b276b7505dc0a9/engine/tests/test_domains_certificate.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/137/{{ revealButtonHref }}
sdk/README.mdhttps://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-00ba42324c784ebcf27766700a3924a25e593009a52d5431331d42bef9edd2e9
View file https://github.com/cloudfall-dev/cloudfall/blob/51c819313d686e0062cc3149e7b276b7505dc0a9/sdk/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/137/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-00ba42324c784ebcf27766700a3924a25e593009a52d5431331d42bef9edd2e9
https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-00ba42324c784ebcf27766700a3924a25e593009a52d5431331d42bef9edd2e9
sdk/src/cloudfall/app.pyhttps://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
View file https://github.com/cloudfall-dev/cloudfall/blob/51c819313d686e0062cc3149e7b276b7505dc0a9/sdk/src/cloudfall/app.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/137/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
sdk/src/cloudfall/commands.pyhttps://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-e11cc5881f876e11cf81d9bcb39f0fb74710976f27a01a99fb979dfc76c09cc1
View file https://github.com/cloudfall-dev/cloudfall/blob/51c819313d686e0062cc3149e7b276b7505dc0a9/sdk/src/cloudfall/commands.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/137/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-e11cc5881f876e11cf81d9bcb39f0fb74710976f27a01a99fb979dfc76c09cc1
https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-e11cc5881f876e11cf81d9bcb39f0fb74710976f27a01a99fb979dfc76c09cc1
https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-e11cc5881f876e11cf81d9bcb39f0fb74710976f27a01a99fb979dfc76c09cc1
https://github.com/cloudfall-dev/cloudfall/pull/137/files#diff-e11cc5881f876e11cf81d9bcb39f0fb74710976f27a01a99fb979dfc76c09cc1
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/137/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/137/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.