Skip to content

chore: release orm 6.0.0-beta.11 - #527

Merged
medz merged 1 commit into
mainfrom
release/6.0.0-beta.11
Oct 9, 2026
Merged

medz merged 1 commit into
mainfrom
release/6.0.0-beta.11

Conversation

@medz

@medz medz commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Publish 6.0.0-beta.11 as the complete PostgreSQL failure-recovery and typed-pagination batch: #525 and #526. These implementation PRs merged only after substantive Codex/CodeRabbit reviews of their exact final heads and successful real-database CI.

Count returns one integer in one SELECT, preserving filter scope and limit/offset without reading model fields. The complete user-search example reuses one typed filter for total + selected page in one read-only snapshot. PostgreSQL preserves its original SQL cause/stack through failed automatic rollback and requires native postgres 3.5.20 for upstream cancellation/deadline corrections.

From beta.10, update the dependency and regenerate to expose count(). Existing generated methods remain usable; reviewed frozen histories and fingerprints stay unchanged. Adapt code copied from searchUsers to its (users, total) record.

Refs #516

Validation: final implementation CI passes 221 real SQLite/PostgreSQL tests without database skips, generation, analysis, the complete shop and Dartdoc with zero warnings/errors. The exact implementation candidate also passes an independent fresh consumer with both engines' client/migration generation, analysis, native AOT compilation and full business checks. Committed release-head Dartdoc and pub dry-run passed with zero warnings.

After merging this exact reviewed release head, tag the actual merge commit, create a GitHub prerelease and publish to pub.dev. Download the actual pub.dev archive, verify its server SHA-256, and rerun the independent consumer before recording publication completion. Windows, Web, Flutter packaging and older PostgreSQL remain unverified.

@netlify

netlify Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for prisma-dart canceled.

Name Link
🔨 Latest commit 4ce7c21
🔍 Latest deploy log https://app.netlify.com/projects/prisma-dart/deploys/6ac8893a73c0a40008cc9d84

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-09T06:28:54.671648Z 4ce7c21 PR opened
ℹ️ 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.

@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 22 minutes.

Check out review usage here.

View limit details

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

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f232c62c-0712-410e-83ae-38e0abfea911
📥 Commits

Reviewing files that changed from the base of the PR and between efad7ca and 4ce7c21.

📒 Files selected for processing (3)
  • CHANGELOG.md
  • README.md
  • pubspec.yaml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@medz
medz merged commit 6b59f76 into main Oct 9, 2026
6 checks passed
@medz
medz deleted the release/6.0.0-beta.11 branch October 9, 2026 06:49

medz commented Oct 9, 2026

Copy link
Copy Markdown
Owner Author

Published and independently verified ORM 6.0.0-beta.11, grouping PostgreSQL failure recovery and typed pagination. RC-quality iteration remains open in #516.

  • Implementation PRs fix: preserve PostgreSQL failures through cleanup #525/feat: count typed query scopes for pagination #526 and release PR chore: release orm 6.0.0-beta.11 #527 merged only after substantive Codex reviews of their exact final heads. CodeRabbit formally approved both implementation heads. Its release-PR rate-limit skip is not counted as a review.
  • Actual release merge: 6b59f767b96eb4780fcccd6ddf108148aa8c7fae. Annotated tag orm-v6.0.0-beta.11 resolves to that exact commit; the GitHub release is a non-draft prerelease.
  • Release CI 37893585685 passes 221 real SQLite/PostgreSQL tests with no database skips, generation, analysis, complete business execution, Dartdoc 0 warnings/errors and publication dry-run 0 warnings. The actual merged commit passed local Dartdoc and dry-run again.
  • pub.dev published at 2026-10-09T06:38:48.370855Z. Actual downloaded archive: 70,374 bytes, SHA-256 7d4db0df6f943bed7d87dc511df94eb3cb873561939e8ec849a705a87885f573, matching independently read server metadata. Its native postgres minimum is ^3.5.20.
  • The actual downloaded pub.dev archive passed a fresh independent consumer: dependency resolution, generation and separate Dart migration drafts for both engines, analysis, native AOT compilation, real SQLite/PostgreSQL migration/resume, typed CRUD/projections, immutable byte-value capture, typed prefix page/count, empty pages retaining totals, two-query relationships, idempotent checkout, rollback/backend reuse and bounded streaming. The checker exited 0; both engines passed.

The new count() returns one integer in one SELECT without model-row transfer/decoding. It preserves filters and limit/offset; count the reusable unpaged filter scope for a total. searchUsers returns (users, total) in one read-only snapshot with two observable SELECTs. SQLite read-only PRAGMA events remain visible.

Five live PostgreSQL recovery cases verify server/client timeout, exact backend interruption, original SQL cause/stack when automatic rollback also fails, connection replacement, subsequent usable work and close draining admitted work. The direct-cleanup case actually failed before the fix. Separately, cancel-connection-failure reproduction showed native 3.5.12 returning success after the query deadline with an unhandled SocketException; 3.5.20 returned a catchable error without zone errors and replaced the connection. No ORM cancellation or retry framework was added. Native deadlines do not time application callback work.

From beta.10: update the dependency, regenerate to use count(), and adapt code copied from the search example to .users and .total. Existing generated methods remain usable; reviewed migration definitions and fingerprints are unchanged.

Verified: native macOS ARM64 and Linux CI, PostgreSQL 18 and SQLite. Windows, Web, Flutter packaging and older PostgreSQL remain unverified.

pub.dev beta.11 · GitHub prerelease · Release CI

Removed only this batch's three merged branches, its private PostgreSQL instance, release staging files and diagnostic consumer/candidate archive after saving the proof. Main is clean with no stash or extra worktree. User-local ignored Flutter work and the requested Prisma research clone remain preserved; actual published archive and release evidence are retained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant