René's URL Explorer Experiment


Title: Reload an owed pg_hba.conf and refuse pg_hba keyword names at validate (#144) by shipmill-romamo[bot] · Pull Request #147 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: Reload an owed pg_hba.conf and refuse pg_hba keyword names at validate (#144) by shipmill-romamo[bot] · Pull Request #147 · cloudfall-dev/cloudfall

X Title: Reload an owed pg_hba.conf and refuse pg_hba keyword names at validate (#144) by shipmill-romamo[bot] · Pull Request #147 · cloudfall-dev/cloudfall

Description: Summary Parts 1 and 3 of #144. A failed pg_hba.conf reload is no longer forgotten. When the check or pg_reload_conf() failed, the rescue removed the Cloudfall block and stopped; the next converge saw an unchanged file and never reloaded, so PostgreSQL kept the old hostssl lines live until a restart. The rescue now writes a marker, {{ cloudfall_postgresql_state_directory }}/.pg_hba-reload-pending (new role default /var/lib/cloudfall/postgresql, root 0700, file 0600), before it touches the file. The check and reload run when the block changed or the marker exists, and the marker is removed once the reload returns t. A run with neither a change nor a marker stays unchanged. The marker is per service id, so two PostgreSQL services on one host never share it. Check mode stays as before: the stat runs, the check, reload and marker removal are skipped. Keyword names refused at validate. cloudfall config validate now refuses an owned database (or its owner) named all, sameuser, samerole, samegroup or replication when the service declares remoteAccess, as CONFIG_INVALID with code service_remote_access_name_reserved and the field path of the database's name or owner. The role keeps its own guard as the second layer. Without remoteAccess the names still validate. Spec 006's prose and S-006-11 list the new code. Part 2 of the issue (removing a whole Service leaves the block and listener) moved to #146. Test plan engine/tests/test_postgresql_remote_access.py: the stand-in psql can fail the reload; new tests run the real block on localhost: a failed reload on removal writes the marker, a later converge with an unchanged file reloads and clears it, a third converge reloads nothing and reports changed=0; a pg_hba.conf PostgreSQL cannot read also leaves the marker sdk/tests/test_owned_postgresql.py: each keyword as a database name and as an owner is refused with service_remote_access_name_reserved and the right field; the same names without remoteAccess validate uv run ruff check ., uv run mypy, uv run cloudfall config validate --project config/examples pass; uv run pytest on the three touched test files (SDK and engine) passes, 80 tests uv run ansible-lint engine/ansible passes when run from engine/ansible (where its ansible.cfg sets roles_path); from the repo root of this agent worktree it reports role-not-found syntax errors in five untouched playbooks, an environment issue of the worktree path, so CI's run is the authority The full suite is left to CI Fixes #144 🤖 Generated with Claude Code

Open Graph Description: Summary Parts 1 and 3 of #144. A failed pg_hba.conf reload is no longer forgotten. When the check or pg_reload_conf() failed, the rescue removed the Cloudfall block and stopped; the next converge s...

X Description: Summary Parts 1 and 3 of #144. A failed pg_hba.conf reload is no longer forgotten. When the check or pg_reload_conf() failed, the rescue removed the Cloudfall block and stopped; the next converge s...

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

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:f45bb5e0-25e7-458f-0a68-2e6cad03f0ee
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9510:2876DA:282B3B5:34C36B8:6B055BAD
html-safe-nonce84b9e42577167eb0d1f237f11e31a38a834e8c3782318e1599f85c34da5c17a3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTEwOjI4NzZEQToyODJCM0I1OjM0QzM2Qjg6NkIwNTVCQUQiLCJ2aXNpdG9yX2lkIjoiODMzMTE3MDI5NjA0NDU0Mjg5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5df5d8b735aae8e51ef6fb86ece58e9b50ec93850f2bb96dafce5e73dcb2955a
hovercard-subject-tagpull_request:5033007679
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/147/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 Parts 1 and 3 of #144. A failed pg_hba.conf reload is no longer forgotten. When the check or pg_reload_conf() failed, the rescue removed the Cloudfall block and stopped; the next converge s...
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/147/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F147%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%2F147%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/147/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/147/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/147/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/144-pg-hba-reload-and-nameshttps://github.com/cloudfall-dev/cloudfall/tree/fix/144-pg-hba-reload-and-names
Conversation 0 https://github.com/cloudfall-dev/cloudfall/pull/147
Commits 1 https://github.com/cloudfall-dev/cloudfall/pull/147/commits
Checks 1 https://github.com/cloudfall-dev/cloudfall/pull/147/checks
Files changed https://github.com/cloudfall-dev/cloudfall/pull/147/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/147/files
Reload an owed pg_hba.conf and refuse pg_hba keyword names at validate (#144) https://github.com/cloudfall-dev/cloudfall/pull/147/files#top
Show all changes 1 commit https://github.com/cloudfall-dev/cloudfall/pull/147/files
43c391c Reload an owed pg_hba.conf and refuse keyword names at validate shipmill-romamo[bot] Oct 27, 2026 https://github.com/cloudfall-dev/cloudfall/pull/147/commits/43c391c452d86329e93abeeb48275eea98a53829
Clear filters https://github.com/cloudfall-dev/cloudfall/pull/147/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/147/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/147/files
144-pg-hba-reload-and-names.md https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-02b35e28eee47264ec12c4fb2a317aab4bd17b387184787e458c97d00e37c2c3
006-standalone-postgresql.md https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-35c41c67c849e388147e087eecfdf9af99525bae42f6224fc81cc9c797062c71
main.yml https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-3e2b6e432b0e689604b1760fe06c3269ae4d911e5a6012d17e24f71d04ae67b8
argument_specs.yml https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-adfb2812c89f24f072e16618f72ddb6aac48484ad47fb236713bfaefbcc783f4
main.yml https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-222aae9cb38f9155023dd5a38041e3a078124cab5683bc89814291d3dde65683
test_postgresql_remote_access.py https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-63047a206f0507dc6f51db7e21e87c2ea28baf9c5b3ba64d55c373897efed2c2
validation.py https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-49df42efb61e79803f6878b494a9f4020665a502abad42b22938158cf50f5f28
test_owned_postgresql.py https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-a02209d541083c6e092f5517c5271ad3555d4d3c1a95663c42d497673f98cdde
changelog.d/144-pg-hba-reload-and-names.mdhttps://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-02b35e28eee47264ec12c4fb2a317aab4bd17b387184787e458c97d00e37c2c3
View file https://github.com/cloudfall-dev/cloudfall/blob/43c391c452d86329e93abeeb48275eea98a53829/changelog.d/144-pg-hba-reload-and-names.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/147/{{ revealButtonHref }}
docs/specs/006-standalone-postgresql.mdhttps://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-35c41c67c849e388147e087eecfdf9af99525bae42f6224fc81cc9c797062c71
View file https://github.com/cloudfall-dev/cloudfall/blob/43c391c452d86329e93abeeb48275eea98a53829/docs/specs/006-standalone-postgresql.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/147/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-35c41c67c849e388147e087eecfdf9af99525bae42f6224fc81cc9c797062c71
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-35c41c67c849e388147e087eecfdf9af99525bae42f6224fc81cc9c797062c71
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-35c41c67c849e388147e087eecfdf9af99525bae42f6224fc81cc9c797062c71
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-35c41c67c849e388147e087eecfdf9af99525bae42f6224fc81cc9c797062c71
engine/ansible/roles/cloudfall_postgresql/defaults/main.ymlhttps://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-3e2b6e432b0e689604b1760fe06c3269ae4d911e5a6012d17e24f71d04ae67b8
View file https://github.com/cloudfall-dev/cloudfall/blob/43c391c452d86329e93abeeb48275eea98a53829/engine/ansible/roles/cloudfall_postgresql/defaults/main.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/147/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-3e2b6e432b0e689604b1760fe06c3269ae4d911e5a6012d17e24f71d04ae67b8
engine/ansible/roles/cloudfall_postgresql/meta/argument_specs.ymlhttps://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-adfb2812c89f24f072e16618f72ddb6aac48484ad47fb236713bfaefbcc783f4
View file https://github.com/cloudfall-dev/cloudfall/blob/43c391c452d86329e93abeeb48275eea98a53829/engine/ansible/roles/cloudfall_postgresql/meta/argument_specs.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/147/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-adfb2812c89f24f072e16618f72ddb6aac48484ad47fb236713bfaefbcc783f4
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-adfb2812c89f24f072e16618f72ddb6aac48484ad47fb236713bfaefbcc783f4
engine/ansible/roles/cloudfall_postgresql/tasks/main.ymlhttps://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-222aae9cb38f9155023dd5a38041e3a078124cab5683bc89814291d3dde65683
View file https://github.com/cloudfall-dev/cloudfall/blob/43c391c452d86329e93abeeb48275eea98a53829/engine/ansible/roles/cloudfall_postgresql/tasks/main.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/147/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-222aae9cb38f9155023dd5a38041e3a078124cab5683bc89814291d3dde65683
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-222aae9cb38f9155023dd5a38041e3a078124cab5683bc89814291d3dde65683
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-222aae9cb38f9155023dd5a38041e3a078124cab5683bc89814291d3dde65683
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-222aae9cb38f9155023dd5a38041e3a078124cab5683bc89814291d3dde65683
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-222aae9cb38f9155023dd5a38041e3a078124cab5683bc89814291d3dde65683
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-222aae9cb38f9155023dd5a38041e3a078124cab5683bc89814291d3dde65683
engine/tests/test_postgresql_remote_access.pyhttps://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-63047a206f0507dc6f51db7e21e87c2ea28baf9c5b3ba64d55c373897efed2c2
View file https://github.com/cloudfall-dev/cloudfall/blob/43c391c452d86329e93abeeb48275eea98a53829/engine/tests/test_postgresql_remote_access.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/147/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-63047a206f0507dc6f51db7e21e87c2ea28baf9c5b3ba64d55c373897efed2c2
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-63047a206f0507dc6f51db7e21e87c2ea28baf9c5b3ba64d55c373897efed2c2
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-63047a206f0507dc6f51db7e21e87c2ea28baf9c5b3ba64d55c373897efed2c2
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-63047a206f0507dc6f51db7e21e87c2ea28baf9c5b3ba64d55c373897efed2c2
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-63047a206f0507dc6f51db7e21e87c2ea28baf9c5b3ba64d55c373897efed2c2
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-63047a206f0507dc6f51db7e21e87c2ea28baf9c5b3ba64d55c373897efed2c2
sdk/src/cloudfall/validation.pyhttps://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-49df42efb61e79803f6878b494a9f4020665a502abad42b22938158cf50f5f28
View file https://github.com/cloudfall-dev/cloudfall/blob/43c391c452d86329e93abeeb48275eea98a53829/sdk/src/cloudfall/validation.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/147/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-49df42efb61e79803f6878b494a9f4020665a502abad42b22938158cf50f5f28
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-49df42efb61e79803f6878b494a9f4020665a502abad42b22938158cf50f5f28
sdk/tests/test_owned_postgresql.pyhttps://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-a02209d541083c6e092f5517c5271ad3555d4d3c1a95663c42d497673f98cdde
View file https://github.com/cloudfall-dev/cloudfall/blob/43c391c452d86329e93abeeb48275eea98a53829/sdk/tests/test_owned_postgresql.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/147/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/147/files#diff-a02209d541083c6e092f5517c5271ad3555d4d3c1a95663c42d497673f98cdde
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/147/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.