Commit dc74c57
refactor(run-ops): drop known-migrated read layer; residency is id-shape only
Migration/drain is deferred, so residency is decided purely by id-shape
(ownerEngine): 25-char cuid -> LEGACY, 27-char ksuid -> NEW, unclassifiable
-> LEGACY. This is behavior-preserving in production, which never injected a
custom isKnownMigrated and, with no migration, always saw the default false.
- delete knownMigratedFilter.server.ts + its test
- readThrough: drop the isKnownMigrated dep + migrated short-circuit; KEEP the
unclassifiable->LEGACY new-then-legacy fallback
- resolveInheritedMintKind: collapse to pure ownerEngine id-shape (no deps)
- mintBatchFriendlyId: drop isKnownMigrated/isSplitEnabled from ResolveDeps
- runEngineHandlersShared: drop isKnownMigrated from EventReadDeps/readRunForEvent
(batch-write residency probe via newReplica.batchTaskRun.findFirst is untouched)
- tests: delete injected-marker cases, keep pure id-shape assertions
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent bba6506 commit dc74c57
10 files changed
Lines changed: 34 additions & 510 deletions
File tree
- apps/webapp
- app/v3
- runOpsMigration
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | | - | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
| |||
Lines changed: 0 additions & 133 deletions
This file was deleted.
Lines changed: 0 additions & 138 deletions
This file was deleted.
0 commit comments