Skip to content

fix(worker): 修复提交 422(client_payload 超过 10 个顶层属性)#12

Merged
eggfly merged 1 commit into
mainfrom
fix/dispatch-payload-10-props
Jul 21, 2026
Merged

fix(worker): 修复提交 422(client_payload 超过 10 个顶层属性)#12
eggfly merged 1 commit into
mainfrom
fix/dispatch-payload-10-props

Conversation

@eggfly

@eggfly eggfly commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

带商店信息提交时 client_payload 顶层属性达 12 个,超过 GitHub repository_dispatch 的 10 个上限,返回 422。把 url/sha256/size 收进 binary 对象(含 store 时 10 个),workflow 改读 client_payload.binary.*。同步更新 packages 仓库拷贝(另一 PR)。

Made with Cursor

…-property cap

Submitting with store metadata pushed client_payload to 12 top-level
properties; GitHub's repository_dispatch API rejects >10 with HTTP 422
("No more than 10 properties are allowed"). Group url/sha256/size under a
single `binary` key (10 with store, 9 without) and read them as
client_payload.binary.* in process-web-submission.

Co-authored-by: Cursor <cursoragent@cursor.com>
@eggfly
eggfly merged commit 5b1371e into main Jul 21, 2026
@eggfly
eggfly deleted the fix/dispatch-payload-10-props branch July 21, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant