Skip to content

fix: restore the 78 files #1286's stale tree reverted — the cinematic epic and #1279's duplicates Parquet export (#1299) - #1300

Merged
athvin merged 1 commit into
mainfrom
fix/1299-restore-1286-stale-tree
Nov 27, 2026
Merged

athvin merged 1 commit into
mainfrom
fix/1299-restore-1286-stale-tree

Conversation

@athvin

@athvin athvin commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

Closes #1299

Post-merge is part of this pull request. The ledger below records whether
the follow-up work actually happened. /land-pr closes it.

What

Restores the 78 files that #1286 (248e2966) silently reverted, keeping #1286's own work, which is the usage endpoint, the record allowance and their docs.

Why

#1286's single commit, d245d4ad, was made on a fresh main (8b5b25ad), but its tree held dc45fd16's versions of 75 files. That undid most of the cinematic epic (#1272 #1275 #1278 #1280 #1282 #1283 #1285) and #1279's Parquet export for duplicate groups. The squash was CLEAN and the old code is self-consistent, so every gate passed.

Proof

The tree is computed, not hand-picked. It is the three-way merge #1286 should have been: d245d4ad's tree on its real base dc45fd16, merged into 2b8f0b84, then carried onto today's main. Both merges are conflict-free. Local make check on 01de872f: exit 0. Local make frontend: 1080 passed and 2 failed, both mobile-safari app specs (account.spec.ts:33, records.spec.ts:49) that touch none of these files. Both WebKit shards passed in CI's pinned Linux image on the same head, so the 2 failures are macOS WebKit only.

Risk & rollback

Risk: a semantic clash between #1279's restored Rust and #1286's new Rust in read.rs and lib.rs. The merge had no textual conflicts, and make check is the arbiter. Rollback: git revert <merge-sha>.

Post-merge ledger

Closed by: agent · session Claude Code:30a1182e-8c7e-47e3-92ac-cda64c13fcfc on Mac · 2026-11-27T04:02:35Z

Specific to this change

  • local make check on the restore — exit 0 on 01de872f (cold build in a fresh worktree).
Context — plan, discoveries, measurements, files

Plan

Discoveries

Measurements

Files

#1286 (248e296) was one commit, d245d4a. Its parent was a fresh main
(8b5b25a), but 75 files in its tree were the versions from dc45fd1:
a tree from an old worktree was committed on top of a new base. The
squash was CLEAN and the old code is self-consistent, so every gate
passed while it undid:

- the cinematic epic #1253: #1272, #1275, #1278, #1280, #1282, #1283
  and #1285, with their tests and visual baselines;
- #1279's Parquet export for duplicate groups (exports.rs, read.rs,
  export_write.rs and the ExportIn doc comment).

This is the merge #1286 should have produced, computed rather than
hand-picked:

1. Give d245d4a's tree its real parent, dc45fd1.
2. Three-way merge it into 2b8f0b8, the main it landed on, with base
   dc45fd1. No conflicts.
3. Carry the difference from 248e296 onto today's main with another
   three-way merge. No conflicts.

#1286's own work is kept: the usage endpoint, the record allowance, and
the docs on usage and the 402.

Closes #1299

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

The marketing preview was removed because this PR is closed or merged.

@athvin
athvin merged commit 25a7f70 into main Nov 27, 2026
44 checks passed
@athvin
athvin temporarily deployed to marketing-preview November 27, 2026 03:50 — with GitHub Actions Inactive
athvin pushed a commit that referenced this pull request Nov 27, 2026
…sion

#1286 was one commit whose parent was a fresh main but whose tree came from
an old worktree. It undid seven merged pull requests, and every gate was
green: the squash was CLEAN and the old code was self-consistent. #1310
nearly did the same that day. The diff reads as a feature that also deletes
things. What gives it away is that each file's new content is a version
main already had and moved past.

`stale tree guard` (stale-tree-guard.yml) walks each changed file's history
on main and names the commits a return would undo. A file brought back
with the content it had before main deleted it is the same finding.
Deletions alone are not findings. It is graded on main's own history:
- three or more source files returning fails;
- fewer warn (#1302 deliberately took back two lines of #877);
- screenshot baselines are reported and never counted (#1298's CTA
  baseline landed on old bytes).

Replayed against #1286's commit and main's last 40 merges, each on its true
parent:
- #1286 fails, on 33 source files;
- so does #1300, the restore, its mirror image, a revert that would
  carry `revert-ok`;
- three merges warn;
- the other 35 are silent.

The self-test runs first in the job. It covers the #1286 shape, a partial
revert, a baseline on old bytes, a genuine change, both exemptions (a
`Revert…` title and the `revert-ok` label) and a shallow clone, which is
refused rather than passed. The check is not required yet, by the order the
ci-and-supply-chain skill gives.

Closes #1307

Co-Authored-By: Claude Opus 5.5 <[email protected]>
athvin added a commit that referenced this pull request Nov 27, 2026
…sion (#1315)

* wip: claim #1307 — flag a pull request whose files revert to an older main version

* feat(ci): flag a pull request whose files return to an older main version

#1286 was one commit whose parent was a fresh main but whose tree came from
an old worktree. It undid seven merged pull requests, and every gate was
green: the squash was CLEAN and the old code was self-consistent. #1310
nearly did the same that day. The diff reads as a feature that also deletes
things. What gives it away is that each file's new content is a version
main already had and moved past.

`stale tree guard` (stale-tree-guard.yml) walks each changed file's history
on main and names the commits a return would undo. A file brought back
with the content it had before main deleted it is the same finding.
Deletions alone are not findings. It is graded on main's own history:
- three or more source files returning fails;
- fewer warn (#1302 deliberately took back two lines of #877);
- screenshot baselines are reported and never counted (#1298's CTA
  baseline landed on old bytes).

Replayed against #1286's commit and main's last 40 merges, each on its true
parent:
- #1286 fails, on 33 source files;
- so does #1300, the restore, its mirror image, a revert that would
  carry `revert-ok`;
- three merges warn;
- the other 35 are silent.

The self-test runs first in the job. It covers the #1286 shape, a partial
revert, a baseline on old bytes, a genuine change, both exemptions (a
`Revert…` title and the `revert-ok` label) and a shallow clone, which is
refused rather than passed. The check is not required yet, by the order the
ci-and-supply-chain skill gives.

Closes #1307

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: bmoore813 <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>

This branch was previously deployed

1 inactive deployment
marketing-preview — 01de872f Deployed Nov 27, 2026 by athvin via remove closed PR previews #90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

#1286 committed a stale tree: restore the 78 files it reverted (cinematic epic + #1279's duplicates Parquet export)

2 participants