Skip to content

Always invoke bazel build for prettier (fix lint)#5979

Open
npaun wants to merge 1 commit intomainfrom
npaun/fix-prettier-cache
Open

Always invoke bazel build for prettier (fix lint)#5979
npaun wants to merge 1 commit intomainfrom
npaun/fix-prettier-cache

Conversation

@npaun
Copy link
Member

@npaun npaun commented Jan 28, 2026

We recently updated the prettier version which breaks linting if an older cached version is used on a PR.

This PR is a quick dirty fix that always tells Bazel to build prettier before we use it. It won't waste time to rebuild it if unneeded, but it will add a check that slows things down cause Bazel.

If we're fine with this solution, I'll change all the linters. If not, I'll revert it and implement the solution we decide on, but we need to unscrew the build for now.

We recently updated the prettier version which breaks linting if an older cached version is used on a PR.

This PR is a quick dirty fix that always tells Bazel to build prettier before we use it. It won't waste time to rebuild it if unneeded, but it will add a check that slows things down cause Bazel.

If we're fine with this solution, I'll change all the linters. If not, I'll revert it and implement the solution we decide on, but we need to unscrew the build for now.
@npaun npaun requested a review from anonrig January 28, 2026 15:31
@npaun npaun requested review from a team as code owners January 28, 2026 15:31
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.

1 participant