René's URL Explorer Experiment


Title: Declare and validate an Elasticsearch service (S-012 slice 1) by shipmill-romamo[bot] · Pull Request #318 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: Declare and validate an Elasticsearch service (S-012 slice 1) by shipmill-romamo[bot] · Pull Request #318 · cloudfall-dev/cloudfall

X Title: Declare and validate an Elasticsearch service (S-012 slice 1) by shipmill-romamo[bot] · Pull Request #318 · cloudfall-dev/cloudfall

Description: Fixes #309 Part of #231 Plan Serves: G-1, G-3 Files: config/schemas/v1/service.schema.json, sdk/src/cloudfall/elasticsearch.py (new: version, supported lines, names), sdk/src/cloudfall/domain.py, sdk/src/cloudfall/inventory.py, sdk/src/cloudfall/validation.py, sdk/src/cloudfall/app.py (config validate warning), tests in sdk/tests/ and engine/tests/, changelog.d/309-elasticsearch-declare.md Order: slice 1 of 7 of S-012; #310 (converge) builds on it Proof: S-012-1, S-012-2, S-012-12 and S-012-16 each named by a test; the example project's rendered inventory compared byte for byte before and after the change Summary Declares serviceKind: elasticsearch as S-012 writes it, validates it, and carries it in the rendered inventory. Nothing converges it yet: no role, no audit, no backup (those are #310 onwards). Schema: spec.elasticsearch with version, heapMb (512 to 31744), and optional nodes, clusterName, existingCluster (seedHosts, caCertificateFile), users (name, access, indexPatterns, passwordRef), remoteAccess (the S-006 shape), snapshotRepository (type: s3, bucket, endpoint, basePath, credentialsRef) and restoreCheckIndices. Required for the kind, refused on the others; the PostgreSQL and Redis branches are untouched (one new allOf entry). No field takes a password (D-9) Supported lines: one table in cloudfall.elasticsearch.SUPPORTED_LINES, 8.19 and 9.x, each with its end-of-life date. config validate warns ELASTICSEARCH_VERSION_ENDING naming the date within 90 days of it, and after it. The check takes the date as an argument (elasticsearch_versions_ending(config, today)); only the command reads the clock Refusals (all CONFIG_INVALID): service_elasticsearch_version, service_elasticsearch_nodes, service_elasticsearch_existing_cluster, service_elasticsearch_server_shared, service_elasticsearch_snapshot_repository_local, service_elasticsearch_user_reserved, service_elasticsearch_pattern, and remoteAccess under the S-006 codes, checked against the baseline of every node. Also service_elasticsearch_user_duplicate for a user declared twice, and service_port_conflict on every node, not only the home server Render: the service sits in cloudfall_services of spec.server (its home) with nodes and clusterName resolved; the other nodes are read from nodes by the converge slice. services.yml, backup.yml and the collector template already select by serviceKind, so they skip it Notes for review End-of-life dates: Elastic's EOL page (read 2026-11-14) gives only an End of Maintenance date for 9.x (2027-10-15, "the later of" 30 months from GA or 18 months after 10.0); the table uses End of Maintenance for both lines, so 8.19 is 2027-01-15 (its End of Support is 2027-07-15). With that date, 8.19 already warns today After its date a line keeps validating with the warning, as the spec says; the issue's "refusal after for new services" is not built. A line is refused once it leaves the table existingCluster.caCertificateFile is resolved against the project directory; resources validated without one (validate_documents, the Ansible reader, which never yields services today) refuse it Tests uv run ruff check ., uv run mypy uv run cloudfall config validate --project config/examples uv run cloudfall-engine inventory render --project config/examples --output tmp/ansible-inventory.json: rendered on origin/main before the change and after it, cmp reports no difference uv run pytest sdk/tests/test_s012_elasticsearch.py engine/tests/test_s012_elasticsearch_render.py sdk/tests/test_validation.py sdk/tests/test_inventory.py sdk/tests/test_owned_postgresql.py sdk/tests/test_owned_postgresql_converge.py sdk/tests/test_baseline_rename.py sdk/tests/test_examples_project.py sdk/tests/test_app.py sdk/tests/test_arguments.py uv run pytest engine/tests -k "render or inventory" specs.py coverage --spec 012 lists tests for S-012-1, -2, -12 and -16 🤖 Generated with Claude Code

Open Graph Description: Fixes #309 Part of #231 Plan Serves: G-1, G-3 Files: config/schemas/v1/service.schema.json, sdk/src/cloudfall/elasticsearch.py (new: version, supported lines, names), sdk/src/cloudfall/domain.py, ...

X Description: Fixes #309 Part of #231 Plan Serves: G-1, G-3 Files: config/schemas/v1/service.schema.json, sdk/src/cloudfall/elasticsearch.py (new: version, supported lines, names), sdk/src/cloudfall/domain.py, ...

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

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:bec95183-8f10-22f2-06ab-b5a32ff57749
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE332:2D2E1:11EFEF:191D21:6B056D1C
html-safe-nonce533cf708851f192168022b665229817d0a7c699e8cb44f2c2f3edfd020c7fc91
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzMyOjJEMkUxOjExRUZFRjoxOTFEMjE6NkIwNTZEMUMiLCJ2aXNpdG9yX2lkIjoiMTg3MDQ5NzI3MDM5MTQ2NzI5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacec9d9ca8601a906ada350846ac3e3eaeade091502970d7c24cff51844db02d0c
hovercard-subject-tagpull_request:5311158765
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/318/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:altFixes #309 Part of #231 Plan Serves: G-1, G-3 Files: config/schemas/v1/service.schema.json, sdk/src/cloudfall/elasticsearch.py (new: version, supported lines, names), sdk/src/cloudfall/domain.py, ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9b4256ac5f3e310e7945ef5b71c9cb9e264357b1eb20e91d369ed6502a4c486c
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
releasef089e689ad324655ac44bf6cdbc04d976105b374
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cloudfall-dev/cloudfall/pull/318/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F318%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%2F318%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/318/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/318/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/318/files
cloudfall-devhttps://github.com/cloudfall-dev
cloudfallhttps://github.com/cloudfall-dev/cloudfall
Codehttps://github.com/cloudfall-dev/cloudfall
Issues77 (77)https://github.com/cloudfall-dev/cloudfall/issues
Pull requests9 (9)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/309-elasticsearch-declarehttps://github.com/cloudfall-dev/cloudfall/tree/feat/309-elasticsearch-declare
Conversation 2 https://github.com/cloudfall-dev/cloudfall/pull/318
Commits 2 https://github.com/cloudfall-dev/cloudfall/pull/318/commits
Checks 1 https://github.com/cloudfall-dev/cloudfall/pull/318/checks
Files changed 10 https://github.com/cloudfall-dev/cloudfall/pull/318/files
Declare and validate an Elasticsearch service (S-012 slice 1) https://github.com/cloudfall-dev/cloudfall/pull/318/files#top
Show all changes 2 commits https://github.com/cloudfall-dev/cloudfall/pull/318/files
e2500d9 Declare and validate an Elasticsearch service shipmill-romamo[bot] Nov 14, 2026 https://github.com/cloudfall-dev/cloudfall/pull/318/commits/e2500d94e261e63fcd484367391041f1b1a95945
df44a0c Refuse a seed host that is a node's IPv6 address shipmill-romamo[bot] Nov 14, 2026 https://github.com/cloudfall-dev/cloudfall/pull/318/commits/df44a0c0423016d8b3847d3495847077dfa176f9
Clear filters https://github.com/cloudfall-dev/cloudfall/pull/318/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/318/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/318/files
309-elasticsearch-declare.md https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-a122402195b30044b53a7001dfd7130be8e40735dd3c604d8309cbdcbbd2de5b
service.schema.json https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc
test_s012_elasticsearch_render.py https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-2890d415430e718cadd26f09e82b8dece0b7d4929b1cd441fb080ac051f31388
app.py https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
domain.py https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-74a40076e2210dfe9107c001ce8cdf295a295433fbfd0f306c03476faa0e430b
elasticsearch.py https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-dfcdda0402041f1a895279c765538a681b5670c43046bafd40797272a7f388f5
inventory.py https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-831a4fa33ef337b71dfe913834f1e8a6a13fe7487dc380a944c090d9ae15f99b
validation.py https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-49df42efb61e79803f6878b494a9f4020665a502abad42b22938158cf50f5f28
elasticsearch_project.py https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-58247df15b4bb9d0a72887a1b800e3fe8d72322d4815bc6839e4dc65e9050d9d
test_s012_elasticsearch.py https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-e21ad8721b9dc1d52af7e7684e56585b06d7bbb32ee5e02ef84adff23cb2463c
changelog.d/309-elasticsearch-declare.mdhttps://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-a122402195b30044b53a7001dfd7130be8e40735dd3c604d8309cbdcbbd2de5b
View file https://github.com/cloudfall-dev/cloudfall/blob/df44a0c0423016d8b3847d3495847077dfa176f9/changelog.d/309-elasticsearch-declare.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/318/{{ revealButtonHref }}
config/schemas/v1/service.schema.jsonhttps://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc
View file https://github.com/cloudfall-dev/cloudfall/blob/df44a0c0423016d8b3847d3495847077dfa176f9/config/schemas/v1/service.schema.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/318/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc
engine/tests/test_s012_elasticsearch_render.pyhttps://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-2890d415430e718cadd26f09e82b8dece0b7d4929b1cd441fb080ac051f31388
View file https://github.com/cloudfall-dev/cloudfall/blob/df44a0c0423016d8b3847d3495847077dfa176f9/engine/tests/test_s012_elasticsearch_render.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/318/{{ revealButtonHref }}
sdk/src/cloudfall/app.pyhttps://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
View file https://github.com/cloudfall-dev/cloudfall/blob/df44a0c0423016d8b3847d3495847077dfa176f9/sdk/src/cloudfall/app.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/318/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
sdk/src/cloudfall/domain.pyhttps://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-74a40076e2210dfe9107c001ce8cdf295a295433fbfd0f306c03476faa0e430b
View file https://github.com/cloudfall-dev/cloudfall/blob/df44a0c0423016d8b3847d3495847077dfa176f9/sdk/src/cloudfall/domain.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/318/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-74a40076e2210dfe9107c001ce8cdf295a295433fbfd0f306c03476faa0e430b
https://github.com/cloudfall-dev/cloudfall/pull/318/files#diff-74a40076e2210dfe9107c001ce8cdf295a295433fbfd0f306c03476faa0e430b
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/318/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/318/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.