Skip to content

Commit a3e5c72

Browse files
authored
[ty] Use release mode for ecosystem report (#20663)
## Summary Prevent the ecosystem report workflow from timing out by running ty in release mode. ## Test Plan Manual workflow run: https://github.com/astral-sh/ruff/actions/runs/18154035186
1 parent 11dae2c commit a3e5c72

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ty-ecosystem-analyzer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
6565
cd ..
6666
67-
uv tool install "git+https://github.com/astral-sh/ecosystem-analyzer@6ce3a609575bc84eaf5d247739529c60b6c2ae5b"
67+
uv tool install "git+https://github.com/astral-sh/ecosystem-analyzer@279f8a15b0e7f77213bf9096dbc2335a19ef89c5"
6868
6969
ecosystem-analyzer \
7070
--repository ruff \

.github/workflows/ty-ecosystem-report.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,21 @@ jobs:
4949
5050
cd ..
5151
52-
uv tool install "git+https://github.com/astral-sh/ecosystem-analyzer@6ce3a609575bc84eaf5d247739529c60b6c2ae5b"
52+
uv tool install "git+https://github.com/astral-sh/ecosystem-analyzer@279f8a15b0e7f77213bf9096dbc2335a19ef89c5"
5353
5454
ecosystem-analyzer \
5555
--verbose \
5656
--repository ruff \
5757
analyze \
58+
--profile=release \
5859
--projects ruff/crates/ty_python_semantic/resources/primer/good.txt \
5960
--output ecosystem-diagnostics.json
6061
6162
mkdir dist
6263
6364
ecosystem-analyzer \
6465
generate-report \
65-
--max-diagnostics-per-project=1200 \
66+
--max-diagnostics-per-project=1000 \
6667
ecosystem-diagnostics.json \
6768
--output dist/index.html
6869

0 commit comments

Comments
 (0)