Skip to content

fix(nodeadm): migrate cel-go to cel.dev/cel-go and update dependencies - #2838

Merged
mselim00 merged 1 commit into
awslabs:mainfrom
shvbsle:fix/nodeadm-waiter-logger
Sep 30, 2026
Merged

mselim00 merged 1 commit into
awslabs:mainfrom
shvbsle:fix/nodeadm-waiter-logger

Conversation

@shvbsle

@shvbsle shvbsle commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

nodeadm-config fails on every node during "Fetching instance details" with:

expected err to be of type smithy.APIError, got not found: WaiterLogger

aws-sdk-go-v2/service/ec2 v1.321.2 no longer registers the "SetLogger" middleware, but smithy-go v1.27.8's waiter.Logger.AddLogger still inserts relative to it, so every DescribeInstances call made by the private DNS name waiter (LogWaitAttempts=true) fails. Fixed upstream in smithy-go v1.28.1 (aws/aws-sdk-go-v2#3533, aws/smithy-go#701).

The fix never reached nodeadm because make update-deps has failed since 2026-08-24: github.com/google/cel-go is now a read-only compatibility repo and go get github.com/google/cel-go@upgrade resolves v0.32.0, whose go.mod declares cel.dev/cel-go.

  • Import cel-go from its canonical path cel.dev/cel-go (v0.32.0).
  • Run make update-deps: smithy-go v1.27.8 -> v1.28.2, service/ec2 v1.321.2 -> v1.338.0, plus the dependency refresh blocked since August.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done

See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.

nodeadm-config fails on every node during "Fetching instance details" with:

  expected err to be of type smithy.APIError, got not found: WaiterLogger

aws-sdk-go-v2/service/ec2 v1.321.2 no longer registers the "SetLogger"
middleware, but smithy-go v1.27.8's waiter.Logger.AddLogger still inserts
relative to it, so every DescribeInstances call made by the private DNS
name waiter (LogWaitAttempts=true) fails. Fixed upstream in smithy-go
v1.28.1 (aws/aws-sdk-go-v2#3533, aws/smithy-go#701).

The fix never reached nodeadm because `make update-deps` has failed since
2026-08-24: github.com/google/cel-go is now a read-only compatibility repo
and `go get github.com/google/cel-go@upgrade` resolves v0.32.0, whose
go.mod declares cel.dev/cel-go.

- Import cel-go from its canonical path cel.dev/cel-go (v0.32.0).
- Run `make update-deps`: smithy-go v1.27.8 -> v1.28.2, service/ec2
  v1.321.2 -> v1.338.0, plus the dependency refresh blocked since August.
@shvbsle
shvbsle requested a review from a team as a code owner September 29, 2026 22:17
@shvbsle

shvbsle commented Sep 29, 2026

Copy link
Copy Markdown
Contributor Author

/ci

@shvbsle

shvbsle commented Sep 29, 2026

Copy link
Copy Markdown
Contributor Author

waiting for the CI to run

@github-actions

Copy link
Copy Markdown
Contributor

@shvbsle roger that! I've dispatched a workflow. 👍

@github-actions

Copy link
Copy Markdown
Contributor

@shvbsle the workflow that you requested has completed. 🎉

AMI variantBuildTest
1.31 / al2023success ✅success ✅
1.32 / al2023success ✅success ✅
1.33 / al2023success ✅success ✅
1.34 / al2023success ✅success ✅
1.35 / al2023success ✅success ✅
1.36 / al2023success ✅success ✅
1.37 / al2023success ✅success ✅

@mselim00
mselim00 merged commit 118420a into awslabs:main Sep 30, 2026
11 checks passed
@shvbsle
shvbsle deleted the fix/nodeadm-waiter-logger branch September 30, 2026 00:57
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.

4 participants