Skip to content

tooling: Speed up bin/lint (26s to 16s on my system, way less CPU used) & live output#35400

Merged
def- merged 2 commits intoMaterializeInc:mainfrom
def-:pr-lint-speedups
Mar 13, 2026
Merged

tooling: Speed up bin/lint (26s to 16s on my system, way less CPU used) & live output#35400
def- merged 2 commits intoMaterializeInc:mainfrom
def-:pr-lint-speedups

Conversation

@def-
Copy link
Copy Markdown
Contributor

@def- def- commented Mar 10, 2026

check-whitespace.sh:          24s ->  1s
check-protobuf.sh:            19s ->  3s
check-mzcompose-files.sh:     18s ->  4s
check-copyright.sh:           14s ->  0.4s
check-rust-test-attributes.sh: 8s ->  0.2s
check-python-files.sh:        17s -> 14s

Main blocker is pyright now, but unfortunately Astral's ty doesn't seem up to the task yet.

@github-actions
Copy link
Copy Markdown
Contributor

Thanks for opening this PR! Here are a few tips to help make the review process smooth for everyone.

PR title guidelines

  • Use imperative mood: "Fix X" not "Fixed X" or "Fixes X"
  • Be specific: "Fix panic in catalog sync when controller restarts" not "Fix bug" or "Update catalog code"
  • Prefix with area if helpful: compute: , storage: , adapter: , sql:

Pre-merge checklist

  • The PR title is descriptive and will make sense in the git log.
  • This PR has adequate test coverage / QA involvement has been duly considered. (trigger-ci for additional test/nightly runs)
  • If this PR includes major user-facing behavior changes, I have pinged the relevant PM to schedule a changelog post.
  • This PR has an associated up-to-date design doc, is a design doc (template), or is sufficiently small to not require a design.
  • If this PR evolves an existing $T ⇔ Proto$T mapping (possibly in a backwards-incompatible way), then it is tagged with a T-proto label.
  • If this PR will require changes to cloud orchestration or tests, there is a companion cloud PR to account for those changes that is tagged with the release-blocker label (example).

@def- def- changed the title tooling: Speed up bin/lint tooling: Speed up bin/lint (26s to 16s on my system, way less CPU used) Mar 10, 2026
@def- def- force-pushed the pr-lint-speedups branch 5 times, most recently from c0afb41 to 5758e0b Compare March 10, 2026 17:11
@def- def- requested a review from bosconi March 10, 2026 17:12
@def- def- marked this pull request as ready for review March 10, 2026 17:12
@def- def- requested a review from a team as a code owner March 10, 2026 17:12
@def- def- requested a review from bobbyiliev March 11, 2026 12:32
@def-
Copy link
Copy Markdown
Contributor Author

def- commented Mar 12, 2026

Ready for review

def- added 2 commits March 13, 2026 12:23
check-whitespace.sh:          24s -> 1s
check-protobuf.sh:            19s -> 3s
check-mzcompose-files.sh:     18s -> 4s
check-copyright.sh:           14s -> 0.4s
check-rust-test-attributes.sh: 8s -> 0.2s

Main blocker is pyright now, but unfortunately Astral's ty doesn't seem
up to the task yet.
@def- def- force-pushed the pr-lint-speedups branch from 5758e0b to c08fe14 Compare March 13, 2026 11:25
@def- def- changed the title tooling: Speed up bin/lint (26s to 16s on my system, way less CPU used) tooling: Speed up bin/lint (26s to 16s on my system, way less CPU used) & live output Mar 13, 2026
Copy link
Copy Markdown
Member

@bosconi bosconi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Huge improvements! Python and fewer processes for the win it would seem.

@def- def- merged commit fed1275 into MaterializeInc:main Mar 13, 2026
128 checks passed
antiguru pushed a commit to antiguru/materialize that referenced this pull request Mar 26, 2026
…d) & live output (MaterializeInc#35400)

```
check-whitespace.sh:          24s ->  1s
check-protobuf.sh:            19s ->  3s
check-mzcompose-files.sh:     18s ->  4s
check-copyright.sh:           14s ->  0.4s
check-rust-test-attributes.sh: 8s ->  0.2s
check-python-files.sh:        17s -> 14s
```
Main blocker is pyright now, but unfortunately Astral's ty doesn't seem
up to the task yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants