ci: restore release tests and public package publishing #2299
main fromrefs/pull/2299/head·merged by KyleAMathews 🎯 Changes#
The staged RC Release 40910451885 succeeded. Restore the previous Release test matrices, DB report upload/download/merge, and test dependencies. Restore Convex Collection, Preact DB, and React Router with DB to public packages by removing their temporary private: true flags and restoring their consumed first-RC changeset entries. Their versions remain 1.0.0-rc.1; no new version bump is introduced.
Marking those packages private in #2297 also removed their source mappings from the documentation checker and failed PR Lint. Map typed workspace exports regardless of publication eligibility so documented workspace packages use their source types. The snippet assertions and baseline are unchanged.
🔬 Oracle Coverage#
Relevant coverage-map entries: RC scope partition and RC release histories and replay observations, whose shared independent owner is scripts/release-history-oracle.js. This restores previously approved workflow and package metadata. No runtime law, oracle model, history, comparison, reach requirement, or budget changes. The snippet checker maps actual workspace source exports; snippet assertions and baseline are unchanged. Full bug-class closure is not claimed.
The workflow, three package manifests, and first-RC changeset are byte-identical to 07bfc0eb2584fd83a3efc14ec1fb452954a829ea. Changed-file oracle lint, Prettier and whitespace checks passed. CodeRabbit completed its incremental review at 68ca7007408fdd63fa2d80a3e22832ec8c076f10 with zero actionable findings; the three manifest deletions were classified as no reviewable changes and coverage prose was similarity-skipped. CI remains the verification of this updated head.
✅ Checklist#
- I have tested this code locally with
pnpm test.
The maintainer explicitly requested no local tests or builds. No local test, build, doc-snippet replay, RED/GREEN or mutant run is claimed.
🚀 Release Impact#
- Restore release automation and public package eligibility, with consumed first-RC entries restored and no new version bump.
The successful staged release reported all 20 included RC versions at 1.0.0-rc.1 and Query Collection 1.5.0 / Offline Transactions 1.2.0 already present on npm. Restoring the three packages makes them eligible for automated publishing again; initial manual publication and trusted publisher permissions still need verification, and an unresolved permission issue can fail a later Release. This PR does not change npm tags. #2300 separately changes future RC uploads to latest; existing version tags need explicit promotion. Full readiness is not assessed; #2294, #2281, #2296, and the reach gap tracked in #2287 remain open.
- 1
No actionable comments were generated in the recent review.
Recent review info-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
7c912407-7052-4aaa-9681-57415eecca2c
Commits-
Reviewing files that changed from the base of the PR and between 38acc6bb93dbf185f6d888a1c8dedd42802bafc5 and 68ca7007408fdd63fa2d80a3e22832ec8c076f10.
Files selected for processing: 5-
.changeset/first-rc.mddocs/contributing/oracle-coverage.mdpackages/convex-db-collection/package.jsonpackages/preact-db/package.jsonpackages/react-router-with-db/package.json
Files with no reviewable changes: 3-
- packages/convex-db-collection/package.json
- packages/preact-db/package.json
- packages/react-router-with-db/package.json
Files skipped from review as they are similar to previous changes: 1-
- docs/contributing/oracle-coverage.md
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 4 remain after this review.
-
Walkthrough
-
The release workflow adds database and package test matrices, gates release on their completion, and merges database reports. Changeset entries and package manifests restore publication eligibility for three packages. The documentation snippet checker maps exports from private workspace packages.
Changes: Release Testing and RC Publication
Priority:Layer / File(s) Summary Database and package test matrices
.github/workflows/release.ymlThe workflow tests database and package groups in separate matrices. Database groups upload JSON reports. The ivm-offlinegroup also runs test-source typechecking and a dependency-version check.Release gate and report merge
.github/workflows/release.yml,docs/contributing/oracle-coverage.mdThe release job now depends on lintand both test matrices. It downloads and merges database reports with Vitest. The coverage note records the successful release and remaining counterexamples.Restore RC package publication
.changeset/first-rc.md,packages/convex-db-collection/package.json,packages/preact-db/package.json,packages/react-router-with-db/package.json,scripts/check-doc-snippets.mjsChangeset entries and package manifests restore publication eligibility for three packages. The documentation snippet checker includes exports from private workspace packages. NormalEstimated code review effort: 3 (Moderate) | ~20 minutes
Change: Bug fix
Sequence Diagram(s)#
sequenceDiagram participant test-db participant test-packages participant ArtifactStorage participant ReleaseJob participant Vitest test-db->>ArtifactStorage: Upload database JSON reports test-packages->>ReleaseJob: Complete package test matrix ArtifactStorage->>ReleaseJob: Download database report artifacts ReleaseJob->>Vitest: Merge database reportsPossibly related PRs
- TanStack/db#2171: Defines the first 1.0 RC release process and changeset that this PR updates.
- TanStack/db#2230: Adds Convex Collection and places it in the collections CI group covered by this PR’s matrix.
- TanStack/db#2103: Changes the same documentation snippet checker export mapping.
Merge Risk:
Minimal · up to68ca7-
No actionable merge-blocking risk was found in the reviewed changes.
Pre-merge checks:
5-
Check name Status Explanation Title check The title clearly summarizes the main changes: restoring release tests and enabling public package publishing. Docstring Coverage No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat… Linked Issues check Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Check skipped because no linked issues were found for this pull request. Description check The description follows the template's main sections (Changes, Oracle Coverage, Checklist, Release Impact) and gives clear, specific context: the purpose of restoring release test matrices and DB repo… Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (2 skipped: 2 unsupported.)
Full details: Description check
-
Explanation
The description follows the template's main sections (Changes, Oracle Coverage, Checklist, Release Impact) and gives clear, specific context: the purpose of restoring release test matrices and DB report steps, the package privacy reversal, and the documentation-checker mapping fix. Oracle Coverage names the coverage-map entries and owner and explains that no runtime law, oracle, or budget changed. Release Impact is marked and explains the npm publishing implications. The main gap is the Checklist: the local-test box is unchecked and the author states the maintainer asked for no local tests, so the template's testing item is not satisfied. The description does not cover the RED/GREEN evidence needed for a bug-class fix, but this PR is a restoration and mapping fix, so that is not required.
-
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
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.
Comment `@coderabbitai help` to get the list of available commands.-
Size Change: 0 B
Total Size: 238 kB
compressed-size-action::db-and-react-package-sizeℹ️ View Unchanged
Filename Size packages/db/dist/esm/client.js5.49 kB packages/db/dist/esm/collection-options-brand.js219 B packages/db/dist/esm/collection-options.js258 B packages/db/dist/esm/collection/change-events.js1.76 kB packages/db/dist/esm/collection/changes.js3.06 kB packages/db/dist/esm/collection/cleanup-queue.js828 B packages/db/dist/esm/collection/config-errors.js547 B packages/db/dist/esm/collection/events.js504 B packages/db/dist/esm/collection/health-tree.js698 B packages/db/dist/esm/collection/index.js6.32 kB packages/db/dist/esm/collection/indexes.js2.3 kB packages/db/dist/esm/collection/lifecycle.js5.59 kB packages/db/dist/esm/collection/mutations.js2.94 kB packages/db/dist/esm/collection/state.js7.69 kB packages/db/dist/esm/collection/subscription.js9.9 kB packages/db/dist/esm/collection/sync.js6.51 kB packages/db/dist/esm/collection/validate-config.js1.17 kB packages/db/dist/esm/deferred.js207 B packages/db/dist/esm/error-message.js642 B packages/db/dist/esm/errors.js7.15 kB packages/db/dist/esm/event-emitter.js1.06 kB packages/db/dist/esm/index.js4.75 kB packages/db/dist/esm/indexed-db-wrapper.js1.91 kB packages/db/dist/esm/indexed-db.js3.8 kB packages/db/dist/esm/indexes/auto-index.js924 B packages/db/dist/esm/indexes/base-index.js1.92 kB packages/db/dist/esm/indexes/basic-index.js1.93 kB packages/db/dist/esm/indexes/btree-index.js1.62 kB packages/db/dist/esm/indexes/index-registry.js916 B packages/db/dist/esm/indexes/reverse-index.js1.01 kB packages/db/dist/esm/live-query-adapter.js845 B packages/db/dist/esm/live-query-observer-client.js2.21 kB packages/db/dist/esm/live-query-observer.js3.3 kB packages/db/dist/esm/live-query-options.js2.19 kB packages/db/dist/esm/live-query-primitives.js406 B packages/db/dist/esm/live-query-window-binding.js1.56 kB packages/db/dist/esm/live-query-window-controller.js4.02 kB packages/db/dist/esm/local-only.js1 kB packages/db/dist/esm/local-storage.js4.58 kB packages/db/dist/esm/optimistic-action.js359 B packages/db/dist/esm/paced-mutations.js1.11 kB packages/db/dist/esm/proxy.js3.51 kB packages/db/dist/esm/query/builder/clone-query.js854 B packages/db/dist/esm/query/builder/functions.js1.61 kB packages/db/dist/esm/query/builder/group-keys.js157 B packages/db/dist/esm/query/builder/include-functions.js229 B packages/db/dist/esm/query/builder/index.js7.72 kB packages/db/dist/esm/query/builder/query-ir.js312 B packages/db/dist/esm/query/builder/ref-proxy-identity.js292 B packages/db/dist/esm/query/builder/ref-proxy.js1.67 kB packages/db/dist/esm/query/builder/wrapper-identity.js221 B packages/db/dist/esm/query/compiler/evaluators.js2.51 kB packages/db/dist/esm/query/compiler/expressions.js603 B packages/db/dist/esm/query/compiler/find-aggregate.js328 B packages/db/dist/esm/query/compiler/group-by.js4.38 kB packages/db/dist/esm/query/compiler/grouping.js161 B packages/db/dist/esm/query/compiler/index.js10.7 kB packages/db/dist/esm/query/compiler/joins.js3.42 kB packages/db/dist/esm/query/compiler/lazy-targets.js1.11 kB packages/db/dist/esm/query/compiler/order-by.js2.8 kB packages/db/dist/esm/query/compiler/parent-routes.js319 B packages/db/dist/esm/query/compiler/query-equivalence.js568 B packages/db/dist/esm/query/compiler/route-metadata.js1.24 kB packages/db/dist/esm/query/compiler/select.js1.5 kB packages/db/dist/esm/query/effect.js5.79 kB packages/db/dist/esm/query/equality-conjunct.js486 B packages/db/dist/esm/query/equality-value-identity.js736 B packages/db/dist/esm/query/expression-helpers.js1.61 kB packages/db/dist/esm/query/ir-stable-identity.js4.29 kB packages/db/dist/esm/query/ir.js2.26 kB packages/db/dist/esm/query/join-conditions.js257 B packages/db/dist/esm/query/live-query-collection.js391 B packages/db/dist/esm/query/live/bucket-facade-adapter.js3.17 kB packages/db/dist/esm/query/live/collection-config-builder.js8.52 kB packages/db/dist/esm/query/live/collection-registry.js264 B packages/db/dist/esm/query/live/collection-subscriber.js2.68 kB packages/db/dist/esm/query/live/graph-scheduler.js305 B packages/db/dist/esm/query/live/includes-runtime.js212 B packages/db/dist/esm/query/live/internal.js145 B packages/db/dist/esm/query/live/materialized-pipeline.js1.94 kB packages/db/dist/esm/query/live/ordered-source-loader.js6.52 kB packages/db/dist/esm/query/live/public-key-reduction.js970 B packages/db/dist/esm/query/live/subset-demand-controller.js2.44 kB packages/db/dist/esm/query/live/utils.js1.35 kB packages/db/dist/esm/query/optimizer.js2.95 kB packages/db/dist/esm/query/pooled-live-query.js5.14 kB packages/db/dist/esm/query/pooled-source.js219 B packages/db/dist/esm/query/query-once.js359 B packages/db/dist/esm/query/runtime-reference-identity.js630 B packages/db/dist/esm/query/subset-dedupe.js493 B packages/db/dist/esm/scheduler.js1.23 kB packages/db/dist/esm/SortedMap.js1.77 kB packages/db/dist/esm/strategies/commit-completion.js154 B packages/db/dist/esm/strategies/debounceStrategy.js658 B packages/db/dist/esm/strategies/queueStrategy.js523 B packages/db/dist/esm/strategies/serial-pacer.js486 B packages/db/dist/esm/strategies/throttleStrategy.js738 B packages/db/dist/esm/sync-persistence.js626 B packages/db/dist/esm/sync-receipt.js211 B packages/db/dist/esm/transaction-commit-work.js351 B packages/db/dist/esm/transactions.js4.66 kB packages/db/dist/esm/utils.js1.7 kB packages/db/dist/esm/utils/array-utils.js270 B packages/db/dist/esm/utils/browser-polyfills.js304 B packages/db/dist/esm/utils/btree.js3.02 kB packages/db/dist/esm/utils/callbacks.js219 B packages/db/dist/esm/utils/comparison.js1.95 kB packages/db/dist/esm/utils/cursor.js753 B packages/db/dist/esm/utils/error.js262 B packages/db/dist/esm/utils/get-or-create.js155 B packages/db/dist/esm/utils/index-optimization.js2.58 kB packages/db/dist/esm/utils/source-record.js140 B packages/db/dist/esm/utils/type-guards.js230 B packages/db/dist/esm/utils/uuid.js530 B packages/db/dist/esm/virtual-props.js400 B packages/react-db/dist/esm/DbProvider.js317 B packages/react-db/dist/esm/development.js190 B packages/react-db/dist/esm/HydrationBoundary.js263 B packages/react-db/dist/esm/index.js330 B packages/react-db/dist/esm/live-query-internals.js282 B packages/react-db/dist/esm/source-id-bindings.js339 B packages/react-db/dist/esm/useLiveInfiniteQuery.js1.46 kB packages/react-db/dist/esm/useLiveQuery.js3.04 kB packages/react-db/dist/esm/useLiveQueryEffect.js504 B packages/react-db/dist/esm/useLiveSuspenseQuery.js1.36 kB packages/react-db/dist/esm/usePacedMutations.js429 B More templates
- todos
- offline-first-electron
- @tanstack/db-example-react-action-enforcement
- @tanstack/db-example-react-next-ssr-e2e
- tanstack-start-example-basic
- @tanstack/db-example-paced-mutations-demo
- tanstack-start-db-projects-example
- @tanstack/db-example-react-start-ssr-e2e
- @tanstack/db-example-react-todo
- offline-transactions-react-native
- shopping-list-react-native
- @tanstack/db-example-solid-todo
@tanstack/angular-db
npm i https://pkg.pr.new/TanStack/db/@tanstack/angular-db@2299@tanstack/browser-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/browser-db-sqlite-persistence@2299@tanstack/capacitor-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/capacitor-db-sqlite-persistence@2299@tanstack/cloudflare-durable-objects-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/cloudflare-durable-objects-db-sqlite-persistence@2299@tanstack/convex-db-collection
npm i https://pkg.pr.new/TanStack/db/@tanstack/convex-db-collection@2299@tanstack/db
npm i https://pkg.pr.new/TanStack/db/@tanstack/db@2299@tanstack/db-ivm
npm i https://pkg.pr.new/TanStack/db/@tanstack/db-ivm@2299@tanstack/db-sqlite-persistence-core
npm i https://pkg.pr.new/TanStack/db/@tanstack/db-sqlite-persistence-core@2299@tanstack/electric-db-collection
npm i https://pkg.pr.new/TanStack/db/@tanstack/electric-db-collection@2299@tanstack/electron-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/electron-db-sqlite-persistence@2299@tanstack/expo-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/expo-db-sqlite-persistence@2299@tanstack/node-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/node-db-sqlite-persistence@2299@tanstack/offline-transactions
npm i https://pkg.pr.new/TanStack/db/@tanstack/offline-transactions@2299@tanstack/powersync-db-collection
npm i https://pkg.pr.new/TanStack/db/@tanstack/powersync-db-collection@2299@tanstack/preact-db
npm i https://pkg.pr.new/TanStack/db/@tanstack/preact-db@2299@tanstack/query-db-collection
npm i https://pkg.pr.new/TanStack/db/@tanstack/query-db-collection@2299@tanstack/react-db
npm i https://pkg.pr.new/TanStack/db/@tanstack/react-db@2299@tanstack/react-native-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/react-native-db-sqlite-persistence@2299@tanstack/react-router-with-db
npm i https://pkg.pr.new/TanStack/db/@tanstack/react-router-with-db@2299@tanstack/rxdb-db-collection
npm i https://pkg.pr.new/TanStack/db/@tanstack/rxdb-db-collection@2299@tanstack/solid-db
npm i https://pkg.pr.new/TanStack/db/@tanstack/solid-db@2299@tanstack/svelte-db
npm i https://pkg.pr.new/TanStack/db/@tanstack/svelte-db@2299@tanstack/tauri-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/tauri-db-sqlite-persistence@2299@tanstack/trailbase-db-collection
npm i https://pkg.pr.new/TanStack/db/@tanstack/trailbase-db-collection@2299@tanstack/vue-db
npm i https://pkg.pr.new/TanStack/db/@tanstack/vue-db@2299commit:
68ca700KyleAMathews changed the title
KyleAMathews merged this3937a73
KyleAMathews closed this
Sign in to join this conversation.
⚠️ No Changeset found#
Latest commit: 68ca7007408fdd63fa2d80a3e22832ec8c076f10
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 changesets to release 34 packages
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