Repository navigation
feat(telemetry): add Durable Execution Telemetry conformance test handlers - #822
Merged
Merged
Conversation
zhongkechen
approved these changes
Oct 23, 2026
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
hln33
added this pull request to stack #826
October 24, 2026 02:31
The otel and core conformance templates let CloudFormation name each function. The telemetry runner resolves FUNCTION_NAME from the invoked ARN and reads only the TelemetryLogGroupName parameter. So the explicit name serves no consumer. A named function also blocks any stack update that needs replacement. So the line is removed.
hln33
force-pushed
the
feat/conformance-tests-telemetry
branch
from
October 24, 2026 02:31
2294a33 to
4e3d3bb
Compare
Contributor
Codex AI reviewOne low-severity finding remains at Reviewed commit |
This branch was successfully deployed
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.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue Link, if available
Description
Adds
conformance-tests-telemetry/, a standalone Maven project (not a reactor module). It holds the Java handler and SAM template for requirementtelemetry-1of the Durable Execution Telemetry conformance suite.Telemetry1Successtakes{"value": 41}, runs one step namedincrement, and returns{"value": 42}.CloudWatchLogsExporter. It targets the log group inTELEMETRY_LOG_GROUP_NAME. Emit mode isON_COMPLETE, sampling rate is 1, operation detail isTOP_LEVEL, and content input and output are enabled.IllegalStateExceptionwhenTELEMETRY_LOG_GROUP_NAMEis unset.template.yamlcreates theAWS::Logs::LogGroupand declaresTelemetry1SuccesswithTestDescription: telemetry-1.cloudwatchlogsdirectly, because the exporter marks it optional.No SDK or exporter code is changed.
Demo/Screenshots
N/A
Checklist
Testing
Unit Tests
N/A. This module holds a deployable handler and a template. The conformance runner is the test.
Integration Tests
N/A. The module is not part of the SDK reactor.
Examples
Local build, from the repository root:
mvn -B -q -Dmaven.test.skip=true installpassed.JAVA_SDK_VERSION=3.0.0 mvn -B -q -DskipTests package --file conformance-tests-telemetry/pom.xmlpassed. The shaded jar containsTelemetry1Success.classandCloudWatchLogsExporter.class.Cloud run with the conformance runner,
--suite telemetry --language java --region us-west-2 --name tr-java.Conformance result
tr-java(stackconformance-tests-tr-java).SUCCEEDED. The result payload is{"value":42}. Events: ExecutionStarted, StepStarted, StepSucceeded, InvocationCompleted, ExecutionSucceeded.These errors are the Java exporter's deviations from the JS reference format. Fixing them is out of scope for this PR.