Skip to content

Reject invalid case exclusions outside a target's suites #647

Closed

Description

@LunaStev

Current evidence

tools/case_manifest.py validates every exclude entry as a safe path that merely exists under tests/cases. The runtime selector later compares source-file paths against target.exclude.

An exclusion can therefore point to a directory or to a case from another target's OS/architecture and still pass manifest validation, even though it can never exclude a source selected for that target.

Scope

  • Require each exclusion to name a case source belonging to one of the target's selected suites.
  • Reject directories and unrelated existing paths.
  • Keep the existing safe-path and duplicate-entry validation.
  • Preserve valid exclusions for shared, architecture-shared, and target-specific cases.
  • Keep the broader runtime-portability work in Mark shared Wave cases as compile-portable or runtime-portable #459 separate.

Completion criteria

  • Unit tests reject an exclusion from another target suite.
  • Unit tests reject a directory passed as an exclusion.
  • Valid source exclusions continue to remove the intended runtime case.
  • Existing valid manifests and generated matrices remain unchanged.

Activity

  1. added
    bug
    good first issue
    needs testing
    on Sep 15, 2026
  2. self-assigned this
    on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buggood first issueneeds testing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions