Keep dependency updates compatible with the OpenAI continuation patch
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- github-actions, typescript
- 领域
- ci-cd, devops, testing-qa
调研方向
首先复现计划中的 pnpm up "@tanstack/*" --latest 步骤,并针对当前的依赖补丁运行 tests/openai-responses-tool-continuation.test.ts。检查 issue 中描述的 updater workflow、pnpm 配置和补丁处理方式。当 TanStack AI 系列可以更新且不会导致 continuation 行为回归,并且 workflow 能够执行到 lint 和 build 时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Evidence
The scheduled Update TanStack Dependencies run failed before lint or build on August 30. The exact pnpm up "@tanstack/*" --latest step exits with ERR_PNPM_UNUSED_PATCH because it moves @tanstack/openai-base away from the patched 0.10.5 version.
I reproduced the same failure from current main at 6584b153. In an isolated worktree, allowing unused patches let the update finish and changed @tanstack/ai-openai from 0.22.0 to 0.22.3, with @tanstack/openai-base moving from patched 0.10.5 to unpatched 0.10.8. The focused tests/openai-responses-tool-continuation.test.ts test then failed because the second request had no previous_response_id. The current patch is still required for sequential server-tool turns with provider-side reasoning.
Exact title, body, workflow, patch-package, and keyword searches found no open issue or PR that owns this failure.
Expected impact
The weekly dependency updater is currently guaranteed to fail whenever it tries the latest TanStack AI family. It never reaches the repository lint or build steps, so unrelated TanStack dependency updates also stop. Simply setting allowUnusedPatches or deleting the patch would make the workflow advance while regressing the Builder tool-continuation contract.
Proposed direction
Keep the focused continuation test as the release gate, then choose one owner for the patched AI family:
- Preferred long-term direction: ship the continuation behavior upstream, update the AI packages to the first release containing it, prove the focused test passes without the local patch, and delete the patch.
- Until that release exists: upgrade the pinned pnpm from
11.1.0to a version that supportsupdate.ignoreDepsand exclude the cohesive TanStack AI package set from the scheduled bulk updater. Upgrade that set separately, carrying the patch forward only after its focused test and the full suite pass.
Alternatives and tradeoffs
- Manually port the 321-line patch to every new
openai-baserelease. This keeps AI packages moving, but each port needs careful review against upstream adapter changes and should not be committed straight tomainby a broad scheduled update. - Let
pnpm upignore unused patches. This unblocks the job but silently removes required runtime behavior, and the isolated focused test already proves the regression. - Exclude only
@tanstack/ai-openai. This may still let related direct or transitive AI packages move out of a tested version set, so excluding and reviewing the cohesive AI family is safer.
Decision needed
@tannerlinsley, should we first upgrade pnpm and hold the TanStack AI family out of the weekly bulk updater, or prioritize landing the continuation behavior upstream and keep the weekly job blocked until a release contains it?
- 主要语言
- TypeScript
- 星标
- 1.1k
- 派生
- 401
- 平均合并
- 16 小时 8 分钟
- 30 天内合并 PR
- 58
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
TanStack/tanstack.com 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
TanStack/tanstack.com#1293 ·
-
source-audit
难度 1/5 1 小时以内 新手友好度 84/100
TanStack/tanstack.com#1195 ·
-
source-audit
难度 2/5 1-3 小时 新手友好度 68/100
TanStack/tanstack.com#1194 · 2 条评论 ·
-
source-audit
难度 2/5 1-3 小时 新手友好度 72/100
TanStack/tanstack.com#1177 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 64/100
TanStack/tanstack.com#1059 ·
查看 TanStack/tanstack.com 的全部 Issue
相似的 Issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
-
Crush 未关闭
难度 1/5 1 小时以内 新手友好度 85/100
catppuccin/catppuccin#3125 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
ElementsProject/cln-application#167 · 1 条评论 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 75/100
Quantco/pnpm-licenses#17 ·
-
难度 2/5 1-3 小时 新手友好度 75/100