Repository navigation
Conversation
Satisfies the 'Check for Change File(s) in .autover/changes/' CI gate by recording the W3C() API addition across Amazon.Lambda.Core, Amazon.Lambda.RuntimeSupport, Amazon.Lambda.TestUtilities and Amazon.Lambda.AspNetCoreServer.
Converts the W3C trace-context accessor from a W3C() method to a W3C property to follow .NET naming/design conventions (a parameterless accessor returning data should be a property). Updates the interface default implementation, LambdaContext, SnapStartEmptyLambdaContext, and TestLambdaContext, plus all call sites in the unit tests and the dockerized W3C test handler (the reflection accessibility check now looks up the property). Changelog wording updated to match.
The W3CTestHandler targets net10.0, so the dockerized-test workflow only needs the .NET 10 SDK; drop the unused 8.0.x and 9.0.x installs.
normj
reviewed
Oct 6, 2026
Member
There was a problem hiding this comment.
I changed the W3C() method to W3C property to match the pattern used on ILambdaContext. I also changed the dockerized-test.yml to not install .NET 8 and 9 because the test program is targeting .NET 10. Also 8 and 9 go out of support pretty soon.
I'm running the PR through internal CI. Assuming that passes then I will approve the PR.
Once all the work for W3C is deployed I want to also update the Amazon.Lambda.AspNetCoreServer package to share the W3C info with the ASP.NET Core programming model that this package bridges with the Lambda programming model.
normj
approved these changes
Oct 7, 2026
ashishdhingra
approved these changes
Oct 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes:
Adds a
W3C()method toILambdaContextthat surfaces the W3C trace-context fields (traceparent,tracestate,baggage) carried onclientContext.w3cat invoke time. This brings the .NET runtime support in line with the Node (aws/aws-lambda-nodejs-runtime-interface-client#201) and Python (aws-lambda-python-runtime-interface-client#228) interface clients.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.