@@ -46,7 +46,7 @@ def test_works_with_numeric_version_qualifier(self):
4646
4747class TestExtractDurableFunctionTags (unittest .TestCase ):
4848 def test_sets_first_invocation_true_when_only_execution_operation (self ):
49- # One operation → not replaying → first invocation
49+ # One operation (the current EXECUTION operation itself) → not replaying → first invocation
5050 event = {
5151 "DurableExecutionArn" : "arn:aws:lambda:us-east-1:123456789012:function:my-func:1/durable-execution/my-execution/550e8400-e29b-41d4-a716-446655440004" ,
5252 "CheckpointToken" : "some-token" ,
@@ -58,7 +58,7 @@ def test_sets_first_invocation_true_when_only_execution_operation(self):
5858 {
5959 "durable_function_execution_name" : "my-execution" ,
6060 "durable_function_execution_id" : "550e8400-e29b-41d4-a716-446655440004" ,
61- "durable_function_first_invocation " : "true" ,
61+ "aws.lambda.durable_function.first_invocation " : "true" ,
6262 },
6363 )
6464
@@ -80,7 +80,7 @@ def test_sets_first_invocation_false_when_multiple_operations(self):
8080 {
8181 "durable_function_execution_name" : "my-execution" ,
8282 "durable_function_execution_id" : "550e8400-e29b-41d4-a716-446655440004" ,
83- "durable_function_first_invocation " : "false" ,
83+ "aws.lambda.durable_function.first_invocation " : "false" ,
8484 },
8585 )
8686
0 commit comments