Commit 8f2ecb3
fix(driver-sql): render the hash-shadow NULL-safe duplicate report through formatDuplicateGroups (#16579)
* fix(driver-sql): render the hash-shadow NULL-safe duplicate report through formatDuplicateGroups
The fourth duplicate-group site — the hash-shadow arm's NULL-safe branch — still
hand-rolled the `.slice(0, 5).join('; ')` shape the module-local helper was added
to own, and its overflow tail read `…and N more` where the helper's reads
`…and N more group(s)`. Two durability logs about the same failure class, emitted
from the same `catch`, disagreed on how they say "there are more".
The surrounding ` Conflicting group(s): ….` framing is byte-identical to the other
three call sites; only the tail moves.
The pin file asserted the `Conflicting group(s):` PREFIX only, so nothing in the
tree could see the tail. A sixth conflicting group is the smallest fixture that
renders it, and the new live cell asserts five groups shown plus the counted tail.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADLdAs2pVcH17h9tZKWMBg
* chore(changeset): patch @objectstack/driver-sql for the shared duplicate-group tail
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADLdAs2pVcH17h9tZKWMBg
* test(driver-sql): bind the index-less fixture to a variable so tsc accepts it
`initObjects`' parameter type does not declare `indexes`, so an inline object
literal carrying it is rejected by the excess-property check even though the
driver reads the key (filed separately). Every other fixture in this file binds
a variable first; the new one now does too.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADLdAs2pVcH17h9tZKWMBg
---------
Co-authored-by: Claude <elon@objectstack.ai>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent ffca0df commit 8f2ecb3
3 files changed
Lines changed: 70 additions & 7 deletions
File tree
- .changeset
- packages/drivers/driver-sql/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 58 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
235 | 293 | | |
236 | 294 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11938 | 11938 | | |
11939 | 11939 | | |
11940 | 11940 | | |
11941 | | - | |
11942 | | - | |
11943 | | - | |
11944 | | - | |
11945 | | - | |
11946 | | - | |
11947 | | - | |
| 11941 | + | |
11948 | 11942 | | |
11949 | 11943 | | |
11950 | 11944 | | |
| |||
0 commit comments