Skip to content

Commit c1943e8

Browse files
committed
ci(telemetry): pin the suite to the #183 merge commit on main
Conformance PR #183 merged as cf13ef27. The workflow now pins that commit and the TODO to re-pin is removed. README: the telemetry-3 coverage row is padded to the table width, and the layout comments share one column.
1 parent 3efaa4b commit c1943e8

2 files changed

Lines changed: 10 additions & 11 deletions

File tree

‎.github/workflows/telemetry-conformance-tests.yml‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,9 @@ jobs:
4141
contents: read
4242
id-token: write
4343
# The pinned SHA also selects the runner and telemetry-extension revision the shared
44-
# workflow installs, so it must be reachable from a branch. It is the head of
45-
# aws-durable-execution-conformance-tests PR #183, which adds requirement telemetry-3.
46-
# TODO before this PR leaves draft: re-pin to the merge commit of #183 on main.
47-
uses: aws/aws-durable-execution-conformance-tests/.github/workflows/telemetry-suite.yml@cb3753e02ed14460d9deb18716b75d2294f49eef
44+
# workflow installs, so it must be reachable from a branch. It is the merge commit of
45+
# aws-durable-execution-conformance-tests PR #183 on that repository's main branch.
46+
uses: aws/aws-durable-execution-conformance-tests/.github/workflows/telemetry-suite.yml@cf13ef27d6e13a4423f7e0a178f9a3d4bb1099f0
4847
with:
4948
language: python
5049
resource_prefix: python

‎packages/aws-durable-execution-sdk-python-conformance-tests-telemetry/README.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@ This package holds the SDK-specific part: the handler and the SAM template that
2020
| ----------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
2121
| `telemetry` | `telemetry-1` | One successful single-step execution emits one `SUCCEEDED` record with `input`, `output`, ARN-derived identity fields, and `operationsByName`. |
2222
| `telemetry` | `telemetry-2` | One failed execution emits one `FAILED` record with an `error` on the execution and on `operationsByName.charge`. |
23-
| `telemetry` | `telemetry-3` | An `OperationOverride.result` transform exports exactly `{userId}` of a three-key step result; the record has no `input` or `output`. |
23+
| `telemetry` | `telemetry-3` | An `OperationOverride.result` transform exports exactly `{userId}` of a three-key step result; the record has no `input` or `output`. |
2424

2525
## Layout
2626

2727
```
2828
src/
29-
telemetry_1_success.py # single step "increment"; plugin + CloudWatchLogsExporter
30-
telemetry_2_failure.py # step "charge" fails; handler raises "payment failed" from the step error
29+
telemetry_1_success.py # single step "increment"; plugin + CloudWatchLogsExporter
30+
telemetry_2_failure.py # step "charge" fails; handler raises "payment failed" from the step error
3131
telemetry_3_result_select.py # step "fetch-user"; override transform keeps only userId in the record
32-
Makefile # one build-<LogicalId> target per function, used by `sam build`
33-
requirements.txt # core SDK + telemetry exporter, pinned to ${PYTHON_SDK_REF}
34-
template.yaml # declares TelemetryLogGroupName and creates the group
32+
Makefile # one build-<LogicalId> target per function, used by `sam build`
33+
requirements.txt # core SDK + telemetry exporter, pinned to ${PYTHON_SDK_REF}
34+
template.yaml # declares TelemetryLogGroupName and creates the group
3535
tests/
36-
test_telemetry_examples.py # guards template -> handler wiring; runs each handler locally
36+
test_telemetry_examples.py # guards template -> handler wiring; runs each handler locally
3737
```
3838

3939
The handler uses the real SDK API only.

0 commit comments

Comments
 (0)