Releasing a new build breaks non-`GET` RPC for open pages
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript, vite
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 37k
- Forks
- 1.2k
- Ø Merge
- 8 Std. 43 Min.
- Gemergte PRs (30 T.)
- 365
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus solidjs/solid
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 38/100
Maintainer antworten meist innerhalb von 1 Tag
-
[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 handlesEvtl. vergeben @MilindChatrabhuji hat das vor 2 Tagen übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
Maintainer antworten meist innerhalb von 1 Tag
-
[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)Evtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 38/100
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
agentscan:mixed-signals pending triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
vueuse/vueuse#5737 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 9 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Marker-Inc-Korea/AutoRAG#2288 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Resources: New templates of Guangzhou Metro Line 13Evtl. vergeben @rmt-svc hat das heute übernommen. Offenresources
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 76/100
railmapgen/rmg-templates#2730 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
web
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag