aws-durable-execution-sdk-python 1.1.1__tar.gz → 1.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/.github/workflows/ci.yml +4 -4
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/.github/workflows/integration-tests.yml +6 -6
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/.github/workflows/pypi-publish.yml +4 -4
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/.github/workflows/scorecard.yml +3 -3
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/.github/workflows/sync-package.yml +8 -20
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/.github/workflows/test-parser.yml +1 -1
- aws_durable_execution_sdk_python-1.3.0/AGENTS.md +933 -0
- aws_durable_execution_sdk_python-1.3.0/PKG-INFO +131 -0
- aws_durable_execution_sdk_python-1.3.0/README.md +108 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/advanced/testing-modes.md +1 -2
- aws_durable_execution_sdk_python-1.1.1/README.md → aws_durable_execution_sdk_python-1.3.0/docs/architecture.md +20 -173
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/best-practices.md +3 -3
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/core/child-contexts.md +7 -5
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/core/logger.md +74 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/core/parallel.md +57 -46
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/core/wait.md +1 -6
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/getting-started.md +6 -5
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/index.md +4 -33
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/testing-patterns/basic-tests.md +4 -4
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/testing-patterns/complex-workflows.md +5 -5
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/testing-patterns/stores.md +2 -3
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/pyproject.toml +1 -1
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/__about__.py +1 -1
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/__init__.py +3 -1
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/concurrency/executor.py +14 -4
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/context.py +21 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/execution.py +3 -3
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/lambda_service.py +52 -31
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/logger.py +1 -1
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/operation/step.py +3 -2
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/operation/wait_for_condition.py +3 -2
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/state.py +5 -4
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/concurrency_test.py +125 -3
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/context_test.py +161 -53
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/execution_test.py +143 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/lambda_service_test.py +76 -3
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/logger_test.py +2 -2
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/operation/map_test.py +25 -6
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/operation/parallel_test.py +25 -6
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/operation/wait_for_condition_test.py +121 -1
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/state_test.py +77 -1
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/test_helpers.py +5 -2
- aws_durable_execution_sdk_python-1.1.1/.github/CODEOWNERS +0 -1
- aws_durable_execution_sdk_python-1.1.1/PKG-INFO +0 -681
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/.github/ISSUE_TEMPLATE/documentation.yml +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/.github/dependabot.yml +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/.github/workflows/lintcommit.js +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/.gitignore +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/CODE_OF_CONDUCT.md +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/CONTRIBUTING.md +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/LICENSE +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/NOTICE +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/advanced/error-handling.md +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/advanced/serialization.md +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/api-reference/.gitkeep +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/core/callbacks.md +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/core/invoke.md +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/core/map.md +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/core/steps.md +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/docs/testing-patterns/.gitkeep +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/ops/__tests__/test_parse_sdk_branch.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/ops/ci-checks.sh +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/ops/parse_sdk_branch.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/.gitignore +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/concurrency/__init__.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/concurrency/models.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/config.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/exceptions.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/identifier.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/operation/__init__.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/operation/base.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/operation/callback.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/operation/child.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/operation/invoke.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/operation/map.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/operation/parallel.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/operation/wait.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/py.typed +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/retries.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/serdes.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/suspend.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/threading.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/types.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/src/aws_durable_execution_sdk_python/waits.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/__init__.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/config_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/durable_executions_python_language_sdk_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/e2e/__init__.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/e2e/checkpoint_response_int_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/e2e/execution_int_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/exceptions_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/operation/__init__.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/operation/base_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/operation/callback_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/operation/child_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/operation/invoke_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/operation/step_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/operation/wait_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/retries_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/serdes_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/suspend_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/threading_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/types_test.py +0 -0
- {aws_durable_execution_sdk_python-1.1.1 → aws_durable_execution_sdk_python-1.3.0}/tests/waits_test.py +0 -0
|
@@ -16,9 +16,9 @@ jobs:
|
|
|
16
16
|
# Note: To re-run `lint-commits` after fixing the PR title, close-and-reopen the PR.
|
|
17
17
|
runs-on: ubuntu-latest
|
|
18
18
|
steps:
|
|
19
|
-
- uses: actions/checkout@
|
|
19
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
20
20
|
- name: Use Node.js
|
|
21
|
-
uses: actions/setup-node@
|
|
21
|
+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
|
22
22
|
with:
|
|
23
23
|
node-version: 22.x
|
|
24
24
|
- name: Check PR title
|
|
@@ -35,9 +35,9 @@ jobs:
|
|
|
35
35
|
python-version: ["3.11","3.12","3.13","3.14"]
|
|
36
36
|
|
|
37
37
|
steps:
|
|
38
|
-
- uses: actions/checkout@
|
|
38
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
39
39
|
- name: Set up Python ${{ matrix.python-version }}
|
|
40
|
-
uses: actions/setup-python@
|
|
40
|
+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
41
41
|
with:
|
|
42
42
|
python-version: ${{ matrix.python-version }}
|
|
43
43
|
- name: Install Hatch
|
|
@@ -18,7 +18,7 @@ jobs:
|
|
|
18
18
|
|
|
19
19
|
steps:
|
|
20
20
|
- name: Checkout Language SDK (this PR)
|
|
21
|
-
uses: actions/checkout@
|
|
21
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
22
22
|
with:
|
|
23
23
|
path: language-sdk
|
|
24
24
|
|
|
@@ -29,7 +29,7 @@ jobs:
|
|
|
29
29
|
PR_BODY: ${{ github.event.pull_request.body }}
|
|
30
30
|
|
|
31
31
|
- name: Checkout Testing SDK
|
|
32
|
-
uses: actions/checkout@
|
|
32
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
33
33
|
with:
|
|
34
34
|
repository: aws/aws-durable-execution-sdk-python-testing
|
|
35
35
|
ref: ${{ steps.parse.outputs.testing_ref }}
|
|
@@ -37,7 +37,7 @@ jobs:
|
|
|
37
37
|
path: testing-sdk
|
|
38
38
|
|
|
39
39
|
- name: Set up Python ${{ matrix.python-version }}
|
|
40
|
-
uses: actions/setup-python@
|
|
40
|
+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
41
41
|
with:
|
|
42
42
|
python-version: ${{ matrix.python-version }}
|
|
43
43
|
|
|
@@ -67,7 +67,7 @@ jobs:
|
|
|
67
67
|
|
|
68
68
|
steps:
|
|
69
69
|
- name: Checkout Language SDK (this PR)
|
|
70
|
-
uses: actions/checkout@
|
|
70
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
71
71
|
with:
|
|
72
72
|
path: language-sdk
|
|
73
73
|
|
|
@@ -78,7 +78,7 @@ jobs:
|
|
|
78
78
|
PR_BODY: ${{ github.event.pull_request.body }}
|
|
79
79
|
|
|
80
80
|
- name: Checkout Testing SDK
|
|
81
|
-
uses: actions/checkout@
|
|
81
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
82
82
|
with:
|
|
83
83
|
repository: aws/aws-durable-execution-sdk-python-testing
|
|
84
84
|
ref: ${{ steps.parse.outputs.testing_ref }}
|
|
@@ -86,7 +86,7 @@ jobs:
|
|
|
86
86
|
path: testing-sdk
|
|
87
87
|
|
|
88
88
|
- name: Set up Python 3.13
|
|
89
|
-
uses: actions/setup-python@
|
|
89
|
+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
90
90
|
with:
|
|
91
91
|
python-version: '3.13'
|
|
92
92
|
|
|
@@ -20,9 +20,9 @@ jobs:
|
|
|
20
20
|
runs-on: ubuntu-latest
|
|
21
21
|
|
|
22
22
|
steps:
|
|
23
|
-
- uses: actions/checkout@
|
|
23
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
24
24
|
|
|
25
|
-
- uses: actions/setup-python@
|
|
25
|
+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
26
26
|
with:
|
|
27
27
|
python-version: "3.11"
|
|
28
28
|
- name: Install Hatch
|
|
@@ -34,7 +34,7 @@ jobs:
|
|
|
34
34
|
hatch build
|
|
35
35
|
|
|
36
36
|
- name: Upload distributions
|
|
37
|
-
uses: actions/upload-artifact@
|
|
37
|
+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
|
|
38
38
|
with:
|
|
39
39
|
name: release-dists
|
|
40
40
|
path: dist/
|
|
@@ -60,7 +60,7 @@ jobs:
|
|
|
60
60
|
|
|
61
61
|
steps:
|
|
62
62
|
- name: Retrieve release distributions
|
|
63
|
-
uses: actions/download-artifact@
|
|
63
|
+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
|
64
64
|
with:
|
|
65
65
|
name: release-dists
|
|
66
66
|
path: dist/
|
|
@@ -36,7 +36,7 @@ jobs:
|
|
|
36
36
|
|
|
37
37
|
steps:
|
|
38
38
|
- name: "Checkout code"
|
|
39
|
-
uses: actions/checkout@
|
|
39
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
40
40
|
with:
|
|
41
41
|
persist-credentials: false
|
|
42
42
|
|
|
@@ -66,7 +66,7 @@ jobs:
|
|
|
66
66
|
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
|
67
67
|
# format to the repository Actions tab.
|
|
68
68
|
- name: "Upload artifact"
|
|
69
|
-
uses: actions/upload-artifact@
|
|
69
|
+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
|
|
70
70
|
with:
|
|
71
71
|
name: SARIF file
|
|
72
72
|
path: results.sarif
|
|
@@ -75,6 +75,6 @@ jobs:
|
|
|
75
75
|
# Upload the results to GitHub's code scanning dashboard (optional).
|
|
76
76
|
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
|
|
77
77
|
- name: "Upload to code-scanning"
|
|
78
|
-
uses: github/codeql-action/upload-sarif@
|
|
78
|
+
uses: github/codeql-action/upload-sarif@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
|
|
79
79
|
with:
|
|
80
80
|
sarif_file: results.sarif
|
|
@@ -20,9 +20,9 @@ jobs:
|
|
|
20
20
|
python-version: ["3.13"]
|
|
21
21
|
|
|
22
22
|
steps:
|
|
23
|
-
- uses: actions/checkout@
|
|
23
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
24
24
|
- name: Set up Python ${{ matrix.python-version }}
|
|
25
|
-
uses: actions/setup-python@
|
|
25
|
+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
26
26
|
with:
|
|
27
27
|
python-version: ${{ matrix.python-version }}
|
|
28
28
|
- name: Install Hatch
|
|
@@ -36,21 +36,15 @@ jobs:
|
|
|
36
36
|
role-to-assume: "${{ secrets.ACTIONS_SYNC_ROLE_NAME }}"
|
|
37
37
|
role-session-name: gh-python
|
|
38
38
|
aws-region: ${{ env.AWS_REGION }}
|
|
39
|
-
- name: Get tar gz name
|
|
40
|
-
id: tar_gz_name
|
|
41
|
-
run: |
|
|
42
|
-
TAR_GZ_NAME=$(ls *.tar.gz)
|
|
43
|
-
echo "tar_gz_name=$TAR_GZ_NAME" >> $GITHUB_OUTPUT
|
|
44
|
-
working-directory: dist
|
|
45
39
|
- name: Copy tar gz build file to s3
|
|
46
40
|
run: |
|
|
47
|
-
aws s3 cp ./dist
|
|
48
|
-
s3://${{ secrets.S3_BUCKET_NAME }}/
|
|
41
|
+
aws s3 cp ./dist/*.tar.gz \
|
|
42
|
+
s3://${{ secrets.S3_BUCKET_NAME }}/aws-durable-execution-sdk-python.tar.gz
|
|
49
43
|
- name: commit tar gz to Gitfarm
|
|
50
44
|
run: |
|
|
51
45
|
aws lambda invoke \
|
|
52
46
|
--function-name ${{ secrets.SYNC_LAMBDA_ARN }} \
|
|
53
|
-
--payload '{"gitFarmRepo":"${{ secrets.GITFARM_LAN_SDK_REPO }}","gitFarmBranch":"${{ secrets.GITFARM_LAN_SDK_BRANCH }}","gitFarmFilepath":"
|
|
47
|
+
--payload '{"gitFarmRepo":"${{ secrets.GITFARM_LAN_SDK_REPO }}","gitFarmBranch":"${{ secrets.GITFARM_LAN_SDK_BRANCH }}","gitFarmFilepath":"aws-durable-execution-sdk-python.tar.gz","s3Bucket":"${{ secrets.S3_BUCKET_NAME }}","s3FilePath":"aws-durable-execution-sdk-python.tar.gz", "gitHubRepo": "aws-durable-execution-sdk-python", "gitHubCommit":"${{ github.sha }}"}' \
|
|
54
48
|
--cli-binary-format raw-in-base64-out \
|
|
55
49
|
output.txt
|
|
56
50
|
- name: Check for error in lambda invoke
|
|
@@ -59,21 +53,15 @@ jobs:
|
|
|
59
53
|
cat output.txt
|
|
60
54
|
exit 1
|
|
61
55
|
fi
|
|
62
|
-
- name: Get whl name
|
|
63
|
-
id: whl_name
|
|
64
|
-
run: |
|
|
65
|
-
WHL_NAME=$(ls *.whl)
|
|
66
|
-
echo "whl_name=$WHL_NAME" >> $GITHUB_OUTPUT
|
|
67
|
-
working-directory: dist
|
|
68
56
|
- name: Copy whl build file to s3
|
|
69
57
|
run: |
|
|
70
|
-
aws s3 cp ./dist
|
|
71
|
-
s3://${{ secrets.S3_BUCKET_NAME }}/
|
|
58
|
+
aws s3 cp ./dist/*.whl \
|
|
59
|
+
s3://${{ secrets.S3_BUCKET_NAME }}/aws-durable-execution-sdk-python.whl
|
|
72
60
|
- name: commit whl to Gitfarm
|
|
73
61
|
run: |
|
|
74
62
|
aws lambda invoke \
|
|
75
63
|
--function-name ${{ secrets.SYNC_LAMBDA_ARN }} \
|
|
76
|
-
--payload '{"gitFarmRepo":"${{ secrets.GITFARM_LAN_SDK_REPO }}","gitFarmBranch":"${{ secrets.GITFARM_LAN_SDK_BRANCH }}","gitFarmFilepath":"
|
|
64
|
+
--payload '{"gitFarmRepo":"${{ secrets.GITFARM_LAN_SDK_REPO }}","gitFarmBranch":"${{ secrets.GITFARM_LAN_SDK_BRANCH }}","gitFarmFilepath":"aws-durable-execution-sdk-python.whl","s3Bucket":"${{ secrets.S3_BUCKET_NAME }}","s3FilePath":"aws-durable-execution-sdk-python.whl", "gitHubRepo": "aws-durable-execution-sdk-python", "gitHubCommit":"${{ github.sha }}"}' \
|
|
77
65
|
--cli-binary-format raw-in-base64-out \
|
|
78
66
|
output.txt
|
|
79
67
|
- name: Check for error in lambda invoke
|
|
@@ -18,7 +18,7 @@ jobs:
|
|
|
18
18
|
test-parser:
|
|
19
19
|
runs-on: ubuntu-latest
|
|
20
20
|
steps:
|
|
21
|
-
- uses: actions/checkout@
|
|
21
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
22
22
|
|
|
23
23
|
- name: Run parser tests
|
|
24
24
|
run: python ops/__tests__/test_parse_sdk_branch.py
|