Skip to content

docs: mark unsupported partitioning shapes as out of scope (not future PR)#57

Merged
winebarrel merged 3 commits into
mainfrom
mark-partitioning-shapes-out-of-scope
May 4, 2026
Merged

docs: mark unsupported partitioning shapes as out of scope (not future PR)#57
winebarrel merged 3 commits into
mainfrom
mark-partitioning-shapes-out-of-scope

Conversation

@winebarrel

Copy link
Copy Markdown
Owner

Summary

The remaining unsupported partitioning shapes — split / merge / reorder, strategy / expression change, first-time PARTITION BY, REMOVE PARTITIONING — have been on the floor since v1 with the doc framing implying they would land in some future PR. They aren't planned. Re-frame them as permanent out-of-scope items the operator manages by hand, and drop the TODO.md entry that was tracking them.

No code change. No behaviour change. Doc-only.

TODO.md

  • Removed the **Partition diff generation beyond the supported shapes** entry. With nothing else under ## Medium — object coverage, the section header goes too.

PARTITIONING.md "Diffs that still error — manage by hand"

  • Strategy / expression change: Future PR.out of scope for myschema.
  • Adding or removing partitioning entirely: Both directions are future workBoth directions are out of scope for myschema. The embedded error-message quotes (is not yet generated by myschema) are kept verbatim because they reflect what the operator literally sees on stderr; added a short caveat that the wording is historical and there is no roadmap PR.

Follow-up not in this PR

The matching error strings in diff/partitions.go (3 sites) still say is not yet generated by myschema. Updating that wording to is out of scope for myschema would be a separate change that also touches:

  • testdata/plan/partition_remove_partitioning_errors.yml (pinned error string)
  • testdata/plan/partition_add_partitioning_errors.yml (pinned error string)
  • a couple of // future PR comments in diff/partitions.go

Skipped from this PR to keep the scope cleanly doc-only.

Test plan

  • make lint
  • make test (8.0)

…e PR)

The remaining "split / merge / reorder", strategy / expression
change, and first-time / REMOVE PARTITIONING shapes have been
sitting on the floor since v1 with the doc framing implying
they'd land in some future PR. They aren't planned. Re-frame
them as permanent out-of-scope items the operator manages by
hand, and drop the TODO.md entry that was tracking them.

TODO.md:
- Removed the partition entry. With nothing else under
  "Medium — object coverage", the section header goes too.

PARTITIONING.md "Diffs that still error — manage by hand":
- "Strategy / expression change": "Future PR." → "out of scope
  for myschema".
- "Adding or removing partitioning entirely": "Both directions
  are future work" → "Both directions are out of scope for
  myschema". The embedded error-message quotes (`is not yet
  generated by myschema`) are kept verbatim because they
  reflect what the operator literally sees on stderr; added a
  short caveat that the wording is historical and there is no
  roadmap PR.

The matching error strings in `diff/partitions.go` (3 sites)
still say "is not yet generated by myschema" — those weren't
touched in this commit since the existing fixtures pin the
exact text. Updating the wording would be a follow-up that
also rewrites two fixtures and a couple of code comments.
Copilot AI review requested due to automatic review settings May 4, 2026 06:48

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

Re-frames unsupported partitioning diff shapes as permanently out of scope (manual operator workflow), removing “future PR” language and pruning the TODO tracker accordingly.

Changes:

  • Remove the TODO entry tracking “partition diff generation beyond supported shapes”.
  • Update PARTITIONING.md to mark strategy/expression changes and add/remove partitioning as out of scope, with a historical-note caveat about current error wording.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
TODO.md Removes the medium-priority TODO item about unsupported partition diff shapes.
PARTITIONING.md Updates “Diffs that still error” sections to state certain partitioning changes are out of scope, and adds clarifying caveats.

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

Comment thread PARTITIONING.md Outdated
Comment thread PARTITIONING.md Outdated
@codecov

codecov Bot commented May 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.16%. Comparing base (a7f3c68) to head (90f1a2c).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #57   +/-   ##
=======================================
  Coverage   71.16%   71.16%           
=======================================
  Files          28       28           
  Lines        3062     3062           
=======================================
  Hits         2179     2179           
  Misses        647      647           
  Partials      236      236           

☔ 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.

Both inline review comments flagged the same Markdown issue:
backticked error strings split across newlines won't render
as inline code. Two affected blocks in PARTITIONING.md
"Diffs that still error":

- "Strategy / expression change": the `partition strategy /
  expression differs` error string was wrapped at the slash.
- "Adding or removing partitioning entirely": the two
  `first-time ALTER TABLE … PARTITION BY … is not yet
  generated by myschema` and `ALTER TABLE … REMOVE
  PARTITIONING is not yet generated by myschema` error
  strings were both wrapped mid-string.

Restructured the surrounding prose so each backticked error
string sits on its own line (long enough to overflow the
80-col convention, but the inline-code rendering needs it
that way). The actual error wording is unchanged.

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


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

Comment thread PARTITIONING.md Outdated
Singular "error message" → plural to agree with the two distinct
errors enumerated immediately below.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


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

@winebarrel winebarrel merged commit a02a503 into main May 4, 2026
9 checks passed
@winebarrel winebarrel deleted the mark-partitioning-shapes-out-of-scope branch May 4, 2026 07:29
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