Skip to content

chore: update pnpm to v9 #13843

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 10, 2024
Merged

chore: update pnpm to v9 #13843

merged 2 commits into from
Jul 10, 2024

Conversation

coadler
Copy link
Contributor

@coadler coadler commented Jul 9, 2024

Also updates flake.nix to only use one version of nixpkgs and flake-utils.

cc @kylecarbs for flake stuffs

@coadler coadler requested a review from kylecarbs July 9, 2024 06:06
@coadler coadler self-assigned this Jul 9, 2024
@coadler coadler requested review from aslilac and matifali July 9, 2024 06:11
Copy link
Member

@matifali matifali left a comment

Choose a reason for hiding this comment

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

golangci-lint versions are mismatched so make lint does not pass in local but passes in CI.

version in CI and dogfood Dockerfile: 1.55.2
version in nix:

golangci-lint version
golangci-lint has version 1.59.1 built with go1.22.5 from v1.59.1 on 19700101-00:00:00
atif@CTAR-ATIF-PC:~/github/coder/coder$ which golangci-lint
/nix/store/fx4p42sdx70hzpzsl71r5zwh8az0p74a-golangci-lint-1.59.1/bin/golangci-lint

@coadler
Copy link
Contributor Author

coadler commented Jul 9, 2024

golangci-lint versions are mismatched so make lint does not pass in local but passes in CI.

version in CI and dogfood Dockerfile: 1.55.2 version in nix:

golangci-lint version
golangci-lint has version 1.59.1 built with go1.22.5 from v1.59.1 on 19700101-00:00:00
atif@CTAR-ATIF-PC:~/github/coder/coder$ which golangci-lint
/nix/store/fx4p42sdx70hzpzsl71r5zwh8az0p74a-golangci-lint-1.59.1/bin/golangci-lint

Ok wow this returns a gigantic number of errors. I'll just pin golangci for now in nix.

@matifali
Copy link
Member

matifali commented Jul 9, 2024

Same for shfmt
CI: 3.7.0
nix: 3.8.0
Dogfood: latest i.e 3.8.0

Did not check for other tool mismatches.

We need to devise a better way to sync development and CI. A workaround is to use the Dockerfile.nix but it can be further optimized and fixed to run frontend tests.

@coadler coadler merged commit 2238593 into main Jul 10, 2024
27 checks passed
@coadler coadler deleted the colin/update-pnpm branch July 10, 2024 18:13
@github-actions github-actions bot locked and limited conversation to collaborators Jul 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants