Skip to content

docs: trim completed test-coverage-audit items from TODO#91

Merged
winebarrel merged 1 commit into
mainfrom
docs-trim-completed-todo-audit
May 6, 2026
Merged

docs: trim completed test-coverage-audit items from TODO#91
winebarrel merged 1 commit into
mainfrom
docs-trim-completed-todo-audit

Conversation

@winebarrel

Copy link
Copy Markdown
Owner

Summary

The PR #84 postmortem audit's "Medium — test coverage audit" section listed six items. Five landed via PRs #86#90; one (parseCreateTable column-loop interactions) was scoped out of the kitchen-sink fixture because its specific shapes need direct unit tests rather than a round-trip DDL.

  • Drop the five closed items from TODO.md.
  • Keep the open one under a new "Medium — test coverage gaps" heading with the rationale for why it survived: kitchen-sink uses `email VARCHAR NOT NULL UNIQUE` (no DEFAULT), an explicit named CONSTRAINT FK (not inline REFERENCES), and a table-level CHECK (not the column-level shape that exercises vitess's promotion path).

The "Medium — silent diffs / fidelity gaps" section keeps its real open items, including the three new ones surfaced by the audit itself (inline REFERENCES auto-name, vitess-keyword identifier drift in generated columns, CHECK referencing renamed column blocks RENAME COLUMN).

Test plan

  • Doc-only change.

🤖 Generated with Claude Code

Five of the six items from the PR #84 postmortem audit landed:
- composed-state catalog tests   → PR #86
- kitchen-sink round-trip        → PR #87
- emitter ordering pins          → PR #88
- diff cross-cutting             → PR #89
- directive composition          → PR #90

Drop the closed items. Keep `parseCreateTable` column-loop
interactions under "Medium — test coverage gaps" — that one was
scoped out of the kitchen-sink because the open shapes (inline
`UNIQUE × DEFAULT`, inline `REFERENCES × NOT NULL × ON UPDATE`,
inline `PK × column-level CHECK`) need direct parser unit tests,
not a round-trip fixture. The kitchen-sink uses `email VARCHAR
NOT NULL UNIQUE` (no DEFAULT), an explicit named CONSTRAINT FK
(not inline REFERENCES), and a table-level CHECK (not the
column-level shape that exercises the vitess promotion path), so
the gap is real.

The "Medium — silent diffs / fidelity gaps" section keeps the
real open items, including the three new ones surfaced by the
audit itself (REFERENCES auto-name, vitess-keyword identifier
drift, CHECK referencing renamed column).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 6, 2026 00:16
@winebarrel winebarrel enabled auto-merge May 6, 2026 00:16
@winebarrel winebarrel merged commit b716b4c into main May 6, 2026
6 checks passed
@winebarrel winebarrel deleted the docs-trim-completed-todo-audit branch May 6, 2026 00:17
@codecov

codecov Bot commented May 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.90%. Comparing base (b668b6e) to head (14876e7).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #91   +/-   ##
=======================================
  Coverage   86.90%   86.90%           
=======================================
  Files          30       30           
  Lines        3277     3277           
=======================================
  Hits         2848     2848           
  Misses        263      263           
  Partials      166      166           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This doc-only PR trims TODO.md after the PR #84 follow-up work landed, leaving just the remaining open test-coverage item and moving it under a narrower heading. It keeps the TODO focused on current gaps rather than already completed audit work.

Changes:

  • Remove the five completed entries from the former “Medium — test coverage audit” section.
  • Rename the remaining section to “Medium — test coverage gaps”.
  • Add brief rationale explaining why the surviving parseCreateTable coverage item still needs targeted unit tests instead of a round-trip fixture.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread TODO.md
Estimated 8–12 catalog tests, half-day. Highest payoff per hour
because it directly targets the bug class that hit on PR #84.
The PR #84 postmortem audit closed five of its six items via PRs
\#86–#90; this one item was scoped out of the kitchen-sink fixture
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