Skip to content

fix: close out the v2 review follow-ups - #119

Merged
lcottercertinia merged 3 commits into
mainfrom
fix/109-review-followups
Aug 12, 2026
Merged

fix: close out the v2 review follow-ups#119
lcottercertinia merged 3 commits into
mainfrom
fix/109-review-followups

Conversation

@lukecotter

Copy link
Copy Markdown
Collaborator

Three findings from the v2 response-shape review, one commit each.

LOG_CATEGORY_BY_KIND wrote the debug log header categories a third time,
beside TRACE_CATEGORIES and the header itself. Nothing joined them, so a
typo would have shipped a timeByKind row a caller cannot read against the
debugLevels rows beside it.

Declare LOG_CATEGORIES once, in the module CLAUDE.md names as the one home
for the categories, and type logCategoryOf against it. Tests lock the list
to the header spellings the fixture logs carry, and to the settable
categories.
"zero/empty fields omitted" described 1.x. 2.0 returns every governor
limit, category and column, including the ones at zero, so a caller can
tell "none" from "never measured". The bullet said the opposite of the
policy the Tools Reference states ten lines above it.
inspect() pooled every table header into one set, so a "columns" check
passed on a column any other table in the response carried. That let a
wrong assertion through earlier in this series.

Key the headers by table, and make a "columns" check name its one table in
"keys". The three slow-operations checks that named no table now name
"operations".
@lcottercertinia
lcottercertinia added this pull request to the merge queue Aug 12, 2026
@lcottercertinia
lcottercertinia merged commit 94b27f2 into main Aug 12, 2026
15 checks passed
@lcottercertinia
lcottercertinia deleted the fix/109-review-followups branch August 12, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants