73c3c787abbe1ca71b900f11bb880e1de09c6d2a,src/python/pants/engine/process.py,,find_binary,#Any#,376

Before Change


            )
        ),
    )
    if result.exit_code == 0:
        paths.extend(result.stdout.decode().splitlines())

    return BinaryPaths(binary_name=request.binary_name, paths=paths)


def rules():

After Change


        return dataclasses.replace(binary_paths, paths=[BinaryPath(path) for path in found_paths])

    results = await MultiGet(
        Get(
            FallibleProcessResult,
            UncacheableProcess(
                Process(argv=[path, *request.test_args], description=f"Test binary {path}.")
            ),
        )
        for path in found_paths
    )
    return dataclasses.replace(
        binary_paths,
        paths=[
            BinaryPath.fingerprinted(path, result.stdout)
            for path, result in zip(found_paths, results)
            if result.exit_code == 0
        ],
    )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: pantsbuild/pants
Commit Name: 73c3c787abbe1ca71b900f11bb880e1de09c6d2a
Time: 2020-09-13
Author: john.sirois@gmail.com
File Name: src/python/pants/engine/process.py
Class Name:
Method Name: find_binary


Project Name: pantsbuild/pants
Commit Name: 5040d993d6253ed5842bee14f05d413d6b24ee9c
Time: 2020-06-25
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/rules/inject_init.py
Class Name:
Method Name: inject_missing_init_files


Project Name: pantsbuild/pants
Commit Name: 538b976a67884e2d9879c3fd0eb16d732426ece5
Time: 2019-08-24
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/rules/python_test_runner.py
Class Name:
Method Name: run_python_test


Project Name: pantsbuild/pants
Commit Name: d7536dbcb48f7228ee6dc3136a9331f0cca3d3c7
Time: 2020-09-24
Author: stuhood@gmail.com
File Name: src/python/pants/engine/process.py
Class Name:
Method Name: find_binary