René's URL Explorer Experiment


Title: platform: interrupted install ignores a replacement runtime token and never updates deployed Workers · Issue #666 · voidzero-dev/void · GitHub

Open Graph Title: platform: interrupted install ignores a replacement runtime token and never updates deployed Workers · Issue #666 · voidzero-dev/void

X Title: platform: interrupted install ignores a replacement runtime token and never updates deployed Workers · Issue #666 · voidzero-dev/void

Description: Summary Suppose void platform install stops after it has created resources or deployed the API and proxy Workers, and the operator then has to replace the runtime token, for example because the original was revoked or rotated. Resuming w...

Open Graph Description: Summary Suppose void platform install stops after it has created resources or deployed the API and proxy Workers, and the operator then has to replace the runtime token, for example because the ori...

X Description: Summary Suppose void platform install stops after it has created resources or deployed the API and proxy Workers, and the operator then has to replace the runtime token, for example because the ori...

Opengraph URL: https://github.com/voidzero-dev/void/issues/666

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"platform: interrupted install ignores a replacement runtime token and never updates deployed Workers","articleBody":"### Summary\n\nSuppose `void platform install` stops after it has created resources or deployed the API and proxy Workers, and the operator then has to replace the runtime token, for example because the original was revoked or rotated. Resuming with `VOID_PLATFORM_RUNTIME_CLOUDFLARE_API_TOKEN=\u003creplacement> void platform install --resume --name \u003cid>` has two problems:\n\n1. The CLI keeps using the runtime token saved in the checkpoint and ignores the replacement in the environment.\n2. Even when the replacement is used, Workers that are already deployed keep their old `CF_API_TOKEN` secret.\n\n### Where this happens (v1.5.0)\n\n**The saved token wins once the install is past the draft stage.**\n\n- A resumed install counts as a \"setup draft\" only while it has no resources and no API URL: https://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-setup-draft.ts#L32-L40\n- For any later stage, `configured()` prefers the checkpoint value over the environment variable: https://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-lifecycle.ts#L915 and https://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-lifecycle.ts#L936-L939\n- The recovery for a rejected token (clear the saved token, then prompt for a replacement) only runs for a draft on a TTY: https://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-lifecycle.ts#L969-L1043\n\n  So a non-draft resume with a revoked saved token fails verification every time, and an environment replacement does not help.\n\n**Existing Workers never receive the new token.**\n\n- The install path builds its secrets without `updateExistingWorkers`, so `workerSecretUpdates` is empty: https://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-lifecycle.ts#L1154-L1169 and https://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-installer-secrets.ts#L193-L196\n- A Worker whose plan action is not `create` counts as existing: https://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-install-workers.ts#L274-L281\n- An existing Worker only receives secrets listed in `workerSecretUpdates`: https://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-installer-secrets.ts#L518-L553\n- Everything else is uploaded as `inherit` from the active version: https://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/cf-version-api.ts#L137-L142\n\nSo if the old token still verifies, the API and proxy Workers already deployed in the interrupted run keep running with it. Revoking it later breaks app deploys from the platform. Today, only the installed-platform maintenance path passes `updateExistingWorkers: true`: https://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-management.ts#L575-L585\n\n#569 made interrupted credential updates resumable on that maintenance path. The install-resume path does not appear to feed a replacement runtime token into the same mechanism.\n\n### Synthetic repro\n\n1. Run `void platform install --workers-dev` and interrupt it after the API and proxy Workers are deployed but before it finishes, for example by stopping at a later failing step.\n2. Revoke the runtime token in Cloudflare and create a replacement with the same permissions.\n3. Run `VOID_PLATFORM_RUNTIME_CLOUDFLARE_API_TOKEN=\u003creplacement> void platform install --resume --name \u003cid>`.\n4. Runtime token verification uses the saved (revoked) token and fails.\n5. Variant: if step 2 does not revoke the old token, the resume completes, but the API and proxy Workers still hold the old token.\n\n### Questions\n\n1. On a non-draft resume, should an explicit `VOID_PLATFORM_RUNTIME_CLOUDFLARE_API_TOKEN` win over the saved checkpoint value, as it already does for drafts?\n2. When the resolved runtime token differs from the saved one, should resume push `CF_API_TOKEN` to the existing API and proxy Workers through the existing `workerSecretUpdates` and intent mechanism? Or would you prefer that resume refuses and points to a separate command?\n\nI'm happy to open a PR for whichever behaviour you prefer.\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:27Z","url":"https://github.com/voidzero-dev/void/issues/666"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b2d51327-bcd8-a6f1-f427-c516bb1dbc4d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8B90:29D44:3B160F:5108CB:6AFB98BD
html-safe-nonce13df50a144e87adee9a38b470151e58da405575661890f5fa1b6b180e2e5f9d3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjkwOjI5RDQ0OjNCMTYwRjo1MTA4Q0I6NkFGQjk4QkQiLCJ2aXNpdG9yX2lkIjoiMjMwNjk4NTk4NzcwNTM3OTAwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8cdf28fd986eed901a0fd4eeea04a6e060c88dfd3a39eb279290d90e8d3e0f9f
hovercard-subject-tagissue:6159630635
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/voidzero-dev/void/666/issue_layout
twitter:imagehttps://opengraph.githubassets.com/75ac69a3a0d64579eb0121d15cb698c9cefd5223428e8b8a6d483a2973333ef1/voidzero-dev/void/issues/666
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/75ac69a3a0d64579eb0121d15cb698c9cefd5223428e8b8a6d483a2973333ef1/voidzero-dev/void/issues/666
og:image:altSummary Suppose void platform install stops after it has created resources or deployed the API and proxy Workers, and the operator then has to replace the runtime token, for example because the ori...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameiPLAYCAFE-dev
hostnamegithub.com
expected-hostnamegithub.com
None4f01efe06174a5ba6342fd58e42d02295e0675bedbb465d6bef2dbaec8e46556
turbo-cache-controlno-preview
go-importgithub.com/voidzero-dev/void git https://github.com/voidzero-dev/void.git
octolytics-dimension-user_id149750581
octolytics-dimension-user_loginvoidzero-dev
octolytics-dimension-repository_id1164437080
octolytics-dimension-repository_nwovoidzero-dev/void
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1164437080
octolytics-dimension-repository_network_root_nwovoidzero-dev/void
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea52db8866b6543b4e83730cd6a6b1360f1a9e4dc
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/voidzero-dev/void/issues/666#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvoidzero-dev%2Fvoid%2Fissues%2F666
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%2Fvoidzero-dev%2Fvoid%2Fissues%2F666
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=voidzero-dev%2Fvoid
Reloadhttps://github.com/voidzero-dev/void/issues/666
Reloadhttps://github.com/voidzero-dev/void/issues/666
Reloadhttps://github.com/voidzero-dev/void/issues/666
voidzero-devhttps://github.com/voidzero-dev
voidhttps://github.com/voidzero-dev/void
Codehttps://github.com/voidzero-dev/void
Issues31 (31)https://github.com/voidzero-dev/void/issues
Pull requests16 (16)https://github.com/voidzero-dev/void/pulls
Discussionshttps://github.com/voidzero-dev/void/discussions
Actionshttps://github.com/voidzero-dev/void/actions
Security and qualityhttps://github.com/voidzero-dev/void/security
Insightshttps://github.com/voidzero-dev/void/pulse
https://github.com/voidzero-dev/void
New issuehttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/666
New issuehttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/666
#682https://github.com/voidzero-dev/void/pull/682
platform: interrupted install ignores a replacement runtime token and never updates deployed Workershttps://github.com/voidzero-dev/void/issues/666#top
#682https://github.com/voidzero-dev/void/pull/682
https://github.com/Brooooooklyn
https://github.com/iPLAYCAFE-dev
iPLAYCAFE-devhttps://github.com/iPLAYCAFE-dev
on Nov 2, 2026https://github.com/voidzero-dev/void/issues/666#issue-6159630635
void/packages/void/src/cli/platform-setup-draft.tshttps://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-setup-draft.ts#L32-L40
afeeff6https://github.com/voidzero-dev/void/commit/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6
void/packages/void/src/cli/platform-lifecycle.tshttps://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-lifecycle.ts#L915
afeeff6https://github.com/voidzero-dev/void/commit/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6
void/packages/void/src/cli/platform-lifecycle.tshttps://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-lifecycle.ts#L936-L939
afeeff6https://github.com/voidzero-dev/void/commit/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6
void/packages/void/src/cli/platform-lifecycle.tshttps://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-lifecycle.ts#L969-L1043
afeeff6https://github.com/voidzero-dev/void/commit/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6
void/packages/void/src/cli/platform-lifecycle.tshttps://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-lifecycle.ts#L1154-L1169
afeeff6https://github.com/voidzero-dev/void/commit/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6
void/packages/void/src/cli/platform-installer-secrets.tshttps://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-installer-secrets.ts#L193-L196
afeeff6https://github.com/voidzero-dev/void/commit/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6
void/packages/void/src/cli/platform-install-workers.tshttps://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-install-workers.ts#L274-L281
afeeff6https://github.com/voidzero-dev/void/commit/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6
void/packages/void/src/cli/platform-installer-secrets.tshttps://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-installer-secrets.ts#L518-L553
afeeff6https://github.com/voidzero-dev/void/commit/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6
void/packages/void/src/cli/cf-version-api.tshttps://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/cf-version-api.ts#L137-L142
afeeff6https://github.com/voidzero-dev/void/commit/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6
void/packages/void/src/cli/platform-management.tshttps://github.com/voidzero-dev/void/blob/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6/packages/void/src/cli/platform-management.ts#L575-L585
afeeff6https://github.com/voidzero-dev/void/commit/afeeff6a4d72682f6cfb6c947e9a2c29393c00a6
#569https://github.com/voidzero-dev/void/pull/569
@iPLAYCAFE-devhttps://github.com/iPLAYCAFE-dev
Brooooooklynhttps://github.com/Brooooooklyn
on Nov 3, 2026https://github.com/voidzero-dev/void/issues/666#event-34978497246
Brooooooklynhttps://github.com/Brooooooklyn
completedhttps://github.com/voidzero-dev/void/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
2ecbb7fhttps://github.com/voidzero-dev/void/commit/2ecbb7f6da0db46e4c2780a927cf5820ff379664
on Nov 3, 2026https://github.com/voidzero-dev/void/issues/666#event-34984936641
yangshunhttps://github.com/yangshun
on Nov 3, 2026https://github.com/voidzero-dev/void/issues/666#event-34987023757
fix(platform): use a replacement runtime token on install resume (voi…https://github.com/yangshun/void/commit/2ecbb7f6da0db46e4c2780a927cf5820ff379664
voi…https://github.com/voidzero-dev/void/pull/682
https://docs.github.com/articles/closing-issues-via-commit-messages
2ecbb7fhttps://github.com/yangshun/void/commit/2ecbb7f6da0db46e4c2780a927cf5820ff379664
Sign up for freehttps://github.com/signup?return_to=https://github.com/voidzero-dev/void/issues/666
Sign in to commenthttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/666
Brooooooklynhttps://github.com/Brooooooklyn
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

Viewport: width=device-width


URLs of crawlers that visited me.