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 — Cold-store: file the libsql /dump malformed-schema-rows quirk upstream (owed since 2026-10-27) · Issue #8811 · developing-today/code

Cold-store: file the libsql /dump malformed-schema-rows quirk upstream (owed since 2026-10-27) #8811

New issue
Copy link
New issue
Copy link
Closed
Closed
Cold-store: file the libsql /dump malformed-schema-rows quirk upstream (owed since 2026-10-27)#8811
Copy link
Assignees
dezren39
Labels
designDesign record / living design doc tracking homeeffort/sSmall: expected under 2 hours of workepic/design-registerEpic: design-register - all issues of this effort carry itepic/storageEpic: epic/storage (fleet reprioritization 2026-11-12)kind/choreRoutine maintenance, housekeeping, dependency hygienemeta/follow-upFollow-up spun out of earlier workmode/onlineFully doable remotely: design, config, code, cloudpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
Milestone
Design register 2026-11

Description

@dezren39
dezren39
opened on Nov 12, 2026
Issue body actions

The filing debt

Owed since 2026-10-27: the record states the upstream-quirk issue for libsql's malformed /dump schema rows "was to be filed" in this repo — and it never was. The 60-day design audit (register X6) caught it as a small but exact example of the dropped-follow-through class the audit exists to stop.

Background

The cold-store nightly backup failed at the Turso step on 2026-10-27 (the atlas DB, ~1.13 GB, hit dump caps). The fix chain — PRs #1373 / #1383 — shipped a compressed streaming rebuild plus a local repair filter for libsql's malformed /dump schema rows, and the nightly ran clean ("Turso full-house") on 2026-10-28. The local workaround has carried the quirk ever since; upstream never heard about it from us.

Scope

  • Reduce the malformed /dump schema-row behavior to a minimal repro.
  • File the quirk upstream (tursodatabase/libsql) with that repro.
  • Record the upstream issue link here, and note where the local repair filter lives so it can be retired if upstream fixes the quirk.

Acceptance check

  • An upstream issue exists with a minimal repro, and its link is recorded on this issue. This issue closes on the filing — the upstream fix itself is tracked upstream.

Refs: 60-day design register, pm-stack/design-register-2026-11-11.md, §X6 · tracking epic #8805

Activity

Next
  1. dezren39
    added
    kind/choreRoutine maintenance, housekeeping, dependency hygiene
    task/triageQueue packet kind: verify, reproduce, and route this item
    source/humanFiled directly by a human
    priority/normalOrdinary priority (the default)
    meta/follow-upFollow-up spun out of earlier work
    mode/onlineFully doable remotely: design, config, code, cloud
    on Nov 12, 2026
  2. developing-today commented on Nov 12, 2026

    @developing-today
    developing-todayBot
    on Nov 12, 2026 – with developing.today
    Contributor
    More actions

    CODE-2642

  3. dezren39
    added
    designDesign record / living design doc tracking home
    on Nov 12, 2026
  4. dezren39
    added this to the Design register 2026-11 milestone on Nov 12, 2026
  5. dezren39
    added
    epic/design-registerEpic: design-register - all issues of this effort carry it
    epic/storageEpic: epic/storage (fleet reprioritization 2026-11-12)
    on Nov 12, 2026
  6. github-actions
    assigned
    dezren39
    on Nov 12, 2026
  7. dezren39
    added a parent issue on Nov 12, 2026
    • epic: design register — every design tracked, boarded, and monitored #8986
  8. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane any-g
    • Session / ID: task 18734
    • Found via: queue claim
    • Task: Inline triage of issue Cold-store: file the libsql /dump malformed-schema-rows quirk upstream (owed since 2026-10-27) #8811 (libsql /dump malformed-schema-rows upstream filing debt) — verify fresh state, set triage labels, route the scoped follow-on.
    • Expectation: effort s for the follow-on work; triage done when the verdict note is posted and the follow-on packet is enqueued (dedupe-checked).
    • Links: task 18734
  9. dezren39
    added
    queue/claimedQueue worker lifecycle state
    on Nov 17, 2026
  10. 6 remaining items

  11. dezren39
    added
    queue/queuedHas a queued queue task
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 17, 2026
  12. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane any-g
    • Session / ID: task 18734
    • Found via: queue claim
    • Task: Triage of issue Cold-store: file the libsql /dump malformed-schema-rows quirk upstream (owed since 2026-10-27) #8811 complete — outcome triaged. The fix is routed as follow-on task 19376 (small_fix, queued); issue Cold-store: file the libsql /dump malformed-schema-rows quirk upstream (owed since 2026-10-27) #8811 stays OPEN carrying queue/queued + task/small-fix until task 19376 files the upstream quirk and closes it.
    • Expectation: task 19376 acceptance: verified minimal repro → upstream issue in tursodatabase/libsql → link + repair-filter location recorded here → issue Cold-store: file the libsql /dump malformed-schema-rows quirk upstream (owed since 2026-10-27) #8811 closed.
    • Links: task 18734 (done, triaged) · task 19376 (queued) · triage note comment 6934490113
  13. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 17, 2026
  14. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1 — state: done, lane any-h, task 19376, at 2026-11-17T07:35Z

    The upstream filing debt is paid. Closing #8811 on the filing, per its acceptance check.

    Upstream issue: tursodatabase/libsql#2323 — "/dump emits malformed sqlite_schema rows for virtual tables with quoted arguments (quotes not escaped)", filed under the #176 verified-reproduction shape and recorded in the external-comms ledger at send time (record 7f7a60ce9ceb4b96a0a5717fc898cece).

    Verified minimal repro (run this shift, 2026-11-17):

    • Server: sqld 0.24.32 (40c272de), the current libsql-server-v0.24.32 release binary, run locally; client: turso CLI v1.0.33.
    • Setup: CREATE TABLE chunks(body TEXT); CREATE VIRTUAL TABLE ft USING fts5(content='chunks', body); plus one row and an FTS rebuild.
    • GET /dump line 6: INSERT INTO sqlite_schema(type,name,tbl_name,rootpage,sql) VALUES('table','ft','ft',0,'CREATE VIRTUAL TABLE ft USING fts5(content='chunks', body)'); — inner quotes NOT doubled.
    • Stock replay fails: sqlite3 rebuilt.db < dump.sql → Parse error near line 6: near "chunks": syntax error (exit 1).
    • Control: the same dump passed through the local repair filter rebuilds cleanly (exit 0), with the repaired line carrying content=''chunks''.

    Local repair filter (retire when upstream fixes the quirk): pkgs/cold-store-reaper/scripts/repair_dump.py in developing-today/code, wired into pkgs/cold-store-reaper/scripts/export-turso.sh (the /dump stream passes through it before the rebuild/verify step). Repro scratch kept on the laptop at ~/git/fleet/repro-libsql-8811/ (repro.sql, dump.sql, dump-repaired.sql).

    The upstream fix itself is tracked at tursodatabase/libsql#2323; this issue's acceptance (upstream issue exists with a minimal repro, link recorded here) is met.

  15. dezren39
    closed this as completedon Nov 17, 2026
  16. developing-today
    added
    status:done
    on Nov 17, 2026
  17. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

designDesign record / living design doc tracking homeeffort/sSmall: expected under 2 hours of workepic/design-registerEpic: design-register - all issues of this effort carry itepic/storageEpic: epic/storage (fleet reprioritization 2026-11-12)kind/choreRoutine maintenance, housekeeping, dependency hygienemeta/follow-upFollow-up spun out of earlier workmode/onlineFully doable remotely: design, config, code, cloudpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    • Design register 2026-11No due date

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    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.