Skip to content

feat(upstream): plan early intake with replay checks - #419

Merged
incognitojam merged 1 commit into
mainfrom
feat/early-upstream-intake-check
Sep 24, 2026
Merged

incognitojam merged 1 commit into
mainfrom
feat/early-upstream-intake-check

Conversation

@incognitojam

Copy link
Copy Markdown
Owner

Upstream intake is chronological, so maintainers need a way to assess whether a later fix can be imported early without creating conflicts as the intervening upstream changes are taken in. File overlap alone treats many independent changes as dependencies, while a clean cherry-pick against today's fork does not check the intervening history.

Add an early command to the upstream queue. For selected PRs, it applies their source patches at the reconciled upstream boundary, replays intervening integrations in order, adds conflicting PRs or direct commits as dependencies, verifies the final upstream tree, and checks the selected set against fork main. It also offers a quick file-overlap scan, reuses settled PR metadata when the target advances, and removes its temporary Git objects after each run. This reports a plan; it does not change the chronological intake or promotion policy.

Validation: In a standalone worktree based on current fork main, pingdotgg/t3code#13115 replayed 1,043 intervening integrations to the same upstream tree with no dependencies and applied cleanly to fork main. A combined selection of pingdotgg/t3code#9753 and pingdotgg/t3code#13115 replayed upstream cleanly but reported the existing fork conflict at pingdotgg/t3code#9753. Focused queue tests passed (19), along with scripts typecheck, targeted lint, formatting, and a check that simulation objects were removed. No early import was performed.


Written by an agent (Codex, GPT-6).

@incognitojam
incognitojam merged commit c0f9971 into main Sep 24, 2026
18 checks passed
@incognitojam
incognitojam deleted the feat/early-upstream-intake-check branch September 24, 2026 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant