aspect-build / aspect-build/rules_lint

[Bug]: ty fails with no --extra-search-path

Open
#726 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Starlark
Stars
154
Forks
125
Avg merge
3d 21h
Merged PRs (30d)
20

Description

### What happened?

Repro is in a customer repo.

```
bash failed: error executing AspectRulesLintTy command (from target //monopi/featurization/external:numi_to_mcap) /bin/bash -c bazel-out/k8-fastbuild/bin/monopi/featurization/external/numi_to_mcap.run_shell_0.sh '' check --force-exclude monopi/featurization/external/numi_to_mcap.py --color always

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging

error: unexpected argument '--extra-search-path' found

Usage: ty

For more information, try '--help'.
```

### Version

HEAD

### How to reproduce

```shell

```

### Any other information?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing the AspectRulesLintTy command and the generated monopi/featurization/external/numi_to_mcap.run_shell_0.sh invocation shown in the report. Reproduce the Bazel sandbox failure with the customer repository or an equivalent target, then verify that ty no longer receives the unsupported --extra-search-path argument.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.