Title: platform: no rollbackSafeFrom edge for 1.3.0–1.5.0 ahead of migration 0063 · Issue #664 · voidzero-dev/void · GitHub
Open Graph Title: platform: no rollbackSafeFrom edge for 1.3.0–1.5.0 ahead of migration 0063 · Issue #664 · voidzero-dev/void
X Title: platform: no rollbackSafeFrom edge for 1.3.0–1.5.0 ahead of migration 0063 · Issue #664 · voidzero-dev/void
Description: Question Will the release that ships migration 0063 also add rollbackSafeFrom edges for platforms currently on 1.3.0, 1.4.0 or 1.5.0? I'm asking before the next release goes out, because without those edges a 1.5.0 platform would not be ...
Open Graph Description: Question Will the release that ships migration 0063 also add rollbackSafeFrom edges for platforms currently on 1.3.0, 1.4.0 or 1.5.0? I'm asking before the next release goes out, because without th...
X Description: Question Will the release that ships migration 0063 also add rollbackSafeFrom edges for platforms currently on 1.3.0, 1.4.0 or 1.5.0? I'm asking before the next release goes out, because withou...
Opengraph URL: https://github.com/voidzero-dev/void/issues/664
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"platform: no rollbackSafeFrom edge for 1.3.0–1.5.0 ahead of migration 0063","articleBody":"### Question\n\nWill the release that ships migration `0063` also add `rollbackSafeFrom` edges for platforms currently on 1.3.0, 1.4.0 or 1.5.0? I'm asking before the next release goes out, because without those edges a 1.5.0 platform would not be able to upgrade to it.\n\n### What I see\n\n`preparePlatformDatabaseConnection` checks the edges only when migrations are pending and the installation already has Workers. In that case it refuses unless the target's `rollbackSafeFrom` lists the source `{ platformVersion, schemaDigest }`:\n\nhttps://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-installer-database.ts#L403-L433\n\nThe runtime build copies `compatibility.json` into the runtime manifest unchanged:\n\nhttps://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/platform/scripts/build-runtime.mjs#L215-L222\n\n- Migrations `0061` and `0062` first shipped in 1.3.0. Platforms on 1.3.0, 1.4.0 and 1.5.0 therefore all have the `0000`–`0062` schema. No upgrade between those versions had a pending migration, so none of them needed an edge.\n- #631 (a274d4f) adds `0063_oauth_refresh_tokens.sql` but does not touch `compatibility.json`: https://github.com/voidzero-dev/void/commit/a274d4fae8636bfa844eef4be4c6b8a43169fb51\n- On current `main`, the list still ends at 1.2.1: https://github.com/voidzero-dev/void/blob/291d353d44506b7475d6c7d5239b7915315eaf4c/platform/packages/api/drizzle/compatibility.json#L89-L101\n\nFor comparison, when #551 added `0061`, it also added edges for the versions that were released at the time (1.1.11 to 1.2.1): https://github.com/voidzero-dev/void/commit/36a3697fb367d9fd7f7a2546216e27a8651c27f5\n\nIf a release shipped from `main` as it is now, upgrading a 1.5.0 platform would stop with:\n\n```\nplatform: Void Platform 1.5.0 cannot safely roll back after migrating database schema \u003cdigest of 0000–0062> to this release. Upgrade through a supported intermediate version or install into a fresh database.\n```\n\nNo intermediate version exists for that schema. Platforms on 1.2.1 or older, and fresh installs, are not affected.\n\n### Questions\n\n1. Will the release that includes `0063` add `{1.3.0 | 1.4.0 | 1.5.0, digest(0000–0062)}` to `rollbackSafeFrom`? `0063` only adds a new table with a foreign key to `oauth_grants`, so it looks additive for the older runtimes. I understand that is something for you to verify.\n2. If those edges won't be added, what is the supported upgrade path for a 1.5.0 platform?\n\nI know that `schema-ci.md` says to \"add an edge only after testing that compatibility\", so a lag here may be intentional:\nhttps://github.com/voidzero-dev/void/blob/291d353d44506b7475d6c7d5239b7915315eaf4c/docs/guide/platform/development/schema-ci.md#L15-L17\nThat is why I'm asking here instead of opening a PR: only you can test those edges.\n\n_Prepared with Claude Code on behalf of @iPLAYCAFE-dev; reviewed by the maintainer of this account._\n","author":{"url":"https://github.com/iPLAYCAFE-dev","@type":"Person","name":"iPLAYCAFE-dev"},"datePublished":"2026-11-02T09:16:11Z","url":"https://github.com/voidzero-dev/void/issues/664"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0db65a34-d3fd-3932-326f-c35f6247b711 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC02:1EFDE9:20AE2BA:2C1B1FB:6AFBAA24 |
| html-safe-nonce | 2790484676fad706a1de6f9675e2acbbe6af46f2131092bddca9fbfb372b22d7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzAyOjFFRkRFOToyMEFFMkJBOjJDMUIxRkI6NkFGQkFBMjQiLCJ2aXNpdG9yX2lkIjoiMTE5NjI5MzQ1MDkzMDM2NTgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ca26046774d918c025922d912e08f7f6297092bf8a0bf65968a63c2ca23cedb5 |
| hovercard-subject-tag | issue:6159626688 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/voidzero-dev/void/664/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f67a6322e1def4ea62f33f70443b398475a4a45095f9d42ee96898bc628278f9/voidzero-dev/void/issues/664 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f67a6322e1def4ea62f33f70443b398475a4a45095f9d42ee96898bc628278f9/voidzero-dev/void/issues/664 |
| og:image:alt | Question Will the release that ships migration 0063 also add rollbackSafeFrom edges for platforms currently on 1.3.0, 1.4.0 or 1.5.0? I'm asking before the next release goes out, because without th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iPLAYCAFE-dev |
| hostname | github.com |
| expected-hostname | github.com |
| None | e25fbd830d3e6ad0e8935c105cf4fdc70c593dffcd27bb45b790ae4fece5ea55 |
| turbo-cache-control | no-preview |
| go-import | github.com/voidzero-dev/void git https://github.com/voidzero-dev/void.git |
| octolytics-dimension-user_id | 149750581 |
| octolytics-dimension-user_login | voidzero-dev |
| octolytics-dimension-repository_id | 1164437080 |
| octolytics-dimension-repository_nwo | voidzero-dev/void |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1164437080 |
| octolytics-dimension-repository_network_root_nwo | voidzero-dev/void |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 08c8f17f9d27054a108b8b6254e405de0151f660 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width