Skip to content

test(deparser): refresh regress corpus ratchet after JSON_TABLE support - #402

Merged
pyramation merged 1 commit into
mainfrom
devin/1795422712-refresh-regress-ratchet
Nov 23, 2026
Merged

pyramation merged 1 commit into
mainfrom
devin/1795422712-refresh-regress-ratchet

Conversation

@pyramation

@pyramation pyramation commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

main is red: #397 (regress corpus ratchet) and #399 (SQL/JSON query functions + JSON_TABLE) landed together, so the ratchet still lists statements as known failures that now round-trip, and the ratchet fails on them.

Regenerated __fixtures__/regress/known-failures.deparser.json with the repo's ratchet updater. It only removes now-passing IDs (378 total: collate.icu.utf8 8, sqljson_jsontable 88, sqljson_queryfuncs 281, stats_ext 1) and adds no new expected failures.

pnpm --filter pgsql-deparser test: 1306/1306 pass.


libpg-query and parser opened this PR for Dan
Implemented in session Quote keyword column names before types in deparser
Review with Devin · Open in Devin Desktop


Summary by CodeRabbit

  • Tests
    • Updated PostgreSQL regression test records: removed previously tracked collation-related failures and consolidated additional statistics-related cases into the existing test record. These changes adjust which test outcomes are tracked; they do not change application functionality or introduce user-facing features.

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@luxor-code-review

luxor-code-review Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Review complete. No issues found — approved ✅.


This PR prunes __fixtures__/regress/known-failures.deparser.json, dropping the collate.icu.utf8, sqljson_jsontable, and sqljson_queryfuncs suites plus one stats_ext entry, reflecting that those deparse fixtures now pass. The remaining 35 suites and all statement keys were verified to still exist in statements.json.gz, with no dangling references to the removed suites anywhere in the repo.

Files Change
__fixtures__/regress/known-failures.deparser.json Removed entries for previously-failing deparser suites that now pass, keeping the known-failures ratchet current.

Reviewed commit: c0708c0

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The known-failures fixture removes the collate.icu.utf8.sql entry and consolidates cases 21, 41, and 81 under stats_ext.sql.

Changes: Known-failures fixture refresh

Layer / File(s) Summary
Update known-failure entries
__fixtures__/regress/known-failures.deparser.json
The fixture removes the collate.icu.utf8.sql entry and its eight cases. It consolidates cases 21, 41, and 81 under stats_ext.sql.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related PRs

Suggested reviewers: luxor-code-review

Merge Risk: Minimal · up to c0708

This refreshes the deparser's expected-failure fixture after two earlier PRs landed together. It has no runtime effect on users and carries minimal merge risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the test-scope change, but it does not describe the change itself. The PR removes 378 now-passing IDs from the known-failures ratchet (collate.icu.utf8, sqljson_jsontable, sqljson_quer…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the test-scope change, but it does not describe the change itself. The PR removes 378 now-passing IDs from the known-failures ratchet (collate.icu.utf8, sqljson_jsontable, sqljson_queryfuncs, stats_ext) and adds no new expected failures. The title mentions JSON_TABLE support, which is the reason for the refresh and matches the sqljson_jsontable removals. The title is related to the changeset and specific enough to scan history.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between c4e7734 and c0708c0.

Files selected for processing: 1

  • __fixtures__/regress/known-failures.deparser.json
Files with no reviewable changes: 1

  • fixtures/regress/known-failures.deparser.json

Limit details: You’ve used all 10 included reviews currently available.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@pyramation
pyramation merged commit 7fb742f into main Nov 23, 2026
24 checks passed
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