Commit 2c1988c
`datasource.pool` was already a loud authoring error on `sqlite` /
`sqlite-wasm` / `memory` (#5714 / #5931). #6214's ledger pass found two
faces the rejected set could not cover, both still silent. Measured on
origin/main before this change:
turso + pool{min:3,max:9,idleTimeoutMillis:30000}
the arm never references `spec.pool` at all
mongodb + pool{max:20,idleTimeoutMillis:30000,connectionTimeoutMillis:3000}
driver config: url + database + maxPoolSize:20, nothing else
The mongodb one is half-effective, which is harder to notice than total
silence: `max` landed, so the author's evidence that their pool config
worked was real and half wrong.
Maintainer ruling 2026-08-11, both halves:
1. `turso` joins POOL_UNSUPPORTED_DRIVER_IDS whole-arm, no fork by url
mode, with its own explanation rather than SQLite's borrowed one.
2. mongodb's two unread timeout keys are rejected by name, not wired
onto MongoClient's maxIdleTimeMS / connectTimeoutMS — no measured
consumer, so wiring would be behaviour-surface expansion.
The second half is a new shape here: a rejection scoped to individual
keys (POOL_UNREAD_KEYS_BY_DRIVER) rather than the whole block, because
`min` / `max` on mongodb are honoured and must keep working. It routes
through unsupportedPoolIssue, so all three doors — Setup wizard, boot
pre-pass, driver factory — inherit it unchanged.
Also updates liveness/datasource.json, whose four `pool.*` rows recorded
both cases as "still dropped in silence", and the drivers doc's pool
paragraph, which named only the two sqlite arms.
Claude-Session: https://claude.ai/code/session_015fkdTyGmMD5s8ZtEifvuGy
Co-authored-by: Claude <noreply@anthropic.com>
1 parent d063a96 commit 2c1988c
7 files changed
Lines changed: 750 additions & 34 deletions
File tree
- .changeset
- content/docs/data-modeling
- packages
- services/service-datasource/src
- __tests__
- spec/liveness
Lines changed: 62 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
134 | 151 | | |
135 | 152 | | |
136 | 153 | | |
| |||
0 commit comments