Skip to content

@objectstack/service-analytics has no typecheck script — src and its 100+ in-src test files are tsc-checked by nothing, with 10 standing errors behind the unwired gate #12939

Description

@os-trump

Found while executing #12776 (the census + narrowing needed a real tsc --noEmit reading of the package). Filed unassigned as an observation of the #7925 class (service-settings, closed) in a new package; measured in a worktree at origin/main aef1b7e6 and re-confirmed after the #12776 branch merged main at 750fff559.

The observation

Why it may deserve a card

The #12776 census surfaced this concretely: the flagship consumer of a spec contract carried locally-widened method: string annotations for years and nothing red ever appeared, because nothing compiles the package. #7925 (service-settings) and #12542 (rest) were the same class and both got fixed per-package; this is the analytics instance. The repair there was: wire a typecheck script (plus the debt-ledger mechanism where the standing errors are not worth fixing in the same PR).

Refs: #7925 (same class, service-settings) - #12542 / #12426 (same class, rest tests) - #12776 (how it surfaced).

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions