fix(worker): 修复提交 422(client_payload 超过 10 个顶层属性)#12
Merged
Conversation
…-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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
带商店信息提交时 client_payload 顶层属性达 12 个,超过 GitHub repository_dispatch 的 10 个上限,返回 422。把 url/sha256/size 收进 binary 对象(含 store 时 10 个),workflow 改读 client_payload.binary.*。同步更新 packages 仓库拷贝(另一 PR)。
Made with Cursor