René's URL Explorer Experiment
Title: Declare and validate a MariaDB service (S-019-1, S-019-2, S-019-10) by shipmill-romamo[bot] · Pull Request #430 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Declare and validate a MariaDB service (S-019-1, S-019-2, S-019-10) by shipmill-romamo[bot] · Pull Request #430 · cloudfall-dev/cloudfall
X Title: Declare and validate a MariaDB service (S-019-1, S-019-2, S-019-10) by shipmill-romamo[bot] · Pull Request #430 · cloudfall-dev/cloudfall
Description: Plan
Serves: G-1, G-3
Files: config/schemas/v1/service.schema.json, sdk/src/cloudfall/domain.py, sdk/src/cloudfall/mariadb.py (new), sdk/src/cloudfall/validation.py, sdk/src/cloudfall/inventory.py, sdk/src/cloudfall/requirements.py, sdk/src/cloudfall/app.py, sdk/tests/mariadb_project.py (new), sdk/tests/test_s019_mariadb.py (new), engine/tests/test_s019_mariadb_render.py (new), changelog.d/419-mariadb-declare.md
Order: the spec's Declaration, Supported versions, Access, Replication, source replica and Validation sections, in that order: schema and ServiceKind.MARIADB; the supported-series table with MariaDB's community end-of-life dates; each refusal with its code; the two warnings; the requirements the kind yields; the rendered service
Proof: S-019-1 (validate exit 0, render carries the service and its databases, no password value), S-019-2 (examples render byte-identical to the golden file), S-019-10 (one test per refusal code and the MARIADB_VERSION_ENDING window)
Summary
The first build issue of spec 019 (docs/specs/019-mariadb-service.md): a Service can now be serviceKind: mariadb. Nothing converges it yet; the role, backups, audit and metrics are the later issues of #409.
Schema: spec.mariadb with version, innodbBufferPoolMb (128 or more), databases in the S-006 forms (an owner entry may add authentication: ed25519), remoteAccess, and replication (role, serverId, a primary's listenAddress, a replica's primary or source with host, port, credentialsRef, caCertificateFile). Required for the kind, refused on the others
Supported series: sdk/src/cloudfall/mariadb.py holds the table, citing MariaDB's maintenance policy (mariadb.org/about, read 2026-11-16, Community column): 10.11 to 2028-02-16, 11.4 to 2029-05-29, 11.8 to 2028-06-04, 12.3 to 2029-06-12
Validation: every refusal under the spec's Validation with its code (service_mariadb_version, service_mariadb_server_shared, service_database_owner_reserved, service_mariadb_server_id_duplicate, service_mariadb_replication_listen, service_mariadb_replication_primary, service_mariadb_replica_databases, service_mariadb_replica_version, service_mariadb_replication_unfirewalled, service_mariadb_replica_unaddressed, service_mariadb_replication_source, the S-014 pool codes, the S-006 remoteAccess codes); the S-006 database-entry rules are schema refusals, as for PostgreSQL
Warnings: config validate warns MARIADB_VERSION_ENDING with the date within 90 days of a series' end, and MARIADB_REPLICATION_UNENCRYPTED for a source without caCertificateFile
Requirements (S-011): the mariadb volume (10G, mirrored, /var/lib/mysql, mariadb.service), the mariadb-server package at version, on a primary with replicas the port open to their servers, with remoteAccess or replication a server certificate, and on a primary the generated cloudfall_repl password (/services/, REPLICATION_PASSWORD)
Inventory: the service renders with its databases, the application's user resolved, the owner's passwordRef and plugin; never a password or hash (D-9)
The MariaDB declaration lives in a test fixture (sdk/tests/mariadb_project.py), not in config/examples: the examples have no place for kinds that are off by default, and S-019-2 needs them unchanged.
Test plan
uv run ruff check ., uv run mypy: clean
uv run cloudfall config validate --project config/examples: exit 0
uv run cloudfall-engine inventory render --project config/examples --output tmp/ansible-inventory.json: exit 0, byte-identical to engine/tests/golden/examples/ansible-inventory.json
uv run pytest sdk/tests/test_s019_mariadb.py engine/tests/test_s019_mariadb_render.py: 92 passed (S-019-1, S-019-2, S-019-10)
Related suites: sdk/tests/test_s012_elasticsearch.py, test_inventory.py, test_requirements.py, test_owned_postgresql.py, test_validation.py, sdk/tests -k "inventory or validat or requirement or schema or secret or audit", engine/tests -k "inventory or validat or render or requirement": all passed
The full suite is left to CI
specs.py coverage --spec 019 lists tests for S-019-1, S-019-2 and S-019-10; the others belong to later issues
Part of #409
Fixes #419
🤖 Generated with Claude Code
Open Graph Description: Plan
Serves: G-1, G-3
Files: config/schemas/v1/service.schema.json, sdk/src/cloudfall/domain.py, sdk/src/cloudfall/mariadb.py (new), sdk/src/cloudfall/validation.py, sdk/src/cloudfall/inventory.py...
X Description: Plan
Serves: G-1, G-3
Files: config/schemas/v1/service.schema.json, sdk/src/cloudfall/domain.py, sdk/src/cloudfall/mariadb.py (new), sdk/src/cloudfall/validation.py, sdk/src/cloudfall/inventory.py...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/pull/430
X: @github
direct link
Domain: github.com
IPv4 address: 140.82.112.3
| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:531b8c82-b5a4-77c8-644f-56695e6b81a5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A2FE:7F641:1A73288:22D81E9:6B055DEE |
| html-safe-nonce | 78bdb12afc56c3bf34e48cb79d3fb76c281556fd4bb923f1b95e836dbfed7da7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkZFOjdGNjQxOjFBNzMyODg6MjJEODFFOTo2QjA1NURFRSIsInZpc2l0b3JfaWQiOiI4ODc3OTQ5NDE4NDIzNTQxMjMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0db68a0d31bc47778d74925391dc51b829b1309d619e09bdc2a29f34596776aa |
| hovercard-subject-tag | pull_request:5334985125 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/cloudfall-dev/cloudfall/pull/430/files |
| twitter:image | https://avatars.githubusercontent.com/u/5600783?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5600783?s=400&v=4 |
| og:image:alt | Plan
Serves: G-1, G-3
Files: config/schemas/v1/service.schema.json, sdk/src/cloudfall/domain.py, sdk/src/cloudfall/mariadb.py (new), sdk/src/cloudfall/validation.py, sdk/src/cloudfall/inventory.py... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8a6760da3cce5e2d079d07e3b62df71194316c4478db1a5e38050f44fce72c72 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8327739ac0648b9c3c722b5f401f7338553936b8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Skip to content | https://github.com/cloudfall-dev/cloudfall/pull/430/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F430%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F430%2Ffiles |
| Sign up | https://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 |
| Reload | https://github.com/cloudfall-dev/cloudfall/pull/430/files |
| Reload | https://github.com/cloudfall-dev/cloudfall/pull/430/files |
| Reload | https://github.com/cloudfall-dev/cloudfall/pull/430/files |
| cloudfall-dev | https://github.com/cloudfall-dev |
| cloudfall | https://github.com/cloudfall-dev/cloudfall |
| Code | https://github.com/cloudfall-dev/cloudfall |
| Issues78 (78) | https://github.com/cloudfall-dev/cloudfall/issues |
| Pull requests10 (10) | https://github.com/cloudfall-dev/cloudfall/pulls |
| Discussions | https://github.com/cloudfall-dev/cloudfall/discussions |
| Actions | https://github.com/cloudfall-dev/cloudfall/actions |
| Security and quality | https://github.com/cloudfall-dev/cloudfall/security |
| Insights | https://github.com/cloudfall-dev/cloudfall/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fcloudfall-dev%2Fcloudfall%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fcloudfall-dev%2Fcloudfall%2Fissues%2Fnew%2Fchoose |
| shipmill-romamo | https://github.com/apps/shipmill-romamo |
| main | https://github.com/cloudfall-dev/cloudfall/tree/main |
| feat/419-mariadb-declaration | https://github.com/cloudfall-dev/cloudfall/tree/feat/419-mariadb-declaration |
|
Conversation
0
| https://github.com/cloudfall-dev/cloudfall/pull/430 |
|
Commits
2
| https://github.com/cloudfall-dev/cloudfall/pull/430/commits |
|
Checks
2
| https://github.com/cloudfall-dev/cloudfall/pull/430/checks |
|
Files changed
| https://github.com/cloudfall-dev/cloudfall/pull/430/files |
| Please reload this page | https://github.com/cloudfall-dev/cloudfall/pull/430/files |
|
Declare and validate a MariaDB service (S-019-1, S-019-2, S-019-10)
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#top |
|
Show all changes
2 commits
| https://github.com/cloudfall-dev/cloudfall/pull/430/files |
|
67a3c4d
Declare and validate a MariaDB service (S-019-1, S-019-2, S-019-10)
shipmill-romamo[bot] Nov 16, 2026
| https://github.com/cloudfall-dev/cloudfall/pull/430/commits/67a3c4d94ae096856fdc286c624bdac1eaf6bfeb |
|
cb10c44
Refuse a primary's own version when its replica is read first
shipmill-romamo[bot] Nov 16, 2026
| https://github.com/cloudfall-dev/cloudfall/pull/430/commits/cb10c44f6d3ac476e562e4ab2b374951fa217cf4 |
|
Clear filters
| https://github.com/cloudfall-dev/cloudfall/pull/430/files |
| Please reload this page | https://github.com/cloudfall-dev/cloudfall/pull/430/files |
| Please reload this page | https://github.com/cloudfall-dev/cloudfall/pull/430/files |
|
419-mariadb-declare.md
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-62441bae08cbe844318c91608a4b57939907db903d4201046fbce54a064e8544 |
|
service.schema.json
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
test_s019_mariadb_render.py
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-efcd054738cb39d357d15e93a31ee01ce724fc3e91c5d9225e189c3d3b9d01de |
|
app.py
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763 |
|
domain.py
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-74a40076e2210dfe9107c001ce8cdf295a295433fbfd0f306c03476faa0e430b |
|
inventory.py
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-831a4fa33ef337b71dfe913834f1e8a6a13fe7487dc380a944c090d9ae15f99b |
|
mariadb.py
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-33922860a9663094e90d07d6fbef89338303939a4157c09d9bccf1fa165fa186 |
|
requirements.py
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-44425f2c95b29f01bee648f98c4ee21d7a65f86eeb98ca6e2419ce305cb2e0d8 |
|
validation.py
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-49df42efb61e79803f6878b494a9f4020665a502abad42b22938158cf50f5f28 |
|
mariadb_project.py
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-b41838d75c57d1475b090f392fa0ec61f4fc0ea9283003eadee9a10a87c300e7 |
|
test_s019_mariadb.py
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-8bb8683fe8d2f5b6763deca3c2838ab172273a34aa147308d4b11d62b592dcb0 |
| changelog.d/419-mariadb-declare.md | https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-62441bae08cbe844318c91608a4b57939907db903d4201046fbce54a064e8544 |
|
View file
| https://github.com/cloudfall-dev/cloudfall/blob/cb10c44f6d3ac476e562e4ab2b374951fa217cf4/changelog.d/419-mariadb-declare.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cloudfall-dev/cloudfall/pull/430/{{ revealButtonHref }} |
| config/schemas/v1/service.schema.json | https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
View file
| https://github.com/cloudfall-dev/cloudfall/blob/cb10c44f6d3ac476e562e4ab2b374951fa217cf4/config/schemas/v1/service.schema.json |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cloudfall-dev/cloudfall/pull/430/{{ revealButtonHref }} |
|
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
|
| https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-c1418f7736dfd0ea0973da67e5a03a2b30c85b06ef1ec4d82d1130bf5d0c62bc |
| engine/tests/test_s019_mariadb_render.py | https://github.com/cloudfall-dev/cloudfall/pull/430/files#diff-efcd054738cb39d357d15e93a31ee01ce724fc3e91c5d9225e189c3d3b9d01de |
|
View file
| https://github.com/cloudfall-dev/cloudfall/blob/cb10c44f6d3ac476e562e4ab2b374951fa217cf4/engine/tests/test_s019_mariadb_render.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cloudfall-dev/cloudfall/pull/430/{{ revealButtonHref }} |
| Please reload this page | https://github.com/cloudfall-dev/cloudfall/pull/430/files |
| Please reload this page | https://github.com/cloudfall-dev/cloudfall/pull/430/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |
Response headers:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width
URLs of crawlers that visited me.