refactor: drop the surplus kernel re-export, and plan the IndexedDB kernel
telemetry가 platform/bounded-capacity.ts의 assertBoundedCapacity를 다시 내보내고 있었다. 같은 파일이 이미 그 심볼을 직접 import해서 쓰고 있고 이 재수출의 소비자는 없었다. 남겨두면 커널로 가는 두 번째 문이 되고, 어댑터가 어댑터를 통해 커널에 닿는 경로를 정당화하게 된다. 같이 담긴 IndexedDB 커널 이행 계획은 커널 -> CP -> MT -> OP -> RT 순서와 각 사본의 동작 변화 지점을 줄 번호로 특정한다. LOC 절감은 -223으로 작고, 이 작업의 근거는 줄 수가 아니라 트랜잭션 상태기계를 4개에서 1개로 만드는 것이라는 점을 명시했다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
d777fb84b0
commit
0f157494cd
@@ -46,8 +46,6 @@ type TelemetryLifecycle = "ACTIVE" | "DISPOSED";
|
||||
/** N-11. Documented absolute ceiling for the in-memory best-effort queue. */
|
||||
export const MAX_TELEMETRY_QUEUE = 10_000;
|
||||
|
||||
export { assertBoundedCapacity } from "../platform/bounded-capacity.ts";
|
||||
|
||||
|
||||
export function createTelemetryAdapter(
|
||||
options: TelemetryAdapterOptions,
|
||||
|
||||
Reference in New Issue
Block a user