Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .autover/autover.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@
"Path": "Libraries/src/Amazon.Lambda.DurableExecution/Amazon.Lambda.DurableExecution.csproj",
"PrereleaseLabel": "preview"
},
{
"Name": "Amazon.Lambda.DurableExecution.Testing",
"Path": "Libraries/src/Amazon.Lambda.DurableExecution.Testing/Amazon.Lambda.DurableExecution.Testing.csproj",
"PrereleaseLabel": "preview"
},
{
"Name": "Amazon.Lambda.DynamoDBEvents",
"Path": "Libraries/src/Amazon.Lambda.DynamoDBEvents/Amazon.Lambda.DynamoDBEvents.csproj"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"Projects": [
{
"Name": "Amazon.Lambda.DurableExecution.Testing",
"Type": "Patch",
"ChangelogMessages": [
"Fix CloudDurableTestRunner against deployed functions: reconstruct recorded operations from GetDurableExecutionHistory (the token-free, externally-pollable history API) instead of GetDurableExecutionState, which requires a runtime-only CheckpointToken an external poller cannot obtain; and make StartAsync fire-and-forget (Event invocation with a generated DurableExecutionName, ARN resolved via ListDurableExecutionsByFunction) so callback workflows that suspend no longer deadlock against a synchronous invoke. Preview."
]
}
]
}
17 changes: 17 additions & 0 deletions Libraries/Amazon.Lambda.DurableExecution.slnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"solution": {
"path": "Libraries.sln",
"projects": [
"src\\Amazon.Lambda.Core\\Amazon.Lambda.Core.csproj",
"src\\Amazon.Lambda.RuntimeSupport\\Amazon.Lambda.RuntimeSupport.csproj",
"src\\Amazon.Lambda.Serialization.SystemTextJson\\Amazon.Lambda.Serialization.SystemTextJson.csproj",
"src\\Amazon.Lambda.TestUtilities\\Amazon.Lambda.TestUtilities.csproj",
"src\\Amazon.Lambda.DurableExecution\\Amazon.Lambda.DurableExecution.csproj",
"src\\Amazon.Lambda.DurableExecution.Testing\\Amazon.Lambda.DurableExecution.Testing.csproj",
"test\\Amazon.Lambda.DurableExecution.Tests\\Amazon.Lambda.DurableExecution.Tests.csproj",
"test\\Amazon.Lambda.DurableExecution.Testing.Tests\\Amazon.Lambda.DurableExecution.Testing.Tests.csproj",
"test\\Amazon.Lambda.DurableExecution.IntegrationTests\\Amazon.Lambda.DurableExecution.IntegrationTests.csproj",
"test\\Amazon.Lambda.DurableExecution.AotPublishTest\\Amazon.Lambda.DurableExecution.AotPublishTest.csproj"
]
}
}
38 changes: 38 additions & 0 deletions Libraries/Libraries.sln
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,13 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.Lambda.DurableExecut
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.Lambda.DurableExecution.AotPublishTest", "test\Amazon.Lambda.DurableExecution.AotPublishTest\Amazon.Lambda.DurableExecution.AotPublishTest.csproj", "{16B1B1CC-3AFC-4DC7-8DB6-D14AE12924A2}"
EndProject
<<<<<<< Updated upstream
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AnnotationsClassLibraryFunction", "test\Amazon.Lambda.DurableExecution.IntegrationTests\TestFunctions\AnnotationsClassLibraryFunction\AnnotationsClassLibraryFunction.csproj", "{D55E2D57-8374-4573-999B-6E64E109C25F}"
=======
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.Lambda.DurableExecution.Testing", "src\Amazon.Lambda.DurableExecution.Testing\Amazon.Lambda.DurableExecution.Testing.csproj", "{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.Lambda.DurableExecution.Testing.Tests", "test\Amazon.Lambda.DurableExecution.Testing.Tests\Amazon.Lambda.DurableExecution.Testing.Tests.csproj", "{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}"
>>>>>>> Stashed changes
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -1027,6 +1033,7 @@ Global
{16B1B1CC-3AFC-4DC7-8DB6-D14AE12924A2}.Release|x64.Build.0 = Release|Any CPU
{16B1B1CC-3AFC-4DC7-8DB6-D14AE12924A2}.Release|x86.ActiveCfg = Release|Any CPU
{16B1B1CC-3AFC-4DC7-8DB6-D14AE12924A2}.Release|x86.Build.0 = Release|Any CPU
<<<<<<< Updated upstream
{D55E2D57-8374-4573-999B-6E64E109C25F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D55E2D57-8374-4573-999B-6E64E109C25F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D55E2D57-8374-4573-999B-6E64E109C25F}.Debug|x64.ActiveCfg = Debug|Any CPU
Expand All @@ -1039,6 +1046,32 @@ Global
{D55E2D57-8374-4573-999B-6E64E109C25F}.Release|x64.Build.0 = Release|Any CPU
{D55E2D57-8374-4573-999B-6E64E109C25F}.Release|x86.ActiveCfg = Release|Any CPU
{D55E2D57-8374-4573-999B-6E64E109C25F}.Release|x86.Build.0 = Release|Any CPU
=======
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Debug|x64.ActiveCfg = Debug|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Debug|x64.Build.0 = Debug|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Debug|x86.ActiveCfg = Debug|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Debug|x86.Build.0 = Debug|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Release|Any CPU.Build.0 = Release|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Release|x64.ActiveCfg = Release|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Release|x64.Build.0 = Release|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Release|x86.ActiveCfg = Release|Any CPU
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3}.Release|x86.Build.0 = Release|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Debug|x64.ActiveCfg = Debug|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Debug|x64.Build.0 = Debug|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Debug|x86.ActiveCfg = Debug|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Debug|x86.Build.0 = Debug|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Release|Any CPU.Build.0 = Release|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Release|x64.ActiveCfg = Release|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Release|x64.Build.0 = Release|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Release|x86.ActiveCfg = Release|Any CPU
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B}.Release|x86.Build.0 = Release|Any CPU
>>>>>>> Stashed changes
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -1119,7 +1152,12 @@ Global
{57150BA6-3826-431F-8F58-B1D11FAFC5D4} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69}
{CA132CAB-FF4F-4312-B3A3-66DE9D360F27} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69}
{16B1B1CC-3AFC-4DC7-8DB6-D14AE12924A2} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69}
<<<<<<< Updated upstream
{D55E2D57-8374-4573-999B-6E64E109C25F} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69}
=======
{AD9A8A6E-5690-4959-A797-0B7D10FA40F3} = {AAB54E74-20B1-42ED-BC3D-CE9F7BC7FD12}
{0460CF9D-B5CC-47C5-9B30-CEA84695AB3B} = {1DE4EE60-45BA-4EF7-BE00-B9EB861E4C69}
>>>>>>> Stashed changes
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {503678A4-B8D1-4486-8915-405A3E9CF0EB}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\..\buildtools\common.props" />

<PropertyGroup>
<TargetFrameworks>$(DefaultPackageTargets)</TargetFrameworks>
<Description>Testing utilities for Amazon Lambda Durable Execution - test durable workflows locally without deploying to AWS.</Description>
<AssemblyTitle>Amazon.Lambda.DurableExecution.Testing</AssemblyTitle>
<!-- Preview to match the Amazon.Lambda.DurableExecution runtime package it tests (autover applies the -preview label). -->
<Version>0.0.1-preview</Version>
<AssemblyName>Amazon.Lambda.DurableExecution.Testing</AssemblyName>
<PackageId>Amazon.Lambda.DurableExecution.Testing</PackageId>
<PackageTags>AWS;Amazon;Lambda;Durable;Workflow;Testing</PackageTags>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);AWSLAMBDA001</NoWarn>
</PropertyGroup>

<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>Amazon.Lambda.DurableExecution.Testing.Tests, PublicKey="0024000004800000940000000602000000240000525341310004000001000100db5f59f098d27276c7833875a6263a3cc74ab17ba9a9df0b52aedbe7252745db7274d5271fd79c1f08f668ecfa8eaab5626fa76adc811d3c8fc55859b0d09d3bc0a84eecd0ba891f2b8a2fc55141cdcc37c2053d53491e650a479967c3622762977900eddbf1252ed08a2413f00a28f3a0752a81203f03ccb7f684db373518b4"</_Parameter1>
</AssemblyAttribute>
</ItemGroup>

<!--
These are intentional public NuGet dependencies of this testing package:
- Amazon.Lambda.DurableExecution: the runtime engine the runners drive.
- Amazon.Lambda.TestUtilities: provides TestLambdaContext, used to build the
ILambdaContext passed to the workflow handler (load-bearing at runtime).
- Amazon.Lambda.Serialization.SystemTextJson: the default serializer for
payloads/results when the caller does not supply one.
A package named ".Testing" depending on TestUtilities is appropriate; consumers
reference this package only from their test projects.
-->
<ItemGroup>
<ProjectReference Include="..\Amazon.Lambda.DurableExecution\Amazon.Lambda.DurableExecution.csproj" />
<ProjectReference Include="..\Amazon.Lambda.TestUtilities\Amazon.Lambda.TestUtilities.csproj" />
<ProjectReference Include="..\Amazon.Lambda.Serialization.SystemTextJson\Amazon.Lambda.Serialization.SystemTextJson.csproj" />
</ItemGroup>

</Project>
Loading