Skip to content

head-check: merged-config merge follows directory renames, GitHub's update does not #1033

Closed

Description

@scuttletoby

Follow-up from #924 item 3. GitHub's update branch merges without directory-rename detection (measured on scratch PRs #1029 and #1030: a file added in a folder the base renamed stays in the old folder). The pr-queue's merge check now uses merge.directoryRenames=false to match it (PR for #924).

fork-ci/actions/head-check/head_check.py (_merged_config_problem) still merges with merge.directoryRenames=true, and its test test_the_merge_follows_a_directory_rename_as_the_queue_does says it does so because the queue does, which is no longer true.

Decide whether the check follows GitHub's merge (false) or keeps true on purpose, and fix the test comment either way. Known effect of true today: a base that adds the config in a folder the head renamed is refused as "deletes the config", while GitHub's merge keeps the config at its path (a false refusal, no wrong pass known).

Size S, area .github (critical: two lenses).

🤖 Generated with Claude Code

Activity

  1. added 2 commits that reference this issue on Nov 22, 2026
  2. added 2 commits that reference this issue on Nov 28, 2026
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