(stageId: string, pinned: string)
| 665 | }) |
| 666 | // Fails a read that may have been truncated by a prune of its pin. |
| 667 | const recheckPin = (stageId: string, pinned: string) => |
| 668 | Effect.flatMap( |
| 669 | selectActivation(pinned), |
| 670 | (activation) => |
| 671 | activation === undefined || activation.pruneStartedAt !== undefined ? notFound(stageId) : Effect.void |
| 672 | ) |
| 673 | |
| 674 | const status = Effect.fnUntraced(function*({ scope, tableSql }: StoreResources, now: number) { |
| 675 | const store = (yield* selectStore(scope))! |
no test coverage detected