Skip to content

Commit 6a82e68

Browse files
authored
chore: Update Node.js to v24 and Go dependencies (#2029)
This PR updates the project's development environment and dependencies. Key changes: - Updates Node.js to v24, the latest Active LTS release. - Updates the Go toolchain to match the version in `images/go_service.Dockerfile`. - Runs `make go-update` to update all Go dependencies. - Fixes the `tf-lint` Makefile target to avoid authentication issues when running locally after a deployment. - Adds a missing exclusion to the license tool.
1 parent 1486b4d commit 6a82e68

File tree

37 files changed

+1186
-1078
lines changed

37 files changed

+1186
-1078
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
FROM mcr.microsoft.com/devcontainers/base:bookworm
1616

17-
ENV CLOUD_SDK_VERSION=531.0.0
17+
ENV CLOUD_SDK_VERSION=548.0.0
1818
# Install gcloud similarly to how it is done in cloud-sdk-docker
1919
# https://github.com/GoogleCloudPlatform/cloud-sdk-docker/blob/master/debian_component_based/Dockerfile
2020
RUN if [ `uname -m` = 'x86_64' ]; then echo -n "x86_64" > /tmp/arch; else echo -n "arm" > /tmp/arch; fi;

.devcontainer/devcontainer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@
1818
// Features to add to the dev container. More info: https://containers.dev/features.
1919
"features": {
2020
"ghcr.io/devcontainers/features/go:1": {
21-
"version": "1.25.3"
21+
"version": "1.25.4"
2222
},
2323
"ghcr.io/devcontainers/features/github-cli:1": {},
2424
"ghcr.io/devcontainers/features/docker-in-docker:2": {
2525
"moby": true
2626
},
2727
"ghcr.io/devcontainers/features/node:1": {
28-
"version": "22.20.0"
28+
"version": "24.11.1"
2929
},
3030
"ghcr.io/devcontainers/features/terraform:1": {
3131
// Get version from https://github.com/hashicorp/terraform/releases
32-
"version": "1.13.3",
32+
"version": "1.14.0",
3333
// We do not use terragrunt.
3434
"terragrunt": "none",
3535
// Get version from https://github.com/terraform-linters/tflint/releases
36-
"tflint": "0.59.1"
36+
"tflint": "0.60.0"
3737
},
3838
"ghcr.io/lukewiwa/features/shellcheck:0": {
3939
// Get version from https://github.com/koalaman/shellcheck/releases

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ updates:
2929
versions:
3030
- '>=23'
3131
- '<24'
32+
- '>=25'
33+
- '<26'
3234

3335
# Docker
3436
- package-ecosystem: 'docker'

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,9 @@ node-lint: node-install
240240
npm run lint -w frontend
241241
npx prettier . --check
242242

243+
# Need to clean out the .terraform directory before linting.
243244
tf-lint:
245+
rm -rf infra/.terraform
244246
cd infra && terraform init -backend=false -reconfigure --var-file=.envs/staging.tfvars --backend-config=.envs/backend-staging.tfvars && terraform validate
245247
cd infra && terraform init -backend=false -reconfigure --var-file=.envs/prod.tfvars --backend-config=.envs/backend-prod.tfvars && terraform validate
246248
terraform fmt -recursive -check .
@@ -324,6 +326,7 @@ ADDLICENSE_ARGS := -c "${COPYRIGHT_NAME}" \
324326
-l apache \
325327
-ignore 'lib/gen/**' \
326328
-ignore '**/.terraform.lock.hcl' \
329+
-ignore 'frontend/build/**' \
327330
-ignore 'frontend/dist/**' \
328331
-ignore 'frontend/placeholder/static/index.html' \
329332
-ignore 'frontend/static/**' \

backend/go.mod

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,28 @@ go 1.25.3
44

55
require (
66
firebase.google.com/go/v4 v4.18.0
7-
github.com/GoogleChrome/webstatus.dev/lib v0.0.0-20251015221928-7a6ffd51e418
8-
github.com/GoogleChrome/webstatus.dev/lib/gen v0.0.0-20251015221928-7a6ffd51e418
7+
github.com/GoogleChrome/webstatus.dev/lib v0.0.0-20251120141146-6c4cefda31cb
8+
github.com/GoogleChrome/webstatus.dev/lib/gen v0.0.0-20251119220853-b545639c35ae
99
github.com/go-chi/cors v1.2.2
1010
github.com/oapi-codegen/runtime v1.1.2
1111
)
1212

1313
require (
14-
cel.dev/expr v0.24.0 // indirect
14+
cel.dev/expr v0.25.1 // indirect
1515
cloud.google.com/go v0.123.0 // indirect
1616
cloud.google.com/go/auth v0.17.0 // indirect
1717
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
1818
cloud.google.com/go/cloudtasks v1.13.7 // indirect
1919
cloud.google.com/go/compute/metadata v0.9.0 // indirect
20-
cloud.google.com/go/datastore v1.20.0 // indirect
21-
cloud.google.com/go/firestore v1.19.0 // indirect
20+
cloud.google.com/go/datastore v1.21.0 // indirect
21+
cloud.google.com/go/firestore v1.20.0 // indirect
2222
cloud.google.com/go/iam v1.5.3 // indirect
23-
cloud.google.com/go/logging v1.13.0 // indirect
23+
cloud.google.com/go/logging v1.13.1 // indirect
2424
cloud.google.com/go/longrunning v0.7.0 // indirect
2525
cloud.google.com/go/monitoring v1.24.3 // indirect
26-
cloud.google.com/go/secretmanager v1.15.1 // indirect
27-
cloud.google.com/go/spanner v1.86.0 // indirect
28-
cloud.google.com/go/storage v1.57.0 // indirect
26+
cloud.google.com/go/secretmanager v1.16.0 // indirect
27+
cloud.google.com/go/spanner v1.86.1 // indirect
28+
cloud.google.com/go/storage v1.57.2 // indirect
2929
cloud.google.com/go/trace v1.11.7 // indirect
3030
github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.5.3 // indirect
3131
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.30.0 // indirect
@@ -38,26 +38,27 @@ require (
3838
github.com/beorn7/perks v1.0.1 // indirect
3939
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
4040
github.com/cespare/xxhash/v2 v2.3.0 // indirect
41-
github.com/cncf/xds/go v0.0.0-20251014123835-2ee22ca58382 // indirect
41+
github.com/cncf/xds/go v0.0.0-20251110193048-8bfbf64dc13e // indirect
4242
github.com/deckarep/golang-set v1.8.0 // indirect
43-
github.com/envoyproxy/go-control-plane/envoy v1.35.0 // indirect
43+
github.com/envoyproxy/go-control-plane/envoy v1.36.0 // indirect
4444
github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
4545
github.com/felixge/httpsnoop v1.0.4 // indirect
4646
github.com/getkin/kin-openapi v0.133.0 // indirect
4747
github.com/go-jose/go-jose/v4 v4.1.3 // indirect
4848
github.com/go-logr/logr v1.4.3 // indirect
4949
github.com/go-logr/stdr v1.2.2 // indirect
50-
github.com/go-openapi/jsonpointer v0.22.1 // indirect
51-
github.com/go-openapi/swag/jsonname v0.25.1 // indirect
50+
github.com/go-openapi/jsonpointer v0.22.3 // indirect
51+
github.com/go-openapi/swag/jsonname v0.25.3 // indirect
5252
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
5353
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
5454
github.com/golang/protobuf v1.5.4 // indirect
5555
github.com/gomodule/redigo v1.9.3 // indirect
56-
github.com/google/go-github/v75 v75.0.0 // indirect
56+
github.com/google/go-github/v77 v77.0.0 // indirect
57+
github.com/google/go-github/v79 v79.0.0 // indirect
5758
github.com/google/go-querystring v1.1.0 // indirect
5859
github.com/google/s2a-go v0.1.9 // indirect
5960
github.com/google/uuid v1.6.0 // indirect
60-
github.com/googleapis/enterprise-certificate-proxy v0.3.6 // indirect
61+
github.com/googleapis/enterprise-certificate-proxy v0.3.7 // indirect
6162
github.com/googleapis/gax-go/v2 v2.15.0 // indirect
6263
github.com/gorilla/handlers v1.5.2 // indirect
6364
github.com/gorilla/mux v1.8.1 // indirect
@@ -73,13 +74,13 @@ require (
7374
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
7475
github.com/prometheus/client_golang v1.23.2 // indirect
7576
github.com/prometheus/client_model v0.6.2 // indirect
76-
github.com/prometheus/common v0.67.1 // indirect
77+
github.com/prometheus/common v0.67.3 // indirect
7778
github.com/prometheus/otlptranslator v1.0.0 // indirect
78-
github.com/prometheus/procfs v0.17.0 // indirect
79+
github.com/prometheus/procfs v0.19.2 // indirect
7980
github.com/sirupsen/logrus v1.9.3 // indirect
8081
github.com/spiffe/go-spiffe/v2 v2.6.0 // indirect
81-
github.com/valkey-io/valkey-go v1.0.67 // indirect
82-
github.com/web-platform-tests/wpt.fyi v0.0.0-20251015195846-bbfbb7f38ce2 // indirect
82+
github.com/valkey-io/valkey-go v1.0.68 // indirect
83+
github.com/web-platform-tests/wpt.fyi v0.0.0-20251118162843-54f805c8a632 // indirect
8384
github.com/woodsbury/decimal128 v1.4.0 // indirect
8485
go.opencensus.io v0.24.0 // indirect
8586
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
@@ -111,24 +112,24 @@ require (
111112
go.opentelemetry.io/otel/sdk/log v0.14.0 // indirect
112113
go.opentelemetry.io/otel/sdk/metric v1.38.0 // indirect
113114
go.opentelemetry.io/otel/trace v1.38.0 // indirect
114-
go.opentelemetry.io/proto/otlp v1.8.0 // indirect
115+
go.opentelemetry.io/proto/otlp v1.9.0 // indirect
115116
go.uber.org/multierr v1.11.0 // indirect
116117
go.yaml.in/yaml/v2 v2.4.3 // indirect
117-
golang.org/x/crypto v0.43.0 // indirect
118-
golang.org/x/exp v0.0.0-20251009144603-d2f985daa21b // indirect
119-
golang.org/x/mod v0.29.0 // indirect
120-
golang.org/x/net v0.46.0 // indirect
121-
golang.org/x/oauth2 v0.32.0 // indirect
122-
golang.org/x/sync v0.17.0 // indirect
123-
golang.org/x/sys v0.37.0 // indirect
124-
golang.org/x/text v0.30.0 // indirect
118+
golang.org/x/crypto v0.45.0 // indirect
119+
golang.org/x/exp v0.0.0-20251113190631-e25ba8c21ef6 // indirect
120+
golang.org/x/mod v0.30.0 // indirect
121+
golang.org/x/net v0.47.0 // indirect
122+
golang.org/x/oauth2 v0.33.0 // indirect
123+
golang.org/x/sync v0.18.0 // indirect
124+
golang.org/x/sys v0.38.0 // indirect
125+
golang.org/x/text v0.31.0 // indirect
125126
golang.org/x/time v0.14.0 // indirect
126-
google.golang.org/api v0.252.0 // indirect
127+
google.golang.org/api v0.256.0 // indirect
127128
google.golang.org/appengine/v2 v2.0.6 // indirect
128-
google.golang.org/genproto v0.0.0-20251014184007-4626949a642f // indirect
129-
google.golang.org/genproto/googleapis/api v0.0.0-20251014184007-4626949a642f // indirect
130-
google.golang.org/genproto/googleapis/rpc v0.0.0-20251014184007-4626949a642f // indirect
131-
google.golang.org/grpc v1.76.0 // indirect
129+
google.golang.org/genproto v0.0.0-20251111163417-95abcf5c77ba // indirect
130+
google.golang.org/genproto/googleapis/api v0.0.0-20251111163417-95abcf5c77ba // indirect
131+
google.golang.org/genproto/googleapis/rpc v0.0.0-20251111163417-95abcf5c77ba // indirect
132+
google.golang.org/grpc v1.77.0 // indirect
132133
google.golang.org/protobuf v1.36.10 // indirect
133134
gopkg.in/yaml.v3 v3.0.1 // indirect
134135
)

0 commit comments

Comments
 (0)