1.1 KiB
1.1 KiB
Tasks: timing-spec-conformance
1. Inline drift fixes
- 1.1 Add
recordSchedulerQueueDepth(lazyObservableGauge) tosrc/otel/timing-otel.ts. - 1.2 Re-export
recordSchedulerQueueDepthfromsrc/index.ts. - 1.3 Wire
scheduler.schedule/ per-taskfinally/ handle-cancel/ top-levelcancel/disposeto callrecordSchedulerQueueDepth(_tasks.size). - 1.4 Wire
stopwatch.stopto callrecordStopwatchElapsed(_accumulated). - 1.5 Wire
createTimer.startinterval callback to callincrementTimerTick()before useronTick.
2. Spec-conformance tests
- 2.1 Add
src/timing.spec-conformance.test.tscovering TM-03/04/06/07/08/11 implicit scenarios and the new queue-depth helper.
3. Spec annotations
- 3.1 Add
**Verified by:**line under every TM-NN requirement inopenspec/specs/timing/spec.md.
4. Verify
- 4.1
bunx turbo lint typecheck test --filter=@suaveplan/timinggreen. - 4.2
bunx turbo test:coverage --filter=@suaveplan/timing100/100/100/100. - 4.3
bun scripts/openspec-conformance.ts @suaveplan/timingexits 0.