Releasing a new build breaks non-`GET` RPC for open pages
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript, vite
调研方向
Start with the linked gist repro and trace how the Vite plugin handles build IDs on non-GET RPC requests. The issue asks for a server opt-out or a shape-based compatibility check, but does not identify the relevant files or define compatibility behavior. Done means open pages can keep making compatible RPC calls after a deploy; the expected compatibility rules need to be settled first.
由索引模型根据 Issue 内容生成。
描述
I'm observing that every time I deploy, non-GET RPC breaks for every open page. The server detects any time the inbound request has a different build ID than the running app, and the Vite plugin configures the server to reject all such requests, without a clean way to opt out.
This is... a very suboptimal architecture for me. It's a poor user experience for the page to simply stop working just because I did a deploy that has nothing to do with RPC. SolidStart tried to resolve this by doing a page reload when it hit the error, but that just causes different problems.
Can we revisit this? I'd at least like an opt-out for the server. But really, I'd much rather have a shape-based compatibility check that mostly gets things right, rather than a check that's guaranteed to never miss anything, but does that by breaking everything every time.
Here's a simple repro, but I'm not sure its necessary.
- 主要语言
- TypeScript
- 星标
- 37k
- 派生
- 1.2k
- 平均合并
- 8 小时 43 分钟
- 30 天内合并 PR
- 365
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
solidjs/solid 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 38/100
维护者通常 1 天内回复
-
[2.0.4] Nested `<Errored>`: the outer boundary stays on an error the inner one rethrew, after the next error is one the inner one handles可能已有人在做 @MilindChatrabhuji 于 2 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
维护者通常 1 天内回复
-
[2.0.4] A waiting action started from a cleanup holds back an effect's write that reacts to the same landing (follow-up to #5251)可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 4/5 3-5 天 新手友好度 38/100
维护者通常 1 天内回复
相似的 Issue
-
agents-window vscode api adoption
难度 2/5 1-3 小时 新手友好度 77/100
alefragnani/vscode-copy-word#126 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
opensro-dev/opensro#4949 ·
维护者通常 1 天内回复
-
agent:linux priority:high
难度 2/5 1-3 小时 新手友好度 76/100
fa0311/better-tokuly#1204 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复
-
enhancement impeccable priority: low
难度 2/5 1-3 小时 新手友好度 78/100
nledford/Ladderback#1891 ·
维护者通常 1 天内回复