GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(hosted-worker): deploy the fleet queue on D1 — database_id, real-D1 parity gate (#14870) by developing-today-fleet[bot] · Pull Request #14898 · developing-today/code

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 25, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

What this is

The #14870 deployment slice of the #14866 Cloudflare-first programme (follow-on to PR #14868, which landed D1QueueStore): the fleet-queue D1 database is provisioned, bound in the config, and proven against the real database.

What landed

  • wrangler.toml — the [[d1_databases]] stanza gains database_id = "c17186b0-e27f-4b0b-9429-54c1ecf2f4fb". The database pre-existed in the fleet account of record (created 2026-11-25T03:14:57Z, empty, num_tables: 0); this slice adopted it rather than creating a second one. workers_dev = true added (the decision-events pattern). The header's local-only posture is retired for the queue door's versions deployment; stale local-only references in the stanza comments are corrected.
  • Schema provisioned explicitly (step 2 of slice(#14866): deploy the fleet queue on D1 — create + bind QUEUE_D1, real-D1 parity, versions deploy #14870): the shared LIBSQL_QUEUE_SCHEMA DDL — imported from src/libsql-queue-store.ts itself, so byte-identical — applied to the real database: 12 statements; tables checkpoints, events, lanes, leases, repo_task_lane_ledger, tasks, workers; 9 indexes.
  • test/d1-queue-parity.test.ts — a gated real-D1 suite beside the Hrana wire suite's pattern: with HOSTED_WORKER_D1_DATABASE_ID / CLOUDFLARE_ACCOUNT_ID / CLOUDFLARE_API_TOKEN set, two doors over the production D1DatabaseClient (one via openD1QueueStore, one via buildDeps) enqueue, claim and complete in the suite's own queue (d1-parity-smoke) on the deployed database, and the queue health verb reports backend: "d1". Unset, it skips.

Verification (laptop worktree, named fallback — CI runs on main only)

  • Gated run against the real database: 7/7 pass in test/d1-queue-parity.test.ts, including the real-D1 test (35.9 s of real D1 HTTP statements). Read-back from the database itself: task id 1, queue d1-parity-smoke, status done — left in place as the run's record.
  • Full package suite: 255 tests, 252 pass, 0 fail, 3 skipped (pre-existing endpoint-gated skips + the new gate, ungated). tsc --noEmit clean.

What remains after this PR (recorded on #14870)

  • The versions deploy itself (upload + deploy from merged main), the /health check at the workers.dev address, and the rollback rehearsal at the versions layer (deploy the no-D1-binding version, then re-deploy the D1 version) — executed by the claiming lane directly after this merges, with the record on slice(#14866): deploy the fleet queue on D1 — create + bind QUEUE_D1, real-D1 parity, versions deploy #14870 and the slice record on program: move PM Stack, queues, and all unblocked services to Workers + D1 (Cloudflare-first) #14866.
  • Data-migration direction was stated on slice(#14866): deploy the fleet queue on D1 — create + bind QUEUE_D1, real-D1 parity, versions deploy #14870 before any cutover: no live data moves in this deploy (the native broker over Turso is untouched); rows move between backends by export/import over the shared schema, never by translation; unbinding QUEUE_D1 restores the Hrana backend with no code change.

Refs #14870, #14866.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
feat(hosted-worker): deploy the fleet queue on D1 — database_id, real…
375109f
…-D1 parity gate (#14870)

Records the fleet-queue D1 database_id in wrangler.toml (the database
pre-existed in the account, empty; #14870 provisioned the shared
LIBSQL_QUEUE_SCHEMA on it explicitly — 7 tables, 9 indexes), enables
the workers.dev address, and retires the config's local-only posture
for the queue door's versions deployment.

Adds the gated real-D1 parity suite to test/d1-queue-parity.test.ts
(the Hrana wire suite's pattern): with HOSTED_WORKER_D1_DATABASE_ID /
CLOUDFLARE_ACCOUNT_ID / CLOUDFLARE_API_TOKEN set, two doors over the
production D1DatabaseClient — one via openD1QueueStore, one via
buildDeps — enqueue, claim and complete in the suite's own queue on
the deployed database, and the queue health verb reports backend
"d1". Unset, it skips. Recorded run: 7/7 pass against the real
database; the completed smoke task (id 1, queue d1-parity-smoke)
stays in the database as the run's record.

Refs #14870, #14866.
@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

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: e63ba8dd-5ee2-441f-8eb5-c50ba0b628a3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet
developing-today-fleet Bot merged commit 3c0bfef into main Nov 25, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet
developing-today-fleet Bot deleted the queue/iw287-14870-d1-deploy branch November 25, 2026 06:47
This was referenced Nov 25, 2026
slice(#14866): deploy the fleet queue on D1 — create + bind QUEUE_D1, real-D1 parity, versions deploy #14870
Closed
program: move PM Stack, queues, and all unblocked services to Workers + D1 (Cloudflare-first) #14866
Open
docs(books): daily spot-check 2026-11-25 — atlas 44 modules, fleet 17 crates + fleet-hosted in service, id four packaged apps #15140
Merged
@developing-today-fleet developing-today-fleet Bot added the audit:completed-later Gap completed by later merged PR label Nov 27, 2026
This was referenced Nov 27, 2026
Audit programme: seven-lane review of PRs, issues and designs (2026-11-23) #13871
Open
fleet-hosted: deploy the service skeleton and verify live identity endpoints #16086
Closed
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:completed-later Gap completed by later merged PR

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.