René's URL Explorer Experiment


Title: Re-render the Alloy exporters when a services converge changes a node by shipmill-romamo[bot] · Pull Request #330 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: Re-render the Alloy exporters when a services converge changes a node by shipmill-romamo[bot] · Pull Request #330 · cloudfall-dev/cloudfall

X Title: Re-render the Alloy exporters when a services converge changes a node by shipmill-romamo[bot] · Pull Request #330 · cloudfall-dev/cloudfall

Description: Plan Serves: quality bar (Q-1) Files: engine/ansible/playbooks/services.yml, engine/ansible/roles/cloudfall_logging_collector/tasks/exporters.yml (new), engine/ansible/roles/cloudfall_logging_collector/meta/argument_specs.yml, engine/tests/test_s012_elasticsearch_access.py, engine/tests/test_component_hosts.py (the stub role gains the new entry point), changelog.d/329-es-exporter-follows-remote-access.md Order: a failing test that runs the services converge's collector step for a host before and after remoteAccess is added (and removed); then the collector role's exporters entry point and the services.yml task that includes it on hosts where logging deploy already set Alloy up; then the changelog fragment Proof: uv run pytest engine/tests/test_s012_elasticsearch_access.py engine/tests/test_s012_elasticsearch_role.py engine/tests/test_logging_templates.py engine/tests/test_component_hosts.py, ansible-lint (CI), ruff, mypy Summary Adding remoteAccess to an Elasticsearch service with metrics.enabled switches the node to HTTPS when services.yml converges it, but the collector's Alloy exporter kept scraping over plain HTTP until the next logging deploy, because only logging.yml rendered the collector. logging deploy feeds the collector role from host vars the engine inventory gives every playbook (cloudfall_logging_collector for a collector host, cloudfall_services), so the services play has the same inputs and the preferred design applies (no fallback message): The collector role gets an exporters entry point (tasks/exporters.yml): it stats /etc/alloy/cloudfall.alloy and /usr/bin/alloy, and only when both exist re-renders the same two files main.yml writes (config.alloy.j2, alloy-systemd-override.conf.j2, same owners and modes), notifies the existing Restart Alloy handler (daemon-reload + restart, only when a file changed), runs alloy validate, and flushes handlers services.yml includes it as its last task, only when cloudfall_logging_collector is defined; a host that is not a collector is never touched, and a collector logging deploy has not set up yet gets nothing installed meta/argument_specs.yml adds an exporters entry point that reuses the main options through a YAML anchor; main is unchanged Templates are untouched, so PostgreSQL and Redis exporters and the #326 SetCredential= fallbacks render byte-identical to before. Test plan New in engine/tests/test_s012_elasticsearch_access.py (all three fail on main with StopIteration: services.yml has no collector step): test_a_services_converge_takes_the_exporter_to_https_with_remote_access: evaluates the services step's when/vars and the exporters guard with Ansible's Templar, renders the files it writes for a host without and with remoteAccess, and asserts http to https plus the CA credential, back to http when it is removed, and byte equality with what logging deploy renders test_the_services_converge_reloads_alloy_only_through_its_validated_files: same template arguments as main.yml, Restart Alloy notify, validate before the flush test_a_services_converge_leaves_a_host_without_the_collector_alone: non-collector host and a collector without Alloy set up get nothing; no apt or user tasks engine/tests/test_component_hosts.py: the stub cloudfall_logging_collector role gains exporters.yml, so the real services.yml run over the stubbed fleet passes A local ansible-playbook --check run of the include on localhost passed the exporters argument-spec validation and skipped the block (no Alloy there) Ran: ruff check, mypy, the touched test files plus test_s012_elasticsearch_role.py, test_logging_templates.py, test_services_passwords.py, sdk/tests/test_s012_elasticsearch_converge.py, sdk/tests/test_owned_postgresql_converge.py: all green. ansible-lint was refused by the session's hook, so it is left to CI, as is the full suite Not run on a live host: the restart of a running Alloy after the switch Fixes #329 🤖 Generated with Claude Code

Open Graph Description: Plan Serves: quality bar (Q-1) Files: engine/ansible/playbooks/services.yml, engine/ansible/roles/cloudfall_logging_collector/tasks/exporters.yml (new), engine/ansible/roles/cloudfall_logging_coll...

X Description: Plan Serves: quality bar (Q-1) Files: engine/ansible/playbooks/services.yml, engine/ansible/roles/cloudfall_logging_collector/tasks/exporters.yml (new), engine/ansible/roles/cloudfall_logging_coll...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.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:d2834330-e252-cd6c-7bf9-fa5d6e6f509b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE136:2F671E:28A23B7:353046E:6B05591C
html-safe-nonce345af8bbf53bd313b187de7643f32a3ffe2eecb13b7500fcbf4639fd600d2bf7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTM2OjJGNjcxRToyOEEyM0I3OjM1MzA0NkU6NkIwNTU5MUMiLCJ2aXNpdG9yX2lkIjoiNDY2MTk2ODI0NjAzNDIyNTQzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf4f8a6304048dd700cf91d475464bf3576b9652a4184c40f663810092e7a9f33
hovercard-subject-tagpull_request:5314340359
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/330/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 (Q-1) Files: engine/ansible/playbooks/services.yml, engine/ansible/roles/cloudfall_logging_collector/tasks/exporters.yml (new), engine/ansible/roles/cloudfall_logging_coll...
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/330/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F330%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%2F330%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/330/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/330/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/330/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/329-es-exporter-follows-remote-accesshttps://github.com/cloudfall-dev/cloudfall/tree/fix/329-es-exporter-follows-remote-access
Conversation 0 https://github.com/cloudfall-dev/cloudfall/pull/330
Commits 1 https://github.com/cloudfall-dev/cloudfall/pull/330/commits
Checks 1 https://github.com/cloudfall-dev/cloudfall/pull/330/checks
Files changed https://github.com/cloudfall-dev/cloudfall/pull/330/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/330/files
Re-render the Alloy exporters when a services converge changes a node https://github.com/cloudfall-dev/cloudfall/pull/330/files#top
Show all changes 1 commit https://github.com/cloudfall-dev/cloudfall/pull/330/files
7e6f708 Re-render the Alloy exporters when a services converge changes a node shipmill-romamo[bot] Nov 14, 2026 https://github.com/cloudfall-dev/cloudfall/pull/330/commits/7e6f708c79e4632b3fab678c5170c997d86e2ff9
Clear filters https://github.com/cloudfall-dev/cloudfall/pull/330/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/330/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/330/files
329-es-exporter-follows-remote-access.md https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-3282b1c88e682092ff3a0b18d0065e684c1ead79ad7f3f7086fca59e220b2109
services.yml https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-dc7caaef6bfb92da28b2d559408bbc496376a28f2d1ce412a57febe941ba96cd
argument_specs.yml https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-4597450b1392387d96ee0dc13a9bb1ace70086f1c07b78375fded9f1900cbc4b
exporters.yml https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-4c24d29321e3354cfa9749ec964aafeb6cc7d5eeaecd080e65cf37855c46d031
test_component_hosts.py https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-aa607293d32be2f868d8089c7df610dabf79617fc152d868c7098ed9001cede5
test_s012_elasticsearch_access.py https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-be94d5834969252e9b62d95a4a83f12117c8039c4e5b75b118e42ffb74f60712
changelog.d/329-es-exporter-follows-remote-access.mdhttps://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-3282b1c88e682092ff3a0b18d0065e684c1ead79ad7f3f7086fca59e220b2109
View file https://github.com/cloudfall-dev/cloudfall/blob/7e6f708c79e4632b3fab678c5170c997d86e2ff9/changelog.d/329-es-exporter-follows-remote-access.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/330/{{ revealButtonHref }}
engine/ansible/playbooks/services.ymlhttps://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-dc7caaef6bfb92da28b2d559408bbc496376a28f2d1ce412a57febe941ba96cd
View file https://github.com/cloudfall-dev/cloudfall/blob/7e6f708c79e4632b3fab678c5170c997d86e2ff9/engine/ansible/playbooks/services.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/330/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-dc7caaef6bfb92da28b2d559408bbc496376a28f2d1ce412a57febe941ba96cd
engine/ansible/roles/cloudfall_logging_collector/meta/argument_specs.ymlhttps://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-4597450b1392387d96ee0dc13a9bb1ace70086f1c07b78375fded9f1900cbc4b
View file https://github.com/cloudfall-dev/cloudfall/blob/7e6f708c79e4632b3fab678c5170c997d86e2ff9/engine/ansible/roles/cloudfall_logging_collector/meta/argument_specs.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/330/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-4597450b1392387d96ee0dc13a9bb1ace70086f1c07b78375fded9f1900cbc4b
https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-4597450b1392387d96ee0dc13a9bb1ace70086f1c07b78375fded9f1900cbc4b
https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-4597450b1392387d96ee0dc13a9bb1ace70086f1c07b78375fded9f1900cbc4b
engine/ansible/roles/cloudfall_logging_collector/tasks/exporters.ymlhttps://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-4c24d29321e3354cfa9749ec964aafeb6cc7d5eeaecd080e65cf37855c46d031
View file https://github.com/cloudfall-dev/cloudfall/blob/7e6f708c79e4632b3fab678c5170c997d86e2ff9/engine/ansible/roles/cloudfall_logging_collector/tasks/exporters.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/330/{{ revealButtonHref }}
engine/tests/test_component_hosts.pyhttps://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-aa607293d32be2f868d8089c7df610dabf79617fc152d868c7098ed9001cede5
View file https://github.com/cloudfall-dev/cloudfall/blob/7e6f708c79e4632b3fab678c5170c997d86e2ff9/engine/tests/test_component_hosts.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/330/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-aa607293d32be2f868d8089c7df610dabf79617fc152d868c7098ed9001cede5
https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-aa607293d32be2f868d8089c7df610dabf79617fc152d868c7098ed9001cede5
engine/tests/test_s012_elasticsearch_access.pyhttps://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-be94d5834969252e9b62d95a4a83f12117c8039c4e5b75b118e42ffb74f60712
View file https://github.com/cloudfall-dev/cloudfall/blob/7e6f708c79e4632b3fab678c5170c997d86e2ff9/engine/tests/test_s012_elasticsearch_access.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/330/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-be94d5834969252e9b62d95a4a83f12117c8039c4e5b75b118e42ffb74f60712
https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-be94d5834969252e9b62d95a4a83f12117c8039c4e5b75b118e42ffb74f60712
https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-be94d5834969252e9b62d95a4a83f12117c8039c4e5b75b118e42ffb74f60712
https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-be94d5834969252e9b62d95a4a83f12117c8039c4e5b75b118e42ffb74f60712
https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-be94d5834969252e9b62d95a4a83f12117c8039c4e5b75b118e42ffb74f60712
https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-be94d5834969252e9b62d95a4a83f12117c8039c4e5b75b118e42ffb74f60712
https://github.com/cloudfall-dev/cloudfall/pull/330/files#diff-be94d5834969252e9b62d95a4a83f12117c8039c4e5b75b118e42ffb74f60712
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/330/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.