Skip to content

[finding] TEST_DEBT carries two untracked surpluses (plugin-approvals -1, runtime -1) and the class tracker #6376 is closed #11497

Description

@claude

Measured while re-tallying @objectstack/rest's TEST_DEBT composition (#10821). Not repaired
there: that card is a data repair on one entry, and lowering another package's ceiling is a
different change with a different reviewer question.

What the measurement says

pnpm check:type-check-debt on main at 951b025e4, closure built, 32 ledger entries
re-measured in 282.1s, reports three entries sitting below their recorded ceiling:

entry recorded tsc reports surplus
@objectstack/plugin-auth 109 97 −12
@objectstack/plugin-approvals 348 347 −1
@objectstack/runtime 227 226 −1

The gate prints all three itself, on every run, and states the consequence: nothing else reads
these hidden test layers, so that many regressions can land in them while this gate reports
success.

Why this is worth a card rather than the gate's own advisory line

The advisory names #6376 as the tracking card for the class — and #6376 is closed. So the
two small surpluses are currently tracked by nothing: they are printed on every run, they are
labelled "Not an error" in the same breath, and there is no open card that says who closes them.
@objectstack/plugin-auth's is the exception and already has #10615.

Two things a reader should not conclude from the numbers above:

Suggested scope

One PR that runs --lower for plugin-approvals and runtime and re-tallies whichever of the
two notes the lowering leaves describing a larger pile. Deliberately excludes plugin-auth,
which is #10615's.


Generated by Claude Code


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions