Skip to content

Orphaned non-compiling branch unbreak-main-pipeline holds the only copy of merged PR #1982 — delete or repair #2001

Description

@macanderson

Problem

The branch unbreak-main-pipeline is orphaned and non-compiling, and it holds the only copy of a merged PR.

State as observed:

It does not compile. The merge of main into it concatenated two independently-written fixes for the same breaks (its own 5f634483 / 8d33e257 versus the unbreaks that actually landed, #1970 and #1971), leaving duplicate definitions:

  • struct PassingShell — twice, in crates/stella-pipeline/src/pipeline/tests/verification_hardening/flip_halt_arming.rs
  • fn shell_call_result — twice, same file
  • async fn a_revision_halts_at_the_step_where_the_tracked_test_flips — twice, same file
  • ModelCallRole::Research — in two match arms in crates/stella-pipeline/src/management_prompt/tests.rs (unreachable pattern)

Why it is not urgent, and why it is still worth closing out

main is unaffected — the breakage is not reachable from it, and #1787's fix has been landed on main separately (see the PR that references this issue). So nothing is broken for users today. The hazard is latent: the branch looks like a legitimate in-flight unbreak, and anyone who revives it, or opens a PR based on it, inherits a non-compiling tree and a stale duplicate of work that already shipped.

Repro

git fetch origin
git merge-base --is-ancestor origin/unbreak-main-pipeline origin/main; echo $?   # 1 = not in main
git log --oneline -3 origin/unbreak-main-pipeline
git show origin/unbreak-main-pipeline:crates/stella-pipeline/src/pipeline/tests/verification_hardening/flip_halt_arming.rs \
  | rg -c '^struct PassingShell;'                                                # 2 = duplicated

Definition of done

One of:

Whichever is chosen, add a comment on the closed #1975 and on #1982 saying where their content ended up, so the trail is not a dead end for the next reader.

Constraint worth recording

This is the second time in this round that two PRs fixed the same break differently and the merge silently concatenated rather than conflicted at the semantic level. flip_halt_arming.rs's own module docs already record the previous instance ("Keeping the cluster in one file is what makes that clobber a merge conflict instead of a silent deletion"). Duplicate definitions do at least fail the compiler — but only once something compiles them, and a dead branch never does.

Refs #1787, #1975, #1982, #1970, #1971.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:clistella-cli — commands, flags, wiringtriageUntyped request — convert by adding bug / feature / epic

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions