Skip to content

main red: hostile_repos deleted-file stderr notice missing after check reads the worktree by default (#5997) #7113

Closed as duplicate

Description

@EffortlessSteven

Repro: cargo nextest run -p ripr --test hostile_repos control_bytes_in_names_and_config_never_reach_github_output_stderr_or_commands on main at be175c21. It fails in Rust gates on #6715, whose diff is fixtures and changelog only (run 37698536583, job 113056221534):

Error: "expected the escaped file name on stderr
ripr progress: loading_input [worktree]
ripr progress: analyzing [worktree]
ripr: 1 changed script file(s) (Shell) were not analyzed: s\u{1b}]0;pwna.sh; review them with their own checks.
ripr progress: building_output [worktree]
ripr progress: completed [worktree]
"

Likely cause (inferred, not bisected): #5997 (9cc79a16, "analyze the dirty working tree by default") makes ripr check --base main read the worktree. The test deletes the tracked hostile file src/a\u{1b}[2Jb.rs from the working tree, then expects the deleted-file stderr notice that names it (crates/ripr/tests/hostile_repos.rs:901-914, added by #6625/#6911). In worktree mode the deleted file is no longer reported, so the notice never prints. Either the notice has to survive the worktree default, or the test needs --committed (or whatever flag selects the old read) for that step.

Goal it hurts: every PR's required Rust gates go red until it is fixed, and a deleted hostile-named file may now drop its notice silently.

Owner: whoever owns #5997 / check input selection.


Generated by Claude Code

Activity

  1. EffortlessSteven commented on Oct 7, 2026

    @EffortlessSteven
    MemberAuthor

    Duplicate of #7106; the fix is in #7112 (pins --committed for the deleted-file step).


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions