GeezerVison is showing github.com — turso CLI: no rename and no libsql->TursoDB mode conversion — every fix is a full export/import data move · Issue #6827 · developing-today/code
turso CLI: no rename and no libsql->TursoDB mode conversion — every fix is a full export/import data move #6827DescriptionFound 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 list TYPE column is the only mode evidence: SQLite = libsql mode, Turso = TursoDB mode.
- There is no
turso db rename.
- A
--from-db fork INHERITS the source database's type; turso db create --from-db X --tursodb fails 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 dump does 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.
Activitydeveloping-today commented on Nov 7, 2026 dezren39 commented on 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 commented on Nov 8, 2026 🤖 Agent note · done (triage — task 11266; fix path scoped, issue stays open as the tracking record)
- Agent: queue worker, lane code-k (repo-worker-code)
- Session / ID: task 11266 · repo-queue-worker-shift-k · 2026-11-07 17:53 CST shift
- Found via: queue claim (direct execution lane)
- Task: triage issue turso CLI: no rename and no libsql->TursoDB mode conversion — every fix is a full export/import data move #6827 (turso CLI: no rename / no libsql→TursoDB conversion) against current origin/main
- Found (fresh checks, 2026-11-08T00:09Z):
- Acceptance 1 — partially met. The rule is recorded at
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 in doc/fleet/ (the turso docs there are queue-turso-cutover.md and agent-events-turso.md only), so a creator making a non-queue DB may never see the rule.
- Acceptance 2 — not yet in one place. The holdouts (atlas monolith; the great-star-lord group DBs) are named on this issue and in the atlas scaler design doc, and issue infra: repo-queue PostgREST timeout: global failures lane-visible again — recurrence after #6450 closed (2026-11-06 21:15-21:31Z) #6619 (the audit + conversion program) is CLOSED, but no canonical conversion-debt listing with the export/import procedure linked exists yet.
- Acceptance 3 — tracking only, as the issue states: no Turso rename/mode-convert verb is known to have shipped; do not attempt a holdout conversion casually (it is a full data move).
- Scoped follow-up (docs, small): one canonical fleet Turso page (e.g.
doc/fleet/turso-databases.md, linked from doc/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.
- Expectation: triage task 11266 completes as triaged; issue turso CLI: no rename and no libsql->TursoDB mode conversion — every fix is a full export/import data move #6827 stays OPEN at priority/low as the tracker.
dezren39 commented on 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 in doc/fleet/turso-databases.md on main, linked from doc/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. dezren39 commented on Nov 24, 2026 agent-note:v1
state: verified-and-routed (second pass, no new packet)
task: 21891 (repo-health-code-pilot, lane oc-code-04)
Fresh verification this pass (2026-11-24, main 9c2b4ad):
- Issue OPEN, no hold labels. Fix of record stands: PR docs(fleet): canonical Turso databases page #7721 MERGED (fb6f334).
- Acceptance 1 met: 'every new fleet Turso DB is born --tursodb' rule at doc/fleet/turso-databases.md:13, linked from doc/fleet/services.md:9 and :54.
- Acceptance 2 met: libsql holdouts (atlas monolith, great-star-lord) listed as known conversion debt with procedure linked (turso-databases.md:51-65).
- Acceptance 3 holds: turso CLI here is still v1.0.33 (same version as the issue's findings) — 'turso db --help' shows no rename or mode-convert verb; '--from-db ... --tursodb' contradiction stands. Issue stays OPEN deliberately as the tracking record until Turso ships the verb.
- Coverage: this pass is the only live item; no follow-on packet — no actionable work remains. Task 21891 completes.
dezren39 commented on Nov 25, 2026 🤖 Agent note · audited — criteria 1–2 already landed; issue stays open as tracker per criterion 3
Found (fresh, 2026-11-25):
- Criterion 1 — MET.
doc/fleet/turso-databases.md on current main (e49e336) states "every new fleet Turso DB is born --tursodb" as a general fleet rule (not queue-only), and doc/fleet/services.md links to it (lines 9, 54–55).
- Criterion 2 — MET. Same page lists the holdouts as known conversion debt — atlas monolith and great-star-lord group DBs, both "Open debt — not scheduled", tied to infra: repo-queue PostgREST timeout: global failures lane-visible again — recurrence after #6450 closed (2026-11-06 21:15-21:31Z) #6619 — and carries the full verified export/import conversion procedure (freeze writers → export → WAL-checkpoint the export pair → import
--tursodb → repoint producers → confirm → destroy old).
- This docs slice already landed as PR docs(fleet): canonical Turso databases page #7721 ("docs(fleet): canonical Turso databases page", branch
queue/13038-6827-turso-databases, MERGED) — the follow-up scoped by tasks 11266/12541/13038. No new PR is owed for criteria 1–2.
- Criterion 3 — NOT TRIGGERED. No Turso rename or libsql→TursoDB mode-convert verb found in the current Turso Cloud CLI docs (docs.turso.tech, checked 2026-11-25);
turso db create --tursodb at birth remains the only path. Per the issue's own criterion 3, this issue stays OPEN as the tracking record, not active work, until such a verb ships and the holdouts are converted with it. Do not attempt a holdout conversion casually — it is still a full data move.
Expectation: no slice started this run (would duplicate #7721); shortlist should treat #6827 as audited/tracker-only until a Turso verb ships.
developing-today-fleet commented on Nov 26, 2026
Agent note — triage (lane oc-code-02, task 24824)
State: triaged — reconciliation pass; fix-of-record stands, tracker status confirmed.
Fresh evidence (checked 2026-11-26T23:47Z):
- Issue turso CLI: no rename and no libsql->TursoDB mode conversion — every fix is a full export/import data move #6827 OPEN, labels task/triage, priority/low, effort/s, epic/turso-cloudflare. No held / user/owned / do-not-merge / do-not-auto-edit labels.
- Criteria 1–2 MET and still landed: doc/fleet/turso-databases.md exists on this checkout with the
--tursodb-at-birth rule (7 mentions), delivered by MERGED PR docs(fleet): canonical Turso databases page #7721 (fb6f334); holdouts (atlas monolith, great-star-lord) listed as known conversion debt with the export/import procedure. Prior passes (code-b/18508, oc-code-04/21891, xaltha audit 2026-11-25) all agree.
- Criterion 3 NOT TRIGGERED: issue stays OPEN deliberately as the tracking record until Turso ships a rename or libsql→TursoDB mode-convert verb; no holdout conversion is owed meanwhile (still a full data move).
Triage verdict: no actionable work; no new packet. Task 24824 completes as triaged. dezren39 commented on Nov 27, 2026 Lane 1937-K (queue task 25937, 2026-11-26 alpha DRIVE): re-verification against current main.
- Acceptance 1 — MET.
doc/fleet/turso-databases.md (landed 2026-11-08, commit a75c1db "docs(fleet): canonical Turso databases page (turso CLI: no rename and no libsql->TursoDB mode conversion — every fix is a full export/import data move #6827)", improved 57c0609) states the rule as its headline: "every new fleet Turso DB is born --tursodb", explicitly "not a queue-specific convention", and it is linked from doc/fleet/services.md (lines 8-9, 81-84) where a DB creator will see it.
- Acceptance 2 — MET. The same page lists the holdouts as known conversion debt in one place: atlas monolith and great-star-lord group DBs, both "Open debt — not scheduled", with the full verified export/import conversion procedure (freeze writers, WAL checkpoint, export → rename basename →
import --tursodb → repoint → confirm → destroy) in the page's conversion-procedure section.
- Acceptance 3 — tracking only, by the issue's own terms: no Turso rename/mode-convert verb is recorded as shipped, so the issue stays OPEN as the tracking record and the holdouts are not converted by data move.
Disposition: triage task 25937 completed as verified — the scoped docs follow-up (former task 13038) has landed; no remaining active work on this issue until Turso ships a verb. developing-today-fleet commented on Nov 28, 2026 Slice landed: PR #16435 adds --tursodb to all three runbook creation commands (fleet-queue-backup restore target, d1-backup home, laptop-db-backup leg home). Before: 3 bare creates; after: 0 in live runbooks. Canonical rule + holdout debt + conversion procedure remain in doc/fleet/turso-databases.md. #6827 stays open as the tracker until Turso ships a rename/mode-convert verb.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|