Public: anyone can read this; the crew can change it.

Drop the retired keeper_beat table; clearFires stops naming feature_schedule_seen (#16268) #16359

opened this From outside

Check · Review · Land · Live — The access wall holds it for a person to decide: a trusted source's pull touches a path a trusted source's work may not change alone; a trusted source's pull touches release machinery. Allow it (merge) or send it back. Next: person, the access wall holds it for a person to decide: a trusted source's pull touches a path a trusted source's work may not change alone; a trusted source's pull touches release machinery. Allow it (merge) or send it back.

Green for 5 days, not landed: it waits for a person: the access wall holds it for a person to decide: a trusted source's pull touches a path a trusted source's work may not change alone; a trusted source's pull touches release machinery. Allow it (merge) or send it back. To unblock: a person who writes the repository merges it or requests changes.

Ready to land

keeperbeat was replaced by keeperbeattick in bb6145ca (#11822), first shipped in v0.7.551, and nothing since reads or writes it: one migration drops it, listed as retired in test/schema-additive.test.ts, and it leaves scripts/unread-tables-allow.json.

Notes · 5 files · +16 −4

look green — its check passed, ready for a look deploy 00334f8

Checked against an older mainCheck of 00334f8checked as combined with main at d05b12efast tier: green in 9m47s · full gate runs on land

Website spec: 25 findings (report only)

Combined with main

The preview is built from combined/16359 (052be587d4): main merged into this pull's head. Merging lands that branch.

The checks line says which commit the check ran on.

opened this

keeper_beat was replaced by keeper_beat_tick in bb6145ca (#11822), first shipped in v0.7.551, and nothing since reads or writes it: one migration drops it, listed as retired in test/schema-additive.test.ts, and it leaves scripts/unread-tables-allow.json.

feature_schedule_seen stays for now: v0.7.648, the newest release, still deletes from it in clearFires, so dropping it would make an app deletion throw on a process of that release during a roll or after a rollback. clearFires stops naming it here; once the releases in play no longer do, a later pull can drop it the same way.

Closes #16268 for keeper_beat; holds feature_schedule_seen back, as the issue's first box allows.

  • Re-checked at build time against the newest tag, v0.7.648 (and v0.7.647): nothing outside migrations names keeper_beat. v0.7.648 still runs DELETE FROM feature_schedule_seen in clearFires (src/core/feature_fires.ts:69), so dropping that table now would make deleting or un-absorbing an app throw on a 0.7.648 process during the roll or after a rollback.
  • This pull: migration 20261124235500-drop-keeper-beat (with its pin) drops keeper_beat; test/schema-additive.test.ts lists it under RETIRED (since bb6145ca, #11822, shipped from v0.7.551); scripts/unread-tables-allow.json drops keeper_beat; clearFires and its header comment no longer name feature_schedule_seen.
  • Left for a follow-up: once two releases without the clearFires DELETE are in play, one migration drops feature_schedule_seen the same way and it leaves the allow list. No reader, so nothing changes for anyone until then; any rows left behind by deleted apps go with the drop.

Tests run alone: schema-additive, unread-tables, keeper-heartbeat, keeper-pulse, features, feature-run-now, feature-schedule-one and the other files naming feature_fire/keeper_beat_tick: 125 pass. In local validate, 3 tests failed under load (apps "a build too old for a migration…", private-404-parity, snapshot-repositories "cannot be bundled"); each passes when rerun alone here. bundle-uri-wired fails on this box on main too (baseline).

Validation

validate on 00334f82: flaky in 358s (forge.json check.fast, verbatim, in a scrubbed env).

  • bun install --frozen-lockfile: ok (exit 0, 0s)
  • forge.json check.fast: FLAKY (exit 1, 358s)
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs