Repository navigation
Open
Labels
area/infraInfrastructure, deployment, and operationsInfrastructure, deployment, and operationseffort/sSmall: expected under 2 hours of workSmall: expected under 2 hours of workepic/turso-cloudflareEpic: epic/turso-cloudflare (fleet reprioritization 2026-11-12)Epic: epic/turso-cloudflare (fleet reprioritization 2026-11-12)kind/infrastructureInfrastructure / host-portability workInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedpriority/lowNice to have; do when convenientNice to have; do when convenientsource/humanFiled directly by a humanFiled directly by a humantask/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Milestone
Description
Found during the 2026-11-07 fleet-wide DB audit + rename/mode-fix program (#6619).
Facts, all empirically verified on scratch DBs (CLI v1.0.33):
turso db listTYPE column is the only mode evidence:SQLite= libsql mode,Turso= TursoDB mode.- There is no
turso db rename. - A
--from-dbfork INHERITS the source database's type;turso db create --from-db X --tursodbfails with "tursodb flag contradicts the database derived type". A fork can never change mode. - The only working conversion is:
turso db export <db>-> copy the export files to the target basename ->turso db import <file>.db --tursodb(the new DB is named after the FILE basename), then repoint every producer, confirm, and delete the old DB. turso db dumpdoes not exist in this CLI version (prints help).
Impact: converting the fleet's 8 libsql DBs on 2026-11-07 meant 8 full data moves (~7.7 GB total exports), per-DB token re-mints, and producer flips — for what should be a metadata operation. If Turso ever ships a mode-convert or rename verb, the fleet's remaining libsql holdouts (atlas monolith, great-star-lord — both deliberately untouched, see #6619) should use it. Until then, any new fleet DB must be created with --tursodb at birth; a libsql DB created by accident costs a full migration later.
Acceptance criteria
- The rule 'every new fleet Turso DB is created with --tursodb at birth' is recorded in the fleet's DB-creation documentation/runbook where a creator will see it.
- The remaining libsql holdouts named in the issue (atlas monolith, great-star-lord) are listed as known conversion debt with the export/import conversion procedure linked.
- If/when Turso ships a rename or mode-convert verb, the holdouts are converted with it and this issue is closed citing that conversion; until then this issue stays as the tracking record, not active work.
Metadata
Metadata
Assignees
Labels
area/infraInfrastructure, deployment, and operationsInfrastructure, deployment, and operationseffort/sSmall: expected under 2 hours of workSmall: expected under 2 hours of workepic/turso-cloudflareEpic: epic/turso-cloudflare (fleet reprioritization 2026-11-12)Epic: epic/turso-cloudflare (fleet reprioritization 2026-11-12)kind/infrastructureInfrastructure / host-portability workInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedpriority/lowNice to have; do when convenientNice to have; do when convenientsource/humanFiled directly by a humanFiled directly by a humantask/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Activity
developing-today commentedon Nov 7, 2026
CODE-2100
dezren39 commentedon Nov 7, 2026
Intake review
Related: #6619 (the audit + rename/mode-fix program that verified these CLI facts empirically on scratch DBs, CLI v1.0.33).
Notes: low priority — this is primarily a tracking/policy item. The expensive conversions for the 8 fleet DBs already happened in #6619; what remains is preventing recurrence (the --tursodb-at-birth rule) and recording the two deliberate holdouts.
Risks: none from enrichment. A future conversion of the holdouts remains a full data move until Turso ships a verb — do not attempt it casually.
Suggested approach: file the rule in the runbook, link the holdout list, and leave the issue open as the tracker for a future Turso verb.
🤖 Agent note · handed off
dezren39 commentedon Nov 8, 2026
🤖 Agent note · done (triage — task 11266; fix path scoped, issue stays open as the tracking record)
doc/fleet/queue-turso-cutover.md:26("the fleet standard is that new databases are born--tursodb") at origin/main, but only inside the queue cutover doc. There is no general fleet DB-creation runbook indoc/fleet/(the turso docs there arequeue-turso-cutover.mdandagent-events-turso.mdonly), so a creator making a non-queue DB may never see the rule.doc/fleet/turso-databases.md, linked fromdoc/fleet/services.md) carrying (a) the--tursodb-at-birth rule as the DB-creation rule, (b) the holdout list (atlas monolith, great-star-lord group) as known conversion debt, and (c) the verified export/import conversion procedure from this issue's body. Until that lands, this issue remains the tracking record, per its own acceptance 3.178 remaining items
dezren39 commentedon Nov 10, 2026
🤖 Agent note · picked up
direct.dezren39 commentedon Nov 10, 2026
🤖 Agent note · done
direct(fix(queue): single-session by default — launch-on-handoff, lane works, inline triage (reverses #8097 Rule 3) #8187). Dispositioned the two undispositioned Codex P2 findings by fixing them in 57c0609 (new step 1: freeze/drain source writers before export, resume only against the destination; copy step: checkpoint the exported .db/.db-wal pair into a standalone DB before renaming), replied on both threads (4529518878, 4529519338) and resolved them. PR docs(fleet): canonical Turso databases page #7721 MERGED as fb6f334; doc/fleet/turso-databases.md is on main and linked from doc/fleet/services.md. Issue turso CLI: no rename and no libsql->TursoDB mode conversion — every fix is a full export/import data move #6827 stays OPEN as the tracking record, per its acceptance criterion 3.dezren39 commentedon Nov 17, 2026
Triaged — already resolved: queue task 18508 (bulk-intake triage of issue #6827), Muse lane code-b, 2026-11-17.
Fresh verification this shift: issue #6827 OPEN with its triage labels of record (priority/low, effort/s; no
status/needs-triage, no hard-stop labels). Its fix was delivered by task 13038: PR #7721 MERGED (merge sha fb6f334) — the conversion procedure is documented indoc/fleet/turso-databases.mdon main, linked fromdoc/fleet/services.md, with both Codex P2 findings fixed and replied to in the PR.Per task 13038's closing note, issue #6827 stays OPEN deliberately as the tracking record (its acceptance criterion 3) — that is the recorded disposition, not unfinished work. No follow-on is needed from this triage.