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 — fix(fleet-queue-backup): exclude __turso_internal_* bookkeeping from D1 schema reads by developing-today-fleet[bot] · Pull Request #16252 · developing-today/code

Conversation

@developing-today-fleet

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

Uh oh!

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

Copy link
Copy Markdown
Contributor

CF-3 slice of #14943 (queue task 23735, lane oc-code-01).

Problem. Drills #1 and #2 both SAFE-REFUSED with an identical signature: the backup re-read enumerates 34 tables against the 32-table export record, all 32 shared counts exactly equal. The delta is two extra one-row bookkeeping tables (__turso_internal_seq___turso_internal_autoincrement_github_issue_history / ..._github_label_history) that appear in fleet-queue-backup after the import. Systematic across two separate fresh exports — not a race, not a concurrent-writer smear.

Fix. read_schema (infra/fleet-queue-backup/bin/fq_common.py) now skips __turso_internal_* the same way it already skips sqlite_%\' and cf*`: platform/internal bookkeeping, not queue user data. Export record and drill re-read therefore agree by construction; the smear guard keeps full strength for any other table-set drift. No production touch: no timer, unit, database, or live-plane change.

Hermetic evidence (this PR). tests/test_d1_plane.py: 6/6 pass, full tests/test_*.py suite 13/13 files green. New oracles pin both sides — the export never copies the tables, and the drill verifies a backup that gained them post-export. Red-green verified: both new tests fail on the pre-fix read_schema.

Live proof still pending (not this PR). A post-merge scheduled export plus restore_drill_d1.py --create-scratch --drop-scratch must pass on the laptop; the CF-2 gate is unchanged — no retarget/activation of the D1 backup leg before verified live D1 cutover (#14942 still OPEN).

Ref #14943

{
  "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-27T17:23:49Z",
    "session_id": "ses_e5de20b13aeffefV2BvxWAa6ON",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code-cf3-drill-fix",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code-cf3-drill-fix",
      "repo": "developing-today/code",
      "branch": "oc-code-01/14943-cf3-drill-internal-exclusion",
      "sha": "ac20ba7e9e2583fddc2e1c1f5b86017a9fb92d44"
    },
    "auth_subject": "oc-code-06",
    "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.

All reactions
oc-code-01
fix(fleet-queue-backup): exclude __turso_internal_* bookkeeping from …
ac20ba7
…D1 schema reads

The D1 backup copy gains two one-row __turso_internal_seq_* tables
after an import (observed live on fleet-queue-backup 2026-11-27).
build_dump re-read them, so every restore drill refused the faithful
copy as smeared (34 tables vs the 32-table export record, all shared
counts identical). Skip them in read_schema like sqlite_% and _cf_*:
they are not queue user data. The smear guard keeps full strength for
any other table-set drift.

Hermetic oracles in test_d1_plane.py pin both sides: the export never
copies the tables, and the drill verifies a backup that gained them
post-export.

Ref #14943
@coderabbitai

coderabbitai Bot commented Nov 27, 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: c3be5884-1d3b-40a7-b254-e16a2497849a

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 mentioned this pull request Nov 27, 2026
CF-3 (#14866): queue backup/DR retargeted to the D1 plane #14943
Open
@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Lane 1122-D (delta PRESS landings, 2026-11-27) — shepherding to merge under standing authority.

Claim-scan: PR comments = only CodeRabbit skipped (7224361108); review comments = 0; linked issue #14943 comments (13) read — latest is author lane oc-code-01's fix-proposed note 7224365516 for this PR, no live sibling landings claim.

Verification on exact head ac20ba7 (stable across two reads, OPEN/non-draft/CLEAN/MERGEABLE):

  • Repo CI run 46041513874 https://github.com/developing-today/code/actions/runs/46041513874 — workflow 'fleet-queue-backup tests', event=pull_request, head_sha=ac20ba7e…, status=completed, conclusion=success; check-run 'test' id 140650121911 = success.
  • Diff scope matches body: fq_common.py (+12/-3, _turso_internal exclusion in read_schema) + test_d1_plane.py (+52, both new oracles present).
    Merging now.
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 adf155f into main Nov 27, 2026
3 checks passed

Uh oh!

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

@developing-today-fleet
developing-today-fleet Bot deleted the oc-code-01/14943-cf3-drill-internal-exclusion branch November 27, 2026 17:32
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

None yet

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.

0 participants

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.