René's URL Explorer Experiment


Title: Read and check the project format version in config validate by shipmill-romamo[bot] · Pull Request #385 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: Read and check the project format version in config validate by shipmill-romamo[bot] · Pull Request #385 · cloudfall-dev/cloudfall

X Title: Read and check the project format version in config validate by shipmill-romamo[bot] · Pull Request #385 · cloudfall-dev/cloudfall

Description: Plan Serves: G-4 Files: sdk/src/cloudfall/project_format.py (new), sdk/src/cloudfall/project.py, sdk/src/cloudfall/app.py, sdk/tests/test_s017_project_format.py (new), existing tests whose exact warning lists change, changelog.d/375-project-format.md Order: the format reader and supported range in one SDK module, with the range passed as a parameter; cloudfall init writes [tool.cloudfall] format; the PROJECT_FORMAT_UNSUPPORTED exit (95) and a fleet resource for config validate that checks the format before validating and warns PROJECT_FORMAT_OLD; tests per criterion; fixtures and the changelog fragment Proof: tests named for S-017-2, S-017-3, S-017-6, S-017-7 and S-017-10; uv run cloudfall config validate --project config/examples Summary A project carried no format version, so one too old or too new for the installed Cloudfall was found out one CONFIG_INVALID at a time (spec S-017, "Project format version"). sdk/src/cloudfall/project_format.py is the one place holding the supported range (SUPPORTED_FORMATS: oldest 0, current 1), the PROJECT_FORMAT_UNSUPPORTED_EXIT = 95 constant (importable by the engine for #379), and the reader of [tool.cloudfall] format. No pyproject.toml, or no [tool.cloudfall] table, reads as format 0. The range is a parameter of check_project_format and of app.check_format, so a test checks another range without patching cloudfall init writes [tool.cloudfall] / format = 1 into the new pyproject.toml cloudfall config validate now takes a FormattedFleet resource that checks the format after resolving the project and before validating: below current it adds one PROJECT_FORMAT_OLD warning (context: projectFormat, current, fix); outside the range or malformed it exits PROJECT_FORMAT_UNSUPPORTED (95, a new exit code on cloudfall) with error.context holding code (project_format_too_new, project_format_too_old with fix, project_format_invalid), projectFormat, oldest, current Every other command is untouched here: the check on audit, deploy, the engine and mcp serve is #379; config upgrade writing the format is #380; docs/compatibility.md is #381 Not breaking (D-14): a format 0 project keeps validating, with a warning. Test plan sdk/tests/test_s017_project_format.py: test_s017_2_..., test_s017_3_... (no pyproject.toml; no table), test_s017_6_... (a range with oldest 1, through the same check_project_format and project_format_unsupported the command uses), test_s017_7_... ("1", -1, tool.cloudfall = 1, plus true, 1.0, a table without format, tool = 1, non-TOML), test_s017_10_... (changelog, --schema, cloudfall-engine manifest, init run as subprocesses inside a format-2 project), plus too-new and at-current cases for config validate Existing tests whose exact warning list changed: test_validation.py::test_cli_emits_structured_success (config/examples has no pyproject.toml, so format 0: the warning is accepted) and test_baseline_rename.py::test_config_validate_warns_once_per_file_and_names_the_rewrite (the old-names fixture is format 0 by design: the warning is accepted) uv run ruff check ., uv run mypy, the touched test files, and uv run cloudfall config validate --project config/examples (exit 0, one PROJECT_FORMAT_OLD) pass locally; the full suite is left to CI Fixes #375 Part of #228 🤖 Generated with Claude Code

Open Graph Description: Plan Serves: G-4 Files: sdk/src/cloudfall/project_format.py (new), sdk/src/cloudfall/project.py, sdk/src/cloudfall/app.py, sdk/tests/test_s017_project_format.py (new), existing tests whose exact w...

X Description: Plan Serves: G-4 Files: sdk/src/cloudfall/project_format.py (new), sdk/src/cloudfall/project.py, sdk/src/cloudfall/app.py, sdk/tests/test_s017_project_format.py (new), existing tests whose exact w...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.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:26ffc740-10fd-fca3-c3d9-d72f271bf630
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9538:245B83:F35D20:14C2E78:6B055909
html-safe-nonce22704111404419526f515f9ab5f9a0323baec576109c1b426f3963db5027935a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTM4OjI0NUI4MzpGMzVEMjA6MTRDMkU3ODo2QjA1NTkwOSIsInZpc2l0b3JfaWQiOiI0MDMzOTQ3NzYzMjM2NzY0MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac571788aa12810ef4d4d12204f3400fc762696412a8a81ae86b3f6bb8ae4b1148
hovercard-subject-tagpull_request:5325595070
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/385/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: G-4 Files: sdk/src/cloudfall/project_format.py (new), sdk/src/cloudfall/project.py, sdk/src/cloudfall/app.py, sdk/tests/test_s017_project_format.py (new), existing tests whose exact w...
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/385/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F385%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%2F385%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/385/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/385/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/385/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
feat/375-project-formathttps://github.com/cloudfall-dev/cloudfall/tree/feat/375-project-format
Conversation 0 https://github.com/cloudfall-dev/cloudfall/pull/385
Commits 2 https://github.com/cloudfall-dev/cloudfall/pull/385/commits
Checks 2 https://github.com/cloudfall-dev/cloudfall/pull/385/checks
Files changed https://github.com/cloudfall-dev/cloudfall/pull/385/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/385/files
Read and check the project format version in config validate https://github.com/cloudfall-dev/cloudfall/pull/385/files#top
Show all changes 2 commits https://github.com/cloudfall-dev/cloudfall/pull/385/files
2472819 Read and check the project format version in config validate shipmill-romamo[bot] Nov 15, 2026 https://github.com/cloudfall-dev/cloudfall/pull/385/commits/24728198de939ffea59b403879e4b0d2b5bc9393
a424fef Refuse a pyproject.toml that is not UTF-8 as project_format_invalid shipmill-romamo[bot] Nov 15, 2026 https://github.com/cloudfall-dev/cloudfall/pull/385/commits/a424fef9a2d3c4fec3b5d6fcb00b82a3a089c5e2
Clear filters https://github.com/cloudfall-dev/cloudfall/pull/385/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/385/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/385/files
375-project-format.md https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-c5609f1449021533c9bb53a2d5801e032a6f1d1f3394f0da748ff021394e17d6
app.py https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
project.py https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-5df93ca212d7db54a2a79a0655010cb141214a191b213bf98b2451f7a0dbbf89
project_format.py https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-bab49d65ca72126409121f8d7b95be9186c32c516e64fab9d549eebcfc36ba03
test_baseline_rename.py https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-2632f02ce3f5fef9ece0adeb5dfff4a906f6d519fbe79296abcd710bf134584b
test_s017_project_format.py https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-80da4943c77745c548dfea2e7b7fb236fb1be2774a73129fbba8485fb7144f9d
test_validation.py https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-313b956e63152cc7dd8b9b340f90155c94d8dbba8d4f7603e68c5de74555bf4b
changelog.d/375-project-format.mdhttps://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-c5609f1449021533c9bb53a2d5801e032a6f1d1f3394f0da748ff021394e17d6
View file https://github.com/cloudfall-dev/cloudfall/blob/a424fef9a2d3c4fec3b5d6fcb00b82a3a089c5e2/changelog.d/375-project-format.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/385/{{ revealButtonHref }}
sdk/src/cloudfall/app.pyhttps://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
View file https://github.com/cloudfall-dev/cloudfall/blob/a424fef9a2d3c4fec3b5d6fcb00b82a3a089c5e2/sdk/src/cloudfall/app.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/385/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
sdk/src/cloudfall/project.pyhttps://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-5df93ca212d7db54a2a79a0655010cb141214a191b213bf98b2451f7a0dbbf89
View file https://github.com/cloudfall-dev/cloudfall/blob/a424fef9a2d3c4fec3b5d6fcb00b82a3a089c5e2/sdk/src/cloudfall/project.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/385/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-5df93ca212d7db54a2a79a0655010cb141214a191b213bf98b2451f7a0dbbf89
https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-5df93ca212d7db54a2a79a0655010cb141214a191b213bf98b2451f7a0dbbf89
https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-5df93ca212d7db54a2a79a0655010cb141214a191b213bf98b2451f7a0dbbf89
https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-5df93ca212d7db54a2a79a0655010cb141214a191b213bf98b2451f7a0dbbf89
sdk/src/cloudfall/project_format.pyhttps://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-bab49d65ca72126409121f8d7b95be9186c32c516e64fab9d549eebcfc36ba03
View file https://github.com/cloudfall-dev/cloudfall/blob/a424fef9a2d3c4fec3b5d6fcb00b82a3a089c5e2/sdk/src/cloudfall/project_format.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/385/{{ revealButtonHref }}
sdk/tests/test_baseline_rename.pyhttps://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-2632f02ce3f5fef9ece0adeb5dfff4a906f6d519fbe79296abcd710bf134584b
View file https://github.com/cloudfall-dev/cloudfall/blob/a424fef9a2d3c4fec3b5d6fcb00b82a3a089c5e2/sdk/tests/test_baseline_rename.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/385/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-2632f02ce3f5fef9ece0adeb5dfff4a906f6d519fbe79296abcd710bf134584b
https://github.com/cloudfall-dev/cloudfall/pull/385/files#diff-2632f02ce3f5fef9ece0adeb5dfff4a906f6d519fbe79296abcd710bf134584b
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/385/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/385/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.