Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Cloudflare deploy fails when the newest version has no bindings

已关闭
#457 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@aayushbtw 已经在做这个了。

开始于 2026年10月16日。

  • #458 来自 @aayushbtw —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
停滞
技术栈
typescript
领域
cloud

调研方向

Start with the versions.view operation in packages/void/src/cli/cf-version-runner.ts, where the issue says versions without bindings are treated as unreadable. Check the Cloudflare response for a version with no bindings and trace how that affects secret inheritance verification. Done means a binding-free version can be read and deploy proceeds to upload; pull request #458 is already open.

由索引模型根据 Issue 内容生成。

描述

void deploy --platform cloudflare stops before uploading when the Worker's newest version has no bindings:

◇ Checking the current Worker deployment...
■ deploy: could not verify which Worker Version would supply inherited secrets; production traffic is unchanged.

cf workers versions get leaves out bindings for a version that has none. The versions.view operation in packages/void/src/cli/cf-version-runner.ts requires bindings to be an array, so it reports the version as unreadable and the secret-inheritance check stops.

I got such a version when a build ran through vp run build, which drops Void's deploy env vars, so the upload had no __VOID_VERSION_METADATA binding. A version that another tool uploaded without bindings would cause the same failure.

Fix: #458

void 1.1.11, cf 1.0.0-beta.17, direct Cloudflare target.

主要语言
TypeScript
星标
402
派生
32
平均合并
12 小时 28 分钟
30 天内合并 PR
77

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

voidzero-dev/void 的其他 Issue

查看 voidzero-dev/void 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。