Skip to content

pipeline: data handoff matches S3 keys with filepath.Match, which over-matches on Windows #998

Closed

Description

@scttfrdmn

Found by the new Windows CI job (#971): TestPatternMatching/nested_no_match failed on windows-latest (output/*.txt matched output/nested/result.txt).

pkg/pipeline/data_handoff.go filters S3 object keys against a stage's input pattern with filepath.Match. S3 keys are always /-separated, but on Windows filepath.Match treats only \\ as the separator, so * crosses / and a Windows spore downloads nested objects the pattern excludes on Linux.

Fix: path.Match (identical on Linux, correct everywhere).

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