Releasing a new build breaks non-`GET` RPC for open pages
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript, vite
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 37k
- Forks
- 1.2k
- Avg merge
- 8h 43m
- Merged PRs (30d)
- 365
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from solidjs/solid
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 38/100
Maintainers usually reply within 1 day
-
[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 handlesPossibly taken @MilindChatrabhuji claimed this 2 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
[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)May be free again A pull request for this issue was closed without being merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Maintainers usually reply within 1 day
Similar issues
-
agentscan:mixed-signals pending triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
vueuse/vueuse#5737 · 2 comments ·
Maintainers usually reply within 9 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Marker-Inc-Korea/AutoRAG#2288 ·
Maintainers usually reply within 1 day
-
Resources: New templates of Guangzhou Metro Line 13Possibly taken @rmt-svc claimed this today. Openresources
Difficulty 1/5 Under an hour Newbie friendliness 76/100
railmapgen/rmg-templates#2730 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
web
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day