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 — CF-3/CF-9/CF-10 (#14866): D1 queue backup retarget, laptop follow-main timer, pm-notify deployed record by developing-today-fleet[bot] · Pull Request #15564 · developing-today/code

Conversation

@developing-today-fleet

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

Uh oh!

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

Copy link
Copy Markdown
Contributor

Felix lane for #14866 slices CF-3 / CF-9 / CF-10. Left unmerged for Felix.

CF-3 — #14943 (queue backup/DR retargeted to the D1 plane)

  • bin/export_d1_to_d1.py: full logical export of live D1 fleet-queue → backup D1 fleet-queue-backup, reusing build_dump via a new D1SourceClient (D1 query API in the dump builder's client shape); refuses source == target.
  • bin/restore_drill_d1.py: restores the backup copy into a scratch D1 and verifies counts/table set against the export meta record; refuses backup/live as its own scratch.
  • fq_common.read_schema now excludes _cf_-prefixed platform internals — live finding: D1 refuses to read _cf_KV (SQLITE_AUTH) on the real fleet-queue database.
  • Scheduled leg: fleet-queue-backup-export-d1.service/.timer + run-export-d1.sh; install-units.sh installs but does not enable them. Activation (swap timers at CF-2's verified flip) + rollback are spelled out in the runbook. Registry rows added for both new timers.
  • Hermetic oracle tests: tests/test_d1_plane.py (SQLite-backed fake D1; export, refusal guards, restore drill).
  • Live proof (export of the real fleet-queue D1 into a scratch backup + restore drill) is recorded on CF-3 (#14866): queue backup/DR retargeted to the D1 plane #14943.
  • Coordination note on CF-3 (#14866): queue backup/DR retargeted to the D1 plane #14943: push registry tables stay Turso-side for DR until CF-5e (#14945): move the push registry tables from fleet-platform Turso to D1 fleet-platform #15561 (CF-5e) lands.

CF-9 — #14949 (laptop PM edition follows main + drift alarm)

  • Drift measurement/rendering/sentinel alarm already landed in feat(pm-aggregator): edition drift measurement, health surfacing, sentinel alarm (CF-9 slice 1, #14949) #15055. This PR adds the remaining follow leg per the 2026-11-26 decision recorded on the issue: hourly NixOS pm-stack-follow-main.timer starting the reviewed main-only agent-rebuild-switch.service, Persistent=true, registry row added. Activates on the laptop's next switch to a main containing it; no laptop-side forcing across today's flap.

CF-10 — #14950 (pm-notify relay deploy)

  • The deploy itself is live (not code): Worker pm-notify deployed 2026-11-26 via pkgs/cf/wrangler-authed.py, version 45db0876-46f9-4a80-85ef-9bf3836a6ca5; RELAY_SHARED_SECRET (newly created in Bitwarden under pm-aggregator.notify-relay-shared-secret) and VAPID_PRIVATE_KEY (by name pm-aggregator.vapid-private-key) set as Worker secrets. GET /status verified live.
  • This PR updates pm-stack/platform/workers.json: pm-notify now in service at https://pm-notify.developing-today.workers.dev with the deployed commit recorded.
  • Remaining (recorded on CF-10 (#14866): pm-notify relay — deploy and prove the dead-man's switch #14950): laptop aggregator PM_AGG_NOTIFY_RELAY_URL wiring + the real-device silence→push→recovery→push drill.

Remote verification: fleet-command run 45811732024 on developing-today/fleet (backup python tests + argument-contract test + notify-relay bun tests + edition-drift test).

{
  "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:34:09Z",
    "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.

All reactions
Felix
feat(cf): CF-3 D1 queue backup retarget, CF-9 follow-main timer, CF-1…
49bbc90
…0 pm-notify deployed record

CF-3 (#14943): export_d1_to_d1.py + restore_drill_d1.py over a new
D1SourceClient in fq_common (D1 query API in the dump builder's
client shape); _cf_ platform internals excluded from the schema
read (D1 refuses them, SQLITE_AUTH, seen live on fleet-queue).
D1 export service/timer + wrapper installed-but-not-enabled;
activation at CF-2's verified flip is spelled out in the runbook.
Hermetic oracle tests in tests/test_d1_plane.py (SQLite-backed).

CF-9 (#14949): hourly pm-stack-follow-main.timer in
amd-agent-rebuild.nix starts the reviewed main-only
agent-rebuild-switch.service (the 2026-11-26 decision on the
issue); registry row added. Drift alarm itself landed in #15055.

CF-10 (#14950): workers.json records pm-notify in service —
deployed 2026-11-26 via wrangler-authed, Worker secrets set from
Bitwarden by name; /status verified live.
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •
edited
Loading

Uh oh!

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

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: c35fe412-cb20-49ab-b9d5-5a88510b12b2

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 26, 2026
CF-9 (#14866): laptop PM edition follows main + drift alarm (M2) #14949
Open
3 tasks
Felix
fix(fleet-queue-backup): retry truncated HTTP responses in http_json (#…
39de705
…14943)

The CF-3 live D1 export died ~30 minutes into its paged reads on
http.client.IncompleteRead, which http_json's transport-retry set
did not cover (it caught URLError/TimeoutError/OSError only). A
mid-body truncation is a transport failure, not an API answer;
retry it like the others. Oracle test added to test_http_retry.py.
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 26, 2026
CF-10 (#14866): pm-notify relay — deploy and prove the dead-man's switch #14950
Open
Felix
fix(fleet-queue-backup): page D1 source reads at 100 rows (#14943)
1ab563c
A 500-row page of quote()-rendered queue rows is ~190 KB; the
sandbox egress proxy truncates responses that size mid-body on
every retry, which killed two live CF-3 export attempts against
the real fleet-queue D1. read_table_quoted now honours a per-client
page_rows (termination bound unchanged in shape) and
D1SourceClient declares 100.
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 26, 2026
CF-3 (#14866): queue backup/DR retargeted to the D1 plane #14943
Open
@developing-today-fleet
developing-today-fleet Bot merged commit 6f5266d into main Nov 26, 2026
2 checks passed

Uh oh!

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

@developing-today-fleet
developing-today-fleet Bot deleted the felix/cf-slices-14943-14950-14949 branch November 26, 2026 13:07
dezren39 added a commit that referenced this pull request Nov 26, 2026
@dezren39 @claude
Fix the amd rebuild: define the PM follow-main timer once (#15619)
c5beac0
Define the PM follow-main timer once

#15564 added systemd.timers.pm-stack-follow-main in both
nixos/hosts/amd-agent-rebuild.nix and nixos/services/pm-stack with
different values, so the amd system no longer evaluates and every
agent-rebuild-switch fails. Keep the pm-stack module's definition,
which follow-main-timer.test.sh checks.

Co-authored-by: Claude <[email protected]>
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 26, 2026
program: move PM Stack, queues, and all unblocked services to Workers + D1 (Cloudflare-first) #14866
Open
@dezren39 dezren39 mentioned this pull request Nov 26, 2026
Fleet queue backup failing silently #10296
Open
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.