Sheets `clear` operation breaks with HTTP/2
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- node.js, typescript
- 领域
- api, networking
调研方向
从链接的公开 gist 开始,在启用 HTTP/2 的情况下重现 Sheets 的 clear 操作,然后将其与正常工作的 HTTP/1.1 行为进行比较。跟踪 gist 使用的客户端路径,并通过观察成功的 clear 响应以及确认指定的 sheet 确实已被清除来验证修复。
由索引模型根据 Issue 内容生成。
描述
Please make sure you have searched for information in the following guides.
- Search the issues already opened: https://github.com/GoogleCloudPlatform/google-cloud-node/issues
- Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+node.js
- Check our Troubleshooting guide: https://github.com/googleapis/google-cloud-node/blob/main/docs/troubleshooting.md
- Check our FAQ: https://github.com/googleapis/google-cloud-node/blob/main/docs/faq.md
- Check our libraries HOW-TO: https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md
- Check out our authentication guide: https://github.com/googleapis/google-auth-library-nodejs
- Check out handwritten samples for many of our APIs: https://github.com/GoogleCloudPlatform/nodejs-docs-samples
A screenshot that you have tested with "Try this API".
N/A
Link to the code that reproduces this issue. A link to a public Github Repository or gist with a minimal reproduction.
https://gist.github.com/neil-lobo/e632aae751fe7aec8bbc29a42c585015
A step-by-step description of how to reproduce the issue, based on the linked reproduction.
- Save
credentials.jsonfile with correct access to sheet to root of project - Replace
[sheet ID]with accessible sheet - Run script
- Observe output
- Turn off http2
- Observe output
A clear and concise description of what the bug is, and what you expected to happen.
Using the http2 option, the clear operation does not work. I assume https://github.com/googleapis/google-api-nodejs-client/issues/1801#issuecomment-524921412 is no longer the case since there is an explicit option to enable http2 now.
Referring to the gist, the expected output is
finish get 200
finish clear 200
<end of program>
however the output is
finish get 200
<end of program>
Disabling http2 produces the correct output. Note that this is not simply a response issue, the operation itself does not reflect in the specified sheet.
A clear and concise description WHY you expect this behavior, i.e., was it a recent change, there is documentation that points to this behavior, etc. **
Breaks usage
- 主要语言
- TypeScript
- 星标
- 12.3k
- 派生
- 2k
- 平均合并
- 3 天 10 小时
- 30 天内合并 PR
- 9
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
googleapis/google-api-nodejs-client 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 86/100
googleapis/google-api-nodejs-client#4064 ·
维护者通常 2 天内回复
-
难度 4/5 1-2 天 新手友好度 5/100
googleapis/google-api-nodejs-client#4067 ·
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 1/100
googleapis/google-api-nodejs-client#4063 ·
维护者通常 2 天内回复
-
eMudhra/emSign CA compromise (October 2026): what Cloud SDK Node.js Libraries developers need to do未关闭
难度 1/5 1 小时以内 新手友好度 10/100
googleapis/google-api-nodejs-client#4062 ·
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 10/100
googleapis/google-api-nodejs-client#4061 ·
维护者通常 2 天内回复
查看 googleapis/google-api-nodejs-client 的全部 Issue
相似的 Issue
-
bug UI
难度 2/5 1-3 小时 新手友好度 70/100
wardian-app/Wardian#1746 ·
维护者通常 1 天内回复
-
area: interop area: sip-core v3
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
难度 2/5 1-3 小时 新手友好度 72/100
openclaw/openclaw#198551 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复