René's URL Explorer Experiment


Title: config upgrade brings a project to the current format (S-017-8, 9) by shipmill-romamo[bot] · Pull Request #390 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: config upgrade brings a project to the current format (S-017-8, 9) by shipmill-romamo[bot] · Pull Request #390 · cloudfall-dev/cloudfall

X Title: config upgrade brings a project to the current format (S-017-8, 9) by shipmill-romamo[bot] · Pull Request #390 · cloudfall-dev/cloudfall

Description: Summary cloudfall config upgrade becomes the one way forward of spec 017: it brings a project to the current format. upgrade.py keeps a registry of steps keyed by the format each starts from (UPGRADE_STEPS); step 0 is today's D-11 rename plus D-16's record move, unchanged. The upgrade runs each step from the project's format to the current one, in order, each step's whole plan checked before its first write It then writes format = into pyproject.toml with a minimal textual edit (no new dependency): a missing file is created with the table, a file without the table gets it appended (keeping its line endings), a format under a [tool.cloudfall] header gets its value replaced. The result is parsed back and must equal the old document with only the format changed; otherwise (an inline table or dotted keys) it refuses with CONFLICT / upgrade_format_unwritable before any write The format check is explicit in upgrade.py (upgradable_format): every other command's check without the too-old refusal. config upgrade acquires through a new UpgradableFleet, so the check runs before validation, and a too-new or invalid format exits PROJECT_FORMAT_UNSUPPORTED (95) with nothing changed. This keeps config upgrade out of the too-old refusal whatever #379 does to Fleet.acquire The answer gains from_format and format (additive; status, project, upgraded, effect unchanged). effect is updated when a file changed or the format was written, so a format 0 project with nothing to rename is updated, and a format 1 project is noop config/examples and demo/ are not upgraded here: no test needs it, and they still validate with PROJECT_FORMAT_OLD. Plan Serves: G-4 Files: sdk/src/cloudfall/upgrade.py, sdk/src/cloudfall/app.py, sdk/src/cloudfall/commands.py, sdk/tests/test_s017_upgrade.py, changelog.d/380-upgrade-format.md Order: the S-017-8 and S-017-9 tests first (they fail on main: no format written, a too-new project upgraded); then a registry of steps keyed by the format they start from in upgrade.py (step 0 = D-11's rewrite plus D-16's move), the format check with the too-old refusal skipped, and a byte-preserving write of format = into pyproject.toml; then config upgrade checks the format before validating and answers from_format and format Proof: sdk/tests/test_s017_upgrade.py (S-017-8, S-017-9), the existing config upgrade tests in test_baseline_rename.py and test_record_directory.py, ruff, mypy, config validate --project config/examples Test notes New sdk/tests/test_s017_upgrade.py: test_s017_8_* (CLI upgrade of the deprecated fixture with a commented pyproject.toml: names rewritten, format appended with every other byte kept, next config validate has no warnings, second run noop with no file changed; plus the byte-exact write for no file, an empty file, CRLF without a final newline, format = 0 with a comment, a quoted header), test_s017_9_* (an injected range oldest = 1 upgrades a format 0 project to 1, no monkeypatching; a too-new project is refused with project_format_too_new and no file changed), an invalid format refused, an inline-table and a dotted-key tool.cloudfall refused with nothing changed, a format 0 project with nothing to rename still updated, a format 1 project noop Passed locally: uv run ruff check ., uv run mypy, uv run pytest sdk/tests/test_s017_upgrade.py sdk/tests/test_baseline_rename.py sdk/tests/test_record_directory.py sdk/tests/test_s017_project_format.py sdk/tests/test_commands.py sdk/tests/test_app.py (80 passed), uv run cloudfall config validate --project config/examples (exit 0, one PROJECT_FORMAT_OLD) The full suite is left to CI Fixes #380 Part of #228 🤖 Generated with Claude Code

Open Graph Description: Summary cloudfall config upgrade becomes the one way forward of spec 017: it brings a project to the current format. upgrade.py keeps a registry of steps keyed by the format each starts from (UPGR...

X Description: Summary cloudfall config upgrade becomes the one way forward of spec 017: it brings a project to the current format. upgrade.py keeps a registry of steps keyed by the format each starts from (UPGR...

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

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:4a523688-8c66-0743-a79d-1b1eb34a4c05
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD8F4:352B10:EA02A9:1409E58:6B0557B1
html-safe-noncefddab17fdc831d8b6884bf25f39cc95f71a7a92c628e3f4672f5d92ee3224789
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEY0OjM1MkIxMDpFQTAyQTk6MTQwOUU1ODo2QjA1NTdCMSIsInZpc2l0b3JfaWQiOiI4NzcxMDM3MTAzOTIxNjQ5NTg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac743c8e532884b28a98fa56c055ee290a84928570e3a2f35c74244b89e8ac42e8
hovercard-subject-tagpull_request:5325984496
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/390/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 cloudfall config upgrade becomes the one way forward of spec 017: it brings a project to the current format. upgrade.py keeps a registry of steps keyed by the format each starts from (UPGR...
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/390/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F390%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%2F390%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/390/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/390/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/390/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/380-upgrade-formathttps://github.com/cloudfall-dev/cloudfall/tree/feat/380-upgrade-format
Conversation 0 https://github.com/cloudfall-dev/cloudfall/pull/390
Commits 2 https://github.com/cloudfall-dev/cloudfall/pull/390/commits
Checks 2 https://github.com/cloudfall-dev/cloudfall/pull/390/checks
Files changed https://github.com/cloudfall-dev/cloudfall/pull/390/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/390/files
config upgrade brings a project to the current format (S-017-8, 9) https://github.com/cloudfall-dev/cloudfall/pull/390/files#top
Show all changes 2 commits https://github.com/cloudfall-dev/cloudfall/pull/390/files
f132ca6 Bring a project to the current format in config upgrade shipmill-romamo[bot] Nov 15, 2026 https://github.com/cloudfall-dev/cloudfall/pull/390/commits/f132ca6d675aabbb6fcce79198e1ec01a18465f9
98c748b Parenthesize the implicit concatenation in the CRLF upgrade case (ISC… shipmill-romamo[bot] Nov 16, 2026 https://github.com/cloudfall-dev/cloudfall/pull/390/commits/98c748b0b338b091edb54a9c0c3c1ed2ff378343
Clear filters https://github.com/cloudfall-dev/cloudfall/pull/390/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/390/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/390/files
380-upgrade-format.md https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-e76df2b9d3ddd03d6af6c41fc3a4f85076aeeb765e2c168a0a8deeb17ba10372
app.py https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
commands.py https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-e11cc5881f876e11cf81d9bcb39f0fb74710976f27a01a99fb979dfc76c09cc1
upgrade.py https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-1981b466367e798bf9d2a55f656b183892ca49fdea8212d162f5c0a2840538c7
test_s017_upgrade.py https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-b675ab2297e8c79d4d22424366cca501c0c2678c07208fb5b7060c3e6260bad6
changelog.d/380-upgrade-format.mdhttps://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-e76df2b9d3ddd03d6af6c41fc3a4f85076aeeb765e2c168a0a8deeb17ba10372
View file https://github.com/cloudfall-dev/cloudfall/blob/98c748b0b338b091edb54a9c0c3c1ed2ff378343/changelog.d/380-upgrade-format.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/390/{{ revealButtonHref }}
sdk/src/cloudfall/app.pyhttps://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
View file https://github.com/cloudfall-dev/cloudfall/blob/98c748b0b338b091edb54a9c0c3c1ed2ff378343/sdk/src/cloudfall/app.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/390/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
sdk/src/cloudfall/commands.pyhttps://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-e11cc5881f876e11cf81d9bcb39f0fb74710976f27a01a99fb979dfc76c09cc1
View file https://github.com/cloudfall-dev/cloudfall/blob/98c748b0b338b091edb54a9c0c3c1ed2ff378343/sdk/src/cloudfall/commands.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/390/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-e11cc5881f876e11cf81d9bcb39f0fb74710976f27a01a99fb979dfc76c09cc1
https://github.com/cloudfall-dev/cloudfall/pull/390/files#diff-e11cc5881f876e11cf81d9bcb39f0fb74710976f27a01a99fb979dfc76c09cc1
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/390/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/390/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.