Skip to content

docs: drop YAML-harness-extension TODO item#78

Merged
winebarrel merged 1 commit into
mainfrom
chore-trim-yaml-harness-todo
May 5, 2026
Merged

docs: drop YAML-harness-extension TODO item#78
winebarrel merged 1 commit into
mainfrom
chore-trim-yaml-harness-todo

Conversation

@winebarrel

Copy link
Copy Markdown
Owner

Summary

  • Remove the "YAML harness extended to parser and diff" item from TODO.md.
  • Most parser/ and diff/ tests assert on internal struct fields (e.g. tbl.Columns.GetOk("id"); assert.Equal("bigint", id.TypeName)), not on rendered SQL — a YAML harness there would re-invent Go's struct-literal / assertion DSL in YAML and end up more verbose, not less.
  • The existing CLAUDE.md rule already routes pure SQL-input → SQL-output tests to YAML and keeps struct-shape tests in Go, so the TODO was a generic "extend coverage" note that doesn't pay off in practice.

Test plan

  • No code changes; doc-only edit.

🤖 Generated with Claude Code

Most parser/diff tests assert on internal struct fields (e.g.
`tbl.Columns.GetOk("id"); assert.Equal("bigint", id.TypeName)`),
not on rendered SQL — a YAML harness for those would re-invent
Go's struct-literal/assertion DSL in YAML and end up more verbose,
not less. The CLAUDE.md rule already routes pure SQL-input →
SQL-output tests to YAML and keeps struct-shape tests in Go, so
the TODO was a generic "extend coverage" note that doesn't pay
off in practice.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 5, 2026 11:39
@winebarrel winebarrel enabled auto-merge May 5, 2026 11:39
@winebarrel winebarrel merged commit 48b4461 into main May 5, 2026
6 checks passed
@winebarrel winebarrel deleted the chore-trim-yaml-harness-todo branch May 5, 2026 11:40

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 PR updates project documentation by removing a low-priority TODO item proposing a YAML test harness extension for parser/ and diff/, aligning the TODO list with the project’s existing testing guidance and practices.

Changes:

  • Removed the TODO entry: “YAML harness extended to parser and diff (currently Go table tests).”

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

@codecov

codecov Bot commented May 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.62%. Comparing base (77467a7) to head (20a2f0d).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #78   +/-   ##
=======================================
  Coverage   86.62%   86.62%           
=======================================
  Files          30       30           
  Lines        3237     3237           
=======================================
  Hits         2804     2804           
  Misses        267      267           
  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.

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