Repository navigation
Commit fcd9500
committed
test(utils): state where a write through an alias lands
The misc lane at a4e8363 went from 51 failing tests to 2 on the hosted
ubuntu arm. The two that remain describe the publish target for a write
made through an alias, and both spellings predate the commit rename
following the resolution taken under the lock:
- safeWriteJson.lockKey.spec.ts read the caller's spelling and expected
this writer's content there; on a case-sensitive filesystem the rename
replaces the name the filesystem reported, so the peer keeps that entry
under the spelling the caller was given.
- safeWriteJson.test.ts expected the link node to be replaced in place and
the referent to keep its seed; publishing on the resolved target leaves
the alias a link that reads through to the payload, while the referent,
the entry every writer to that file locks, carries the new content.
guardedWrite.ts already binds its own publish to the resolved target, so
the rows now describe the boundary the guard documents. No executable line
changed: 16 lines added, 12 removed, all inside __tests__.1 parent a4e8363 commit fcd9500
2 files changed
Lines changed: 16 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
330 | 336 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
| 337 | + | |
336 | 338 | | |
337 | 339 | | |
338 | 340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1291 | 1291 | | |
1292 | 1292 | | |
1293 | 1293 | | |
1294 | | - | |
1295 | | - | |
1296 | | - | |
1297 | | - | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
1298 | 1298 | | |
1299 | 1299 | | |
1300 | 1300 | | |
| |||
1304 | 1304 | | |
1305 | 1305 | | |
1306 | 1306 | | |
1307 | | - | |
1308 | | - | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
1309 | 1311 | | |
1310 | 1312 | | |
1311 | 1313 | | |
| |||
0 commit comments