René's URL Explorer Experiment


Title: Target the component's own servers in deploy, rollback and restart by shipmill-romamo[bot] · Pull Request #242 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: Target the component's own servers in deploy, rollback and restart by shipmill-romamo[bot] · Pull Request #242 · cloudfall-dev/cloudfall

X Title: Target the component's own servers in deploy, rollback and restart by shipmill-romamo[bot] · Pull Request #242 · cloudfall-dev/cloudfall

Description: Plan Serves: quality bar Files: engine/ansible/playbooks/{deploy,rollback,restart,backup}.yml, engine/tests/test_component_hosts.py, engine/tests/test_playbook.py, changelog.d/220-target-component-group.md Order: failing test first (two declared servers, the first unreachable and not assigned the component or service), then target the component's group in deploy/rollback/restart and the service's server in backup, with a localhost guard that fails before any host when the group or server is missing Proof: engine/tests/test_component_hosts.py (8 of its first 9 cases fail on main), test_cli_syntax_checks_a_bundled_playbook in engine/tests/test_playbook.py (a syntax check of each changed playbook with no extra variables, as CI runs it), plus engine/tests/test_release_command.py for the release-server split and inventory order Summary deploy.yml, rollback.yml and restart.yml ran their component play on every declared server and picked the component inside the play, and backup.yml did the same for services. One unreachable server the component isn't on therefore failed the run. deploy, rollback and restart now target cloudfall_servers:&component_ (the group cloudfall_engine.ansible_inventory renders, with - replaced by _). The intersection keeps cloudfall_servers' inventory order, which S-005 relies on; deploy keeps its release-server play as before and excludes cloudfall_release_servers from the second play The hosts: pattern defaults the component id to an empty string, which names no group, so a syntax check without extra variables passes Each of the three starts with a localhost play that asserts the extra variables and that the component's group has servers, so a component with no group fails clearly before any host is contacted (rollback and restart's run_once pre-task assert moved there) backup.yml first adds the service's server to cloudfall_backup_servers on localhost, asserts there is exactly one, and runs the backup play on that group only serial: 1 and any_errors_fatal are unchanged on the per-component plays No contract change: same commands and extra variables, fewer hosts. Test notes New engine/tests/test_component_hosts.py runs each playbook for real against two servers: h1 points at a closed local SSH port (unreachable) and comes first in inventory order, h2 runs locally and is the only one assigned the component or service. Deploy, rollback and restart succeed and touch only h2; a release-command component whose release server is h2 deploys once; an unknown component or service fails before any host Ran: uv run ruff check ., uv run mypy, and uv run pytest on engine/tests/test_component_hosts.py, test_release_command.py, test_command_health_gate.py, test_deploy_role.py, test_ansible_inventory.py, sdk/tests/test_release_command_plan.py, test_command_health_check.py, test_lifecycle.py. The full suite is left to CI ansible-lint was not run locally; CI runs it Decisions for you New clear failure: a component with no servers in the inventory (no or empty component_ group), or a service on no inventory server (or on more than one), now fails on localhost before any host is contacted. Before, the run went through without touching that component or service docs/specs/005-release-command.md line 47 still says deploy.yml "walks cloudfall_servers". The order (inventory order, release server first) still holds, but the deploy now walks only the component's servers. The spec text is left as it is Fixes #220 🤖 Generated with Claude Code

Open Graph Description: Plan Serves: quality bar Files: engine/ansible/playbooks/{deploy,rollback,restart,backup}.yml, engine/tests/test_component_hosts.py, engine/tests/test_playbook.py, changelog.d/220-target-component...

X Description: Plan Serves: quality bar Files: engine/ansible/playbooks/{deploy,rollback,restart,backup}.yml, engine/tests/test_component_hosts.py, engine/tests/test_playbook.py, changelog.d/220-target-component...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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:ada400ff-38b0-7384-bab1-ec538ad5a34e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC466:104CA3:FC744B:15A83BB:6B055DD8
html-safe-noncedf805a0fa99ef64e4792b409d398e894d4dae4d239743f965e4fb771c229dab6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDY2OjEwNENBMzpGQzc0NEI6MTVBODNCQjo2QjA1NUREOCIsInZpc2l0b3JfaWQiOiI1Nzg4NTEwNTg5NzkwMDE5MDMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb892056262f163aaedaa8093c592676e268a9bcc29e0155193e79bc801018b66
hovercard-subject-tagpull_request:5293145907
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/242/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:altPlan Serves: quality bar Files: engine/ansible/playbooks/{deploy,rollback,restart,backup}.yml, engine/tests/test_component_hosts.py, engine/tests/test_playbook.py, changelog.d/220-target-component...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None8a6760da3cce5e2d079d07e3b62df71194316c4478db1a5e38050f44fce72c72
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
release8327739ac0648b9c3c722b5f401f7338553936b8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cloudfall-dev/cloudfall/pull/242/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F242%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%2F242%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/242/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/242/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/242/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
fix/220-target-component-grouphttps://github.com/cloudfall-dev/cloudfall/tree/fix/220-target-component-group
Conversation 0 https://github.com/cloudfall-dev/cloudfall/pull/242
Commits 2 https://github.com/cloudfall-dev/cloudfall/pull/242/commits
Checks 1 https://github.com/cloudfall-dev/cloudfall/pull/242/checks
Files changed https://github.com/cloudfall-dev/cloudfall/pull/242/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/242/files
Target the component's own servers in deploy, rollback and restart https://github.com/cloudfall-dev/cloudfall/pull/242/files#top
Show all changes 2 commits https://github.com/cloudfall-dev/cloudfall/pull/242/files
3e715d9 Target the component's own servers in deploy, rollback and restart shipmill-romamo[bot] Nov 13, 2026 https://github.com/cloudfall-dev/cloudfall/pull/242/commits/3e715d9f4ee2f3a897d115eacfb99ba47da5ce66
dfed114 Let deploy, rollback and restart pass a syntax check without extra vars shipmill-romamo[bot] Nov 13, 2026 https://github.com/cloudfall-dev/cloudfall/pull/242/commits/dfed1142fd38902432998d47de4d453565870e10
Clear filters https://github.com/cloudfall-dev/cloudfall/pull/242/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/242/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/242/files
220-target-component-group.md https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-1738d268921a92464aeb9cfde83cb44c15ed9875018eb52c9a805d5b5fd7bf38
backup.yml https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-a44e5b32c0a11bfb2589b07817b11cd93cefa31b662b3069a0e7784ec4d892a5
deploy.yml https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-6bd433ab5a94386e73ee6c906c694e4132e038ad66266e3cd7886911c5781582
restart.yml https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-ab682f7df47938fae4c2e88c4271b83223ffff34ad6abe81d379cb4e92fb82ae
rollback.yml https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-b8d6fda07528697eb0261a8f48b007db16833af69fb33852a5326b62e7814c4f
test_component_hosts.py https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-aa607293d32be2f868d8089c7df610dabf79617fc152d868c7098ed9001cede5
test_playbook.py https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-780dd21e25f1edab3a17373095e63d8b2b16eb8e98fe66306f1aed2c78a8447a
changelog.d/220-target-component-group.mdhttps://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-1738d268921a92464aeb9cfde83cb44c15ed9875018eb52c9a805d5b5fd7bf38
View file https://github.com/cloudfall-dev/cloudfall/blob/dfed1142fd38902432998d47de4d453565870e10/changelog.d/220-target-component-group.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/242/{{ revealButtonHref }}
engine/ansible/playbooks/backup.ymlhttps://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-a44e5b32c0a11bfb2589b07817b11cd93cefa31b662b3069a0e7784ec4d892a5
View file https://github.com/cloudfall-dev/cloudfall/blob/dfed1142fd38902432998d47de4d453565870e10/engine/ansible/playbooks/backup.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/242/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-a44e5b32c0a11bfb2589b07817b11cd93cefa31b662b3069a0e7784ec4d892a5
engine/ansible/playbooks/deploy.ymlhttps://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-6bd433ab5a94386e73ee6c906c694e4132e038ad66266e3cd7886911c5781582
View file https://github.com/cloudfall-dev/cloudfall/blob/dfed1142fd38902432998d47de4d453565870e10/engine/ansible/playbooks/deploy.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/242/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-6bd433ab5a94386e73ee6c906c694e4132e038ad66266e3cd7886911c5781582
https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-6bd433ab5a94386e73ee6c906c694e4132e038ad66266e3cd7886911c5781582
https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-6bd433ab5a94386e73ee6c906c694e4132e038ad66266e3cd7886911c5781582
https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-6bd433ab5a94386e73ee6c906c694e4132e038ad66266e3cd7886911c5781582
https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-6bd433ab5a94386e73ee6c906c694e4132e038ad66266e3cd7886911c5781582
engine/ansible/playbooks/restart.ymlhttps://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-ab682f7df47938fae4c2e88c4271b83223ffff34ad6abe81d379cb4e92fb82ae
View file https://github.com/cloudfall-dev/cloudfall/blob/dfed1142fd38902432998d47de4d453565870e10/engine/ansible/playbooks/restart.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/242/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-ab682f7df47938fae4c2e88c4271b83223ffff34ad6abe81d379cb4e92fb82ae
engine/ansible/playbooks/rollback.ymlhttps://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-b8d6fda07528697eb0261a8f48b007db16833af69fb33852a5326b62e7814c4f
View file https://github.com/cloudfall-dev/cloudfall/blob/dfed1142fd38902432998d47de4d453565870e10/engine/ansible/playbooks/rollback.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/242/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-b8d6fda07528697eb0261a8f48b007db16833af69fb33852a5326b62e7814c4f
https://github.com/cloudfall-dev/cloudfall/pull/242/files#diff-b8d6fda07528697eb0261a8f48b007db16833af69fb33852a5326b62e7814c4f
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/242/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/242/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.