René's URL Explorer Experiment


Title: Fetch a repository signing key only when it is missing by shipmill-romamo[bot] · Pull Request #389 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: Fetch a repository signing key only when it is missing by shipmill-romamo[bot] · Pull Request #389 · cloudfall-dev/cloudfall

X Title: Fetch a repository signing key only when it is missing by shipmill-romamo[bot] · Pull Request #389 · cloudfall-dev/cloudfall

Description: Summary A re-converge no longer asks a package repository's server for its signing key when the key is already installed. ansible.builtin.get_url without force does not skip an existing dest: with no checksum it reads the file's mtime and sends a conditional request (If-Modified-Since, in ansible-core 2.21.2 get_url.py lines 600-634), expecting a 304. So "Converge again, changing nothing" still contacted www.postgresql.org, and a TLS handshake timeout failed it three times on 2026-11-15, once on main. Each of the four roles that fetch a key this way (PostgreSQL, Elasticsearch, logging collector, logging backend; all identical in shape) now: stats the key path first downloads the key only when it is missing, retried 5 times, 10 seconds apart (until: ... is succeeded) keeps an installed key's root:root 0644 with an ansible.builtin.file task, since get_url no longer runs to enforce them Path, owner, mode and the deb822_repository definitions are unchanged. Check mode with a missing key still reports the download as a change (get_url's own check mode, a HEAD request). Plan Serves: quality bar Files: engine/ansible/roles/cloudfall_postgresql/tasks/main.yml, engine/ansible/roles/cloudfall_elasticsearch/tasks/main.yml, engine/ansible/roles/cloudfall_logging_collector/tasks/main.yml, engine/ansible/roles/cloudfall_logging_backend/tasks/main.yml, engine/tests/test_repository_signing_keys.py, changelog.d/388-pgdg-key-offline.md Order: the failing test first (an installed key with an unserved URL), then the stat-gated, retried download in each role, then the changelog fragment Proof: engine/tests/test_repository_signing_keys.py (fails on main: the old task requests the unserved URL with the key on disk; passes with the fix), and CI's converge job, whose second run must report changed=0 with no key request Test plan uv run pytest engine/tests/test_repository_signing_keys.py: 8 passed; on main's roles all 8 fail (the run hits Connection refused on the unserved URL with the key on disk) PostgreSQL, Elasticsearch, logging and examples tests (test_postgresql_*, test_s012_elasticsearch_role, _cluster_role, _existing_cluster_role, test_logging_templates, test_examples_render_unchanged, test_component_hosts): 184 passed uv run ruff check ., uv run mypy, ansible-lint engine/ansible (production profile): clean The full suite and the converge job are left to CI Fixes #388 🤖 Generated with Claude Code

Open Graph Description: Summary A re-converge no longer asks a package repository's server for its signing key when the key is already installed. ansible.builtin.get_url without force does not skip an existing dest: w...

X Description: Summary A re-converge no longer asks a package repository's server for its signing key when the key is already installed. ansible.builtin.get_url without force does not skip an existing des...

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

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:9a01d389-a55f-8eeb-09f1-e5d315a5dcb6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBB40:6399:47B82B:622A91:6B05A2E2
html-safe-noncee6a604be91057b67336068ecddc1fa917059e0f1deb7c15c50f26440c515f5f4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjQwOjYzOTk6NDdCODJCOjYyMkE5MTo2QjA1QTJFMiIsInZpc2l0b3JfaWQiOiI0NDc3Njg2Njk1NjA0ODg4MjkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9a3e559915a5c05e3a7735a992cbf66dc9753592960f1297785215a43f048b98
hovercard-subject-tagpull_request:5325897024
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/389/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 A re-converge no longer asks a package repository's server for its signing key when the key is already installed. ansible.builtin.get_url without force does not skip an existing dest: w...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None1fb3ddc0b71892c329818732762bc26c09d4e193a34ef934888d4731e69c0173
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
release001eaa59a2e6bac6dc88d27c00f0240847562453
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cloudfall-dev/cloudfall/pull/389/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F389%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%2F389%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/389/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/389/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/389/files
cloudfall-devhttps://github.com/cloudfall-dev
cloudfallhttps://github.com/cloudfall-dev/cloudfall
Codehttps://github.com/cloudfall-dev/cloudfall
Issues76 (76)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/388-pgdg-key-offlinehttps://github.com/cloudfall-dev/cloudfall/tree/fix/388-pgdg-key-offline
Conversation 0 https://github.com/cloudfall-dev/cloudfall/pull/389
Commits 1 https://github.com/cloudfall-dev/cloudfall/pull/389/commits
Checks 2 https://github.com/cloudfall-dev/cloudfall/pull/389/checks
Files changed https://github.com/cloudfall-dev/cloudfall/pull/389/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/389/files
Fetch a repository signing key only when it is missing https://github.com/cloudfall-dev/cloudfall/pull/389/files#top
Show all changes 1 commit https://github.com/cloudfall-dev/cloudfall/pull/389/files
ffb589e Fetch a repository signing key only when it is missing shipmill-romamo[bot] Nov 15, 2026 https://github.com/cloudfall-dev/cloudfall/pull/389/commits/ffb589ee86b9e5eca4ea2290fbb8e0d291b1ac67
Clear filters https://github.com/cloudfall-dev/cloudfall/pull/389/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/389/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/389/files
388-pgdg-key-offline.md https://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-4cc3df78ae41034ef31c71b1bb9b57753e4a125dd124888b89ac02b31f620c41
main.yml https://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-e326e37983c00f51540f8e12641c213db0d378117e2f83f23cd8cabc72c52c14
main.yml https://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-ff281eab2e05215b42702cceb4091aba5689bdf35b016190908bd0143bf08a17
main.yml https://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-8e4748c25590e1dd87b560b576759401d9bf61c75770af0f6c07b4df1a838cd3
main.yml https://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-222aae9cb38f9155023dd5a38041e3a078124cab5683bc89814291d3dde65683
test_repository_signing_keys.py https://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-3d4c11f20eefdcadb48e88f7cf608ebb6c1f3afaa03b4471cc63830f3b7ff331
changelog.d/388-pgdg-key-offline.mdhttps://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-4cc3df78ae41034ef31c71b1bb9b57753e4a125dd124888b89ac02b31f620c41
View file https://github.com/cloudfall-dev/cloudfall/blob/ffb589ee86b9e5eca4ea2290fbb8e0d291b1ac67/changelog.d/388-pgdg-key-offline.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/389/{{ revealButtonHref }}
engine/ansible/roles/cloudfall_elasticsearch/tasks/main.ymlhttps://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-e326e37983c00f51540f8e12641c213db0d378117e2f83f23cd8cabc72c52c14
View file https://github.com/cloudfall-dev/cloudfall/blob/ffb589ee86b9e5eca4ea2290fbb8e0d291b1ac67/engine/ansible/roles/cloudfall_elasticsearch/tasks/main.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/389/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-e326e37983c00f51540f8e12641c213db0d378117e2f83f23cd8cabc72c52c14
https://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-e326e37983c00f51540f8e12641c213db0d378117e2f83f23cd8cabc72c52c14
engine/ansible/roles/cloudfall_logging_backend/tasks/main.ymlhttps://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-ff281eab2e05215b42702cceb4091aba5689bdf35b016190908bd0143bf08a17
View file https://github.com/cloudfall-dev/cloudfall/blob/ffb589ee86b9e5eca4ea2290fbb8e0d291b1ac67/engine/ansible/roles/cloudfall_logging_backend/tasks/main.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/389/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-ff281eab2e05215b42702cceb4091aba5689bdf35b016190908bd0143bf08a17
https://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-ff281eab2e05215b42702cceb4091aba5689bdf35b016190908bd0143bf08a17
engine/ansible/roles/cloudfall_logging_collector/tasks/main.ymlhttps://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-8e4748c25590e1dd87b560b576759401d9bf61c75770af0f6c07b4df1a838cd3
View file https://github.com/cloudfall-dev/cloudfall/blob/ffb589ee86b9e5eca4ea2290fbb8e0d291b1ac67/engine/ansible/roles/cloudfall_logging_collector/tasks/main.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/389/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-8e4748c25590e1dd87b560b576759401d9bf61c75770af0f6c07b4df1a838cd3
https://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-8e4748c25590e1dd87b560b576759401d9bf61c75770af0f6c07b4df1a838cd3
engine/ansible/roles/cloudfall_postgresql/tasks/main.ymlhttps://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-222aae9cb38f9155023dd5a38041e3a078124cab5683bc89814291d3dde65683
View file https://github.com/cloudfall-dev/cloudfall/blob/ffb589ee86b9e5eca4ea2290fbb8e0d291b1ac67/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/389/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-222aae9cb38f9155023dd5a38041e3a078124cab5683bc89814291d3dde65683
https://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-222aae9cb38f9155023dd5a38041e3a078124cab5683bc89814291d3dde65683
engine/tests/test_repository_signing_keys.pyhttps://github.com/cloudfall-dev/cloudfall/pull/389/files#diff-3d4c11f20eefdcadb48e88f7cf608ebb6c1f3afaa03b4471cc63830f3b7ff331
View file https://github.com/cloudfall-dev/cloudfall/blob/ffb589ee86b9e5eca4ea2290fbb8e0d291b1ac67/engine/tests/test_repository_signing_keys.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/389/{{ revealButtonHref }}
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/389/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.