GeezerVison is showing github.com — pm console edge: flip ledger pages to D1 (CF-5, #14968) by developing-today-fleet[bot] · Pull Request #15559 · developing-today/code
Conversation
Flips the hosted ledger surfaces (/alerts, /notifications, /comments) from the fleet-platform Turso store to the fleet-platform D1 database, per the owner ruling of 2026-11-26 on #14866 (D1 is the target for all fleet state).
PR #15544 added the D1 read path behind LEDGER_STORE and the LEDGER_DB binding; the four ledger tables were copied from live Turso into D1 and verified by full-row-set SHA-256 (alerts_incidents 319, alerts_incident_events 606, alerts_notification_sends 271, shared_comments 2 — record on #14968). This PR sets LEDGER_PAGES=on and LEDGER_STORE=d1 in both halves of the config pair (wrangler.jsonc vars + cloudflare.config.ts env) so the flip survives deploys. Rollback: set LEDGER_STORE back to anything else and redeploy; the Turso path is untouched.
Refs #14968
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-26T11:29:05Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "4291c7d25d6699e6d0378dcce687f1935ec39c09"
},
"auth_subject": "felix",
"stamped_by": "fleet 0.1.0 (native)"
}
}
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.
Sets LEDGER_PAGES=on and LEDGER_STORE=d1 in both halves of the config
pair (wrangler.jsonc vars, cloudflare.config.ts env), so the hosted
/alerts, /notifications and /comments surfaces read the fleet-platform
D1 database retargeted by PR #15544 instead of the fleet-platform
Turso store. The Turso path stays in code as the rollback (flip
LEDGER_STORE back). Owner ruling 2026-11-26 on #14866: D1 is the
target for all fleet state.
Refs #14968
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:
57e1fbdc-a004-4070-b325-29760d609fee
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:
- 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
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 26, 2026
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
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.
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.
|