Skip to content

docs: drop now-unreachable inline REFERENCES test-coverage entry#97

Merged
winebarrel merged 1 commit into
mainfrom
docs-trim-todo-inline-refs
May 6, 2026
Merged

docs: drop now-unreachable inline REFERENCES test-coverage entry#97
winebarrel merged 1 commit into
mainfrom
docs-trim-todo-inline-refs

Conversation

@winebarrel

Copy link
Copy Markdown
Owner

Summary

PR #92 made inline column-level `REFERENCES` error at parse time (see CAVEATS.md "Inline column-level REFERENCES is rejected"), so the third sub-bullet under "parseCreateTable column-loop interactions" in TODO.md — `inline REFERENCES × NOT NULL × ON UPDATE` — is no longer a reachable code shape.

Changes

  • Drop the unreachable sub-bullet.
  • Trim the `buildFK` reference from the parent description (only `applyInlineColumnKey` is still relevant for the remaining combinations).
  • Add a closing note explaining why the third bullet went away so the audit history stays legible.
  • Re-estimate the remaining work down from "3–5 parser tests, a few hours" to "2–3 parser tests, a couple hours" to match the smaller scope.

The other two sub-bullets (`inline UNIQUE × DEFAULT`, `inline PK × column-level CHECK`) are unaffected and still open.

Test plan

  • Doc-only change.

🤖 Generated with Claude Code

PR #92 made inline column-level `REFERENCES` error at parse
time (CAVEATS.md "Inline column-level REFERENCES is rejected"),
so the third sub-bullet under "parseCreateTable column-loop
interactions" — `inline REFERENCES × NOT NULL × ON UPDATE` —
is no longer a reachable code shape. Drop the bullet, trim the
buildFK reference from the parent description, and add a note
explaining why the combination went away so the audit history
stays legible.

The other two sub-bullets (inline UNIQUE × DEFAULT, inline PK ×
column-level CHECK) are unaffected and still open.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 6, 2026 04:15
@winebarrel winebarrel enabled auto-merge May 6, 2026 04:15
@winebarrel winebarrel merged commit 2b54fcf into main May 6, 2026
5 checks passed
@winebarrel winebarrel deleted the docs-trim-todo-inline-refs branch May 6, 2026 04:16
@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.96%. Comparing base (e0f7af6) to head (c226c18).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #97   +/-   ##
=======================================
  Coverage   86.96%   86.96%           
=======================================
  Files          30       30           
  Lines        3321     3321           
=======================================
  Hits         2888     2888           
  Misses        266      266           
  Partials      167      167           

☔ 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

Updates TODO.md to reflect that inline column-level REFERENCES is now rejected at parse time (per PR #92), so one previously listed “parseCreateTable column-loop interaction” test-coverage item is no longer a reachable shape worth tracking.

Changes:

  • Removes the now-unreachable “inline REFERENCES × NOT NULL × ON UPDATE” sub-bullet from the test-coverage gap list.
  • Trims the parent description to remove the buildFK mention, leaving applyInlineColumnKey as the relevant interaction point.
  • Adds an explanatory note and adjusts the test effort estimate to match the reduced scope.

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

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