ci: publish release candidates under latest #2300
main fromrefs/pull/2300/head·merged by KyleAMathews 🎯 Changes#
RC uploads currently use the rc tag, so unqualified installs continue to select the old stable line. Publish future candidate versions under latest, as the maintainer explicitly directed on 2026-10-29. Query Collection and Offline Transactions retain their stable versions and latest publishing.
Update the independent release model, command/HTTP oracle contract prose and wrong-tag calibration, supplemental release tests, and contributor policy together. Keep every history, observation, declared reach, and run budget. This changes the accepted tag policy; historical rc-only campaign records remain preserved.
Existing versions are still skipped by exact version. This PR does not promote already-published versions: use npm dist-tag add <package>@1.0.0-rc.1 latest for the 20 staged RC packages. That operation preserves their existing rc aliases. Future uploads use latest; automatic movement of an rc alias is outside this change. PR #2299 has merged and main is integrated here. It restores Release test jobs and public publication eligibility for Convex Collection, Preact DB, and React Router with DB at 1.0.0-rc.1. Initial publication and trusted-publisher permissions for those three packages still require verification.
🔬 Oracle Coverage#
Coverage-map entry: RC release histories and replay observations, owned by scripts/release-history-oracle.js, with command and HTTP receivers in scripts/publish-history-oracle.property.test.js and scripts/publish-http-oracle.property.test.js. The RC npm tag policy, 2026-10-29 entry records the authority and execution limits.
- Law: new candidate uploads use
latest, independent of registry tag history; authority is the maintainer decision recorded in CONTRIBUTING.md. - Reach: existing finite histories and declarations retained; no local executions measured for this change.
- RED/GREEN/mutant: not run, per the maintainer's explicit instruction to stop local tests. CI execution remains pending. No correctness or bug-class closure claim.
- Validation: changed-file oracle lint, formatting, and whitespace checks passed; no local tests or builds.
- Limits: manual tag promotion, production npm credentials, Actions authentication, and automatic
rcalias movement are not established by these owners. Full readiness is not assessed; known #2294, #2281, #2296, and #2287 deferrals remain.
✅ Checklist#
- I have tested this code locally with
pnpm test.
The maintainer explicitly prohibited further local tests and builds. CI supplies execution evidence; this checkbox remains unchecked.
🚀 Release Impact#
- This change affects published library code and requires a changeset.
- This change is docs/CI/dev-only (no package version bump).
The release tooling changes the tag for future uploads. It does not upload or retag any existing version by itself.
Summary by CodeRabbit#
- Changes
- Release candidates and stable versions are now published to npm’s
latesttag. Existing versions aren’t republished to change tags; use npm’s tag command to promote a version, preserving any existingrcalias. - Updated release guidance and checks to reflect the publishing policy.
- Release candidates and stable versions are now published to npm’s
- 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:
523979d8-42f6-4850-a439-12a913ee6c6a
Commits-
Reviewing files that changed from the base of the PR and between 672684846a1685838ceda2a170db8ffc9be8d2d2 and 85e26a79c2fa586487c454de1d19c0c473b29d6f.
Files selected for processing: 7-
CONTRIBUTING.mddocs/contributing/oracle-coverage.mdscripts/publish-history-oracle.property.test.jsscripts/publish-http-oracle.property.test.jsscripts/publish-packages.mjsscripts/publish-packages.test.mjsscripts/release-history-oracle.js
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
-
Release candidates and stable versions now publish with npm’s
latesttag. Existing versions are not republished to move tags. Contributor guidance, publishing tests, and release oracles reflect the policy.Changes: npm publish tags
Priority:Layer / File(s) Summary Publishing policy and tests
CONTRIBUTING.md,scripts/publish-packages.mjs,scripts/publish-packages.test.mjsThe publishing script assigns latestto every version. The tests expectlatestfor candidate publications and check failures by candidate version. Contributor guidance documents how to move an existing version tolatestwithout republishing it.Release oracle alignment
scripts/publish-history-oracle.property.test.js,scripts/publish-http-oracle.property.test.js,scripts/release-history-oracle.js,docs/contributing/oracle-coverage.mdRelease oracle expectations now use latestfor candidate versions. The coverage notes distinguish historicalrc-only evidence from the current policy and describe the scope of the oracles. NormalEstimated code review effort: 2 (Simple) | ~10 minutes
Change: Feature
Merge Risk:
Minimal · up to85e26-
No actionable merge-blocking risk is established for this release-tag policy change.
Pre-merge checks:
5-
Check name Status Explanation Title check The title clearly and concisely identifies the main change: publishing release candidates under the latest tag. Docstring Coverage Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. 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 required template and fills every section. It states the change: future RC uploads move from the rctag tolatest, and stable packages keep theirlatestpublishing. T…Full details: Docstring Coverage
-
Explanation
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. 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 1 functions across 5 files. (2 skipped: 2 unsupported.)
Full details: Description check
-
Explanation
The description follows the required template and fills every section. It states the change: future RC uploads move from the
rctag tolatest, and stable packages keep theirlatestpublishing. The Oracle Coverage section names the coverage-map owners, the law under test, the reach, the validation run, and the limits. The author reports changed-file lint, formatting, and whitespace checks as passed, and states that no local tests or builds were run at the maintainer's instruction. The unchecked local-test box is explained. The Release Impact section marks the change as docs/CI/dev-only and explains that no existing version is retagged. The description is detailed and specific. Two items are not fully resolved: the Oracle Coverage section does not give RED/GREEN evidence for a bug fix, but this is not a bug fix, so that requirement does not apply. The description also lists open deferrals without resolving them, which the template allows.
-
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 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.-
More templates
- todos
- offline-transactions-react-native
- shopping-list-react-native
- @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
- @tanstack/db-example-solid-todo
- offline-first-electron
@tanstack/angular-db
npm i https://pkg.pr.new/TanStack/db/@tanstack/angular-db@2300@tanstack/browser-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/browser-db-sqlite-persistence@2300@tanstack/capacitor-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/capacitor-db-sqlite-persistence@2300@tanstack/cloudflare-durable-objects-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/cloudflare-durable-objects-db-sqlite-persistence@2300@tanstack/convex-db-collection
npm i https://pkg.pr.new/TanStack/db/@tanstack/convex-db-collection@2300@tanstack/db
npm i https://pkg.pr.new/TanStack/db/@tanstack/db@2300@tanstack/db-ivm
npm i https://pkg.pr.new/TanStack/db/@tanstack/db-ivm@2300@tanstack/db-sqlite-persistence-core
npm i https://pkg.pr.new/TanStack/db/@tanstack/db-sqlite-persistence-core@2300@tanstack/electric-db-collection
npm i https://pkg.pr.new/TanStack/db/@tanstack/electric-db-collection@2300@tanstack/electron-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/electron-db-sqlite-persistence@2300@tanstack/expo-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/expo-db-sqlite-persistence@2300@tanstack/node-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/node-db-sqlite-persistence@2300@tanstack/offline-transactions
npm i https://pkg.pr.new/TanStack/db/@tanstack/offline-transactions@2300@tanstack/powersync-db-collection
npm i https://pkg.pr.new/TanStack/db/@tanstack/powersync-db-collection@2300@tanstack/preact-db
npm i https://pkg.pr.new/TanStack/db/@tanstack/preact-db@2300@tanstack/query-db-collection
npm i https://pkg.pr.new/TanStack/db/@tanstack/query-db-collection@2300@tanstack/react-db
npm i https://pkg.pr.new/TanStack/db/@tanstack/react-db@2300@tanstack/react-native-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/react-native-db-sqlite-persistence@2300@tanstack/react-router-with-db
npm i https://pkg.pr.new/TanStack/db/@tanstack/react-router-with-db@2300@tanstack/rxdb-db-collection
npm i https://pkg.pr.new/TanStack/db/@tanstack/rxdb-db-collection@2300@tanstack/solid-db
npm i https://pkg.pr.new/TanStack/db/@tanstack/solid-db@2300@tanstack/svelte-db
npm i https://pkg.pr.new/TanStack/db/@tanstack/svelte-db@2300@tanstack/tauri-db-sqlite-persistence
npm i https://pkg.pr.new/TanStack/db/@tanstack/tauri-db-sqlite-persistence@2300@tanstack/trailbase-db-collection
npm i https://pkg.pr.new/TanStack/db/@tanstack/trailbase-db-collection@2300@tanstack/vue-db
npm i https://pkg.pr.new/TanStack/db/@tanstack/vue-db@2300commit:
785eff1Size 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 KyleAMathews merged thisbea84cd
KyleAMathews closed this
Sign in to join this conversation.
⚠️ No Changeset found#
Latest commit: 785eff15c81b6d769a3de3b86f06e346b8d4a25c
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