Skip to content

Commit 6acaf01

Browse files
committed
changeset: state the way out as prose, not a migration table (no ledger entry — nothing is retired)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ADLdAs2pVcH17h9tZKWMBg
1 parent 94d13f6 commit 6acaf01

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.changeset/driver-turso-ws-timeout-refusal.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ A datasource authors the window as `config.timeoutMs`; the datasource seam maps
2929

3030
**What is deliberately NOT done**: routing a `wss://` url over HTTP because `timeout` is set. That would change the wire transport behind the author's back and is a contract decision, not a driver's; the refusal changes no wire behaviour.
3131

32-
## Migration
33-
34-
| Wrote | Write instead |
35-
| --- | --- |
36-
| `url: 'wss://…'` (or `ws://…`) beside `timeout: N` (driver) / `timeoutMs: N` (datasource) | keep the window and spell the url `libsql://…` / `https://…` — bounded, and `libsql://` resolves to HTTPS — or drop the window and run the WebSocket remote unbounded, as it always did |
32+
**What an affected author does.** The refusal text itself says which two: keep the window and spell the url as `libsql://` or `https://` (bounded — `libsql://` resolves to HTTPS), or drop the window and run the WebSocket remote unbounded, as it always did. Which of the two is wanted is authoring intent, and the choice is made at the datasource or driver config, in place.
3733

3834
Blast radius, measured on this tree: no in-repo deployment, example or doc pairs a WebSocket url with a window, and the host boot path (`OS_DATABASE_URL`) forwards only `url` and `authToken`, so an env-configured deployment cannot carry `timeout` at all.

0 commit comments

Comments
 (0)