Skip to content

Conversation

@MichaReiser
Copy link
Member

@MichaReiser MichaReiser commented Nov 10, 2025

Summary

Similar to ty's ecosystem check, build ruff from source during the ecosytem check intsead of downloading the binary from the test job.

Building ruff from source is relatively fast and waiting for the test job before starting the ecosystem check also only delays it unnecessarily and has the downside that the job fails if main hasn't uploaded the ruff binary yet (because the test job is still running or failed).

This also simplifies the CI pipeline.

@MichaReiser MichaReiser added the ci Related to internal CI tooling label Nov 10, 2025
@astral-sh-bot
Copy link

astral-sh-bot bot commented Nov 10, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@MichaReiser MichaReiser marked this pull request as ready for review November 10, 2025 12:05
@MichaReiser MichaReiser marked this pull request as draft November 10, 2025 12:15
@MichaReiser MichaReiser marked this pull request as ready for review November 10, 2025 12:27
@MichaReiser MichaReiser force-pushed the micha/stop-sharing-ruff-binary-across-jobs branch from a6370cd to ada3208 Compare November 10, 2025 12:59
@AlexWaygood
Copy link
Member

Cool that the ecosystem check now completes before some of the tests 😃

@MichaReiser MichaReiser merged commit 84a8107 into main Nov 10, 2025
73 of 75 checks passed
@MichaReiser MichaReiser deleted the micha/stop-sharing-ruff-binary-across-jobs branch November 10, 2025 13:27
dcreager added a commit that referenced this pull request Nov 11, 2025
* origin/main: (38 commits)
  [ty] Make implicit submodule imports only occur in global scope (#21370)
  [ty] introduce local variables for `from` imports of submodules in `__init__.py(i)` (#21173)
  [`ruff`] Ignore `str()` when not used for simple conversion (`RUF065`) (#21330)
  [ty] implement `typing.NewType` by adding `Type::NewTypeInstance`
  [ty] supress inlay hints for `+1` and `-1` (#21368)
  [ty] Use type context for inference of generic constructors (#20933)
  [ty] Improve generic call expression inference (#21210)
  [ty] supress some trivial expr inlay hints (#21367)
  [`configuration`] Fix unclear error messages for line-length values exceeding `u16::MAX` (#21329)
  [ty] Fix incorrect inference of `enum.auto()` for enums with non-`int` mixins, and imprecise inference of `enum.auto()` for single-member enums (#20541)
  [`refurb`] Detect empty f-strings (`FURB105`) (#21348)
  [ty] provide `import` completion when in `from <name> <name>` statement (#21291)
  [ty] elide redundant inlay hints for function args (#21365)
  Fix syntax error false positive on alternative `match` patterns (#21362)
  Add a new "Opening a PR" section to the contribution guide (#21298)
  [`flake8-simplify`] Fix SIM222 false positive for `tuple(generator) or None` (`SIM222`) (#21187)
  Rebuild ruff binary instead of sharing it across jobs (#21361)
  [ty] Fix `--exclude` and `src.exclude` merging (#21341)
  [ty] Add support for properties that return `Self` (#21335)
  Add upstream linter URL to `ruff linter --output-format=json` (#21316)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Related to internal CI tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants