Skip to content

test(pg-delta): pin the Ephyra property-testing findings as expected-red - #676

Open
avallete wants to merge 9 commits into
mainfrom
avallete/cli-3259-ephyra-red-tests
Open

avallete wants to merge 9 commits into
mainfrom
avallete/cli-3259-ephyra-red-tests

Conversation

@avallete

@avallete avallete commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Summary

TL;DR: Pins all 27 Ephyra property-testing findings (#615–#641), plus #677 and #678 from the compaction differential test, as expected failures, so each bug has a red test on main before anyone starts its fix. Each pin checks the specific failure text (or exact symptom) and turns the suite red once the bug is fixed, forcing the pin's removal in the fix PR. Test-only: no src/ change, no changeset.

Tracking: CLI-3259 (Linear umbrella).

How each finding is pinned

Harness changes (tests only)

Findings worth knowing about

Verification

Linked issue

Refs #615, #616, #617, #618, #619, #620, #621, #622, #623, #624, #625, #626, #627, #628, #629, #630, #631, #632, #633, #634, #635, #636, #637, #638, #639, #640, #641, #677, #678

  • The linked issue is open (I'm a Supabase maintainer).

Checklist

  • Tests added or updated for the change
  • Changeset: not needed (test-only)
  • bun run format-and-lint and bun run check-types pass

🤖 Generated with Claude Code

avallete and others added 6 commits November 26, 2026 18:21
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…as expected-red

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-red

RED evidence (pins removed once): proof drift 'add acl:(function:public.f()).corpus_prev_owner',
'remove acl:(table:public.t).corpus_dp_reader', 'add column:public.t_r.c_r', and
'dependency cycle among N actions' for the rename cases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ected-red

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RegExp pins for the cycle, rename and #636 scenarios; maxMajor cap for the
#641 export gap; plain tests pinning the exact symptom instead of test.failing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@avallete
avallete requested a review from a team as a code owner November 26, 2026 17:57
@avallete
avallete requested a review from kanadgupta November 26, 2026 17:58
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T10:01:20.486406Z 7faec0b New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@changeset-bot

changeset-bot Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7faec0b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e730e4f3b2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@pkg-pr-new

pkg-pr-new Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/supabase/pg-toolbelt/@supabase/pg-delta@676
npm i https://pkg.pr.new/supabase/pg-toolbelt/@supabase/pg-topo@676

commit: 7faec0b

This was referenced Nov 26, 2026
avallete and others added 2 commits November 27, 2026 10:39
The trigger-rename scenarios and rename--column-on-recreated-table have
NOT NULL columns without a default, so the proof's DEFAULT VALUES seed
would skip them once the pins are removed. The recreated table's b side
is partitioned with no partitions and cannot hold a row, so it gets no
seed-b.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Four corpus scenarios, each pinned on its forward direction (reverse passes):

- table-ops--rowtype-column-blocks-add-domain-column and
  table-ops--rowtype-column-blocks-retype (#677): t1 is created with a
  column of t2's row type before the ALTER that rewrites t2, which fails
  with 'cannot alter table "t2" because column "t1.r" uses its row type'.
- type-ops--enum-remove-label-keeps-grant and
  type-ops--enum-remove-label-keeps-public-revoke (#678): the enum rebuild
  drops the type's grant to a role and its REVOKE from PUBLIC (drift).

The export round-trip hits #677 too on the by-object and ordered layouts;
KnownGap gains `layouts` so that gap is pinned while grouped must pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0102a9e203

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

With a child row, leaving the parent now fails the data proof
("s"."p": 2 -> 1 rows) because the child is dropped and re-created, so
the forward direction is pinned in EXPECTED_RED for #634. The reverse
replacement stays pinned in budget.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant