Skip to content

[automated] Investigate renamed-file handling in selective PR CI #19786

Open

Description

@radical

[automated] PR #19486 showed that a same-commit rename can expose the old path as an unmatched deletion and safely fall back to ALL.

The investigation found that exempting unmatched old paths is unsafe: a directory rule can have consumers beyond the moved file, and the destination can be ignored or removed by prefiltering. Either case could silently under-select tests. The selector should therefore retain the run-all fallback.

PR #19790 contains adjacent safety fixes found during the investigation. Both selector layers now share NUL-delimited diff parsing, literal backslashes are preserved, raw paths are escaped for Markdown, and truncated diff streams fail loudly. It deliberately does not suppress the safe ALL result for PR #19486.

Activity

  1. added
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Aug 28, 2026
  2. added
    area-engineering-systemsinfrastructure helix infra engineering repo stuff
    and removed
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Aug 28, 2026
  3. joperezr commented on Aug 28, 2026

    @joperezr
    Member
    🤖 Aspire triage pass — 2026-08-28 22:33 UTC

    Area: area-engineering-systems
    Kind: bug
    Repro: yes-large — repeatable example referenced in PR #19486
    Affected version(s): N/A — internal selective-test CI selector (not a shipped product surface)
    Severity: S4 — selector falls back to running ALL tests, i.e. fails safe (no missed coverage); efficiency-only, fix already in flight (#19790)

    Urgency: ⚪ backlog — no milestone
    Reason: internal CI selector bug with a safe fallback; not a customer-facing regression, and the fix is already open in #19790

    Suggested owner(s): David Pine (@IEvangelist) (score 24), backup Adam Ratzman (@adamint) (score 12)
    Evidence:

    Confidence: medium
    Needs human?: no

  4. changed the title [-][automated] Fix renamed-file handling in selective PR CI[/-] [+][automated] Investigate renamed-file handling in selective PR CI[/+] on Aug 29, 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

    area-engineering-systemsinfrastructure helix infra engineering repo stufftriage:bot-seenAspire triage bot has seen this issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions