From PR #147 review (comment, packages/shared/src/config-schemas.ts:106).
Durations are currently raw millisecond numbers (*_ms fields, CACHE_TTL_MS records, timeout configs). Kara: use Temporal.Duration consistently.
Constraint to resolve first
Temporal is not available as a global in the current Bun runtime (typeof Temporal === "undefined" verified locally). Adoption requires either:
- a polyfill (
@js-temporal/polyfill), or
- waiting for Bun runtime support.
Decide polyfill-vs-wait, then sweep duration fields/config to a consistent representation.
From PR #147 review (comment,
packages/shared/src/config-schemas.ts:106).Durations are currently raw millisecond numbers (
*_msfields,CACHE_TTL_MSrecords, timeout configs). Kara: useTemporal.Durationconsistently.Constraint to resolve first
Temporalis not available as a global in the current Bun runtime (typeof Temporal === "undefined"verified locally). Adoption requires either:@js-temporal/polyfill), orDecide polyfill-vs-wait, then sweep duration fields/config to a consistent representation.