letitloop 0.7.2__tar.gz → 0.7.3__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.
- {letitloop-0.7.2 → letitloop-0.7.3}/.github/workflows/ci.yml +4 -4
- {letitloop-0.7.2 → letitloop-0.7.3}/.github/workflows/pr-health-guard.yml +1 -1
- {letitloop-0.7.2 → letitloop-0.7.3}/.github/workflows/release-drafter.yml +1 -1
- {letitloop-0.7.2 → letitloop-0.7.3}/.github/workflows/release-pypi.yml +2 -2
- {letitloop-0.7.2 → letitloop-0.7.3}/.github/workflows/scorecard.yml +1 -1
- {letitloop-0.7.2 → letitloop-0.7.3}/CHANGELOG.md +9 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/PKG-INFO +3 -3
- {letitloop-0.7.2 → letitloop-0.7.3}/README.md +1 -1
- {letitloop-0.7.2 → letitloop-0.7.3}/docs/ARCHITECTURE_AND_TRADE_OFFS.md +1 -1
- {letitloop-0.7.2 → letitloop-0.7.3}/docs/adr/README.md +1 -1
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/__init__.py +1 -1
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop.egg-info/PKG-INFO +3 -3
- {letitloop-0.7.2 → letitloop-0.7.3}/orchestrator/__init__.py +1 -1
- {letitloop-0.7.2 → letitloop-0.7.3}/orchestrator/cli.py +2 -2
- {letitloop-0.7.2 → letitloop-0.7.3}/pyproject.toml +2 -2
- {letitloop-0.7.2 → letitloop-0.7.3}/requirements-ci.txt +2 -2
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_durable_async.py +21 -11
- {letitloop-0.7.2 → letitloop-0.7.3}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/.github/dependabot.yml +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/.github/release-drafter.config.yml +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/.github/release-drafter.yml +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/.github/workflows/codeql.yml +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/.github/workflows/dependency-review.yml +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/.github/workflows/pages.yml +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/LICENSE +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/MANIFEST.in +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/docs/adapters.md +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/docs/adr/0001-write-ahead-logging.md +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/docs/adr/template.md +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/docs/state_machine.md +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/adapters/__init__.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/adapters/autogen.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/adapters/crewai.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/adapters/fastapi.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/adapters/langgraph.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/adapters/smolagents.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/__init__.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/__init__.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/_durable_mixin.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/atomic_wal_adapter.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/autogen_adapter.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/base.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/crewai_adapter.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/in_memory_adapter.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/json_checkpoint_adapter.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/langgraph_adapter.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/letitloop_adapter.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/llamaindex_adapter.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/raw_python_adapter.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/snapshot_graph_adapter.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/sqlite_wal_adapter.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/swarm_adapter.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/unmanaged_script_adapter.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/harness/__init__.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/harness/injector.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/harness/runner.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/harness/schema.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/harness/synthetic_engine.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/reporter.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/scenarios/__init__.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop.egg-info/SOURCES.txt +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop.egg-info/dependency_links.txt +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop.egg-info/entry_points.txt +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop.egg-info/requires.txt +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/letitloop.egg-info/top_level.txt +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/orchestrator/codecs.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/orchestrator/decorators.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/orchestrator/exceptions.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/orchestrator/lock.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/orchestrator/process_guard.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/orchestrator/state.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/orchestrator/supervisor/__init__.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/orchestrator/supervisor/liveness.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/orchestrator/token_gate.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/pytest.ini +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/setup.cfg +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/__init__.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/adapters/__init__.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/adapters/test_adapters_init.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/adapters/test_autogen.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/adapters/test_crewai.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/adapters/test_fastapi.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/adapters/test_langgraph.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/adapters/test_smolagents.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_atomic_marker_concurrency.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_browser_use_cookbook.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_cli_watch.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_codecs.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_conformance_benchmark.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_cookbooks.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_durable_decorator.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_fuzz_wal_corruptions.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_interactive_demo.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_lock.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_playwright_scraper_cookbook.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_process_guard.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_state.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_step_failclosed.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_supervise.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_token_gate.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_wal_corruption_recovery.py +0 -0
- {letitloop-0.7.2 → letitloop-0.7.3}/tests/test_wal_v2_checksums.py +0 -0
|
@@ -28,7 +28,7 @@ jobs:
|
|
|
28
28
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
29
29
|
|
|
30
30
|
- name: Set up Python ${{ matrix.python-version }}
|
|
31
|
-
uses: actions/setup-python@
|
|
31
|
+
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
32
32
|
with:
|
|
33
33
|
python-version: ${{ matrix.python-version }}
|
|
34
34
|
cache: 'pip'
|
|
@@ -66,7 +66,7 @@ jobs:
|
|
|
66
66
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
67
67
|
|
|
68
68
|
- name: Set up Python 3.11
|
|
69
|
-
uses: actions/setup-python@
|
|
69
|
+
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
70
70
|
with:
|
|
71
71
|
python-version: '3.11'
|
|
72
72
|
cache: 'pip'
|
|
@@ -88,7 +88,7 @@ jobs:
|
|
|
88
88
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
89
89
|
|
|
90
90
|
- name: Set up Python 3.11
|
|
91
|
-
uses: actions/setup-python@
|
|
91
|
+
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
92
92
|
with:
|
|
93
93
|
python-version: '3.11'
|
|
94
94
|
cache: 'pip'
|
|
@@ -110,7 +110,7 @@ jobs:
|
|
|
110
110
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
111
111
|
|
|
112
112
|
- name: Set up Python 3.11
|
|
113
|
-
uses: actions/setup-python@
|
|
113
|
+
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
114
114
|
with:
|
|
115
115
|
python-version: '3.11'
|
|
116
116
|
cache: 'pip'
|
|
@@ -13,7 +13,7 @@ jobs:
|
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
steps:
|
|
15
15
|
- name: Inspect PR Health
|
|
16
|
-
uses: actions/github-script@
|
|
16
|
+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
|
17
17
|
with:
|
|
18
18
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
19
19
|
script: |
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
name: Publish Python Distribution to PyPI
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
release:
|
|
@@ -19,7 +19,7 @@ jobs:
|
|
|
19
19
|
steps:
|
|
20
20
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
21
21
|
- name: Set up Python
|
|
22
|
-
uses: actions/setup-python@
|
|
22
|
+
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
23
23
|
with:
|
|
24
24
|
python-version: '3.11'
|
|
25
25
|
- name: Install build dependencies
|
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
5
|
|
|
6
|
+
## [0.7.3] - 2026-11-23
|
|
7
|
+
|
|
8
|
+
### 🔧 CI Determinism, Metadata Alignment & Workflow Maintenance
|
|
9
|
+
- **Deterministic Async Concurrency Test (`tests/test_durable_async.py`)**: Replaced the wall-clock `< 0.35s` timing assertion in `test_async_steps_gather_runs_truly_concurrently` with a deterministic 3-task `asyncio.Event` entry barrier (`max_in_flight == 3`), eliminating false CI flakes caused by Windows NTFS `fsync()` jitter.
|
|
10
|
+
- **Package & CLI Description Alignment (`pyproject.toml`, `orchestrator/cli.py`)**: Aligned PyPI package summary and CLI help text to the single-process local `LILWAL02` WAL & process supervisor contract.
|
|
11
|
+
- **CI Dependency & Action Upgrades**: Updated `actions/setup-python` (`v7.1.0`), `actions/github-script` (`v9.0.0`), `release-drafter` (`v7`), `ossf/scorecard-action` (`v2.6.0`), `coverage` (`>=7.17.3`), and `pytest-benchmark` (`>=5.3.1`).
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
6
15
|
## [0.7.2] - 2026-11-23
|
|
7
16
|
|
|
8
17
|
### 🔒 Kernel Correctness Fixes, Async Parallelism & Protocol Hardening
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: letitloop
|
|
3
|
-
Version: 0.7.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.7.3
|
|
4
|
+
Summary: Single-process local Write-Ahead Log (LILWAL02) and process supervisor for Python scripts.
|
|
5
5
|
Author-email: sdageltc <sdageltc@users.noreply.github.com>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://sdageltc.github.io/letitloop/
|
|
@@ -49,7 +49,7 @@ Dynamic: license-file
|
|
|
49
49
|
|
|
50
50
|
# let it loop (LIL)
|
|
51
51
|
|
|
52
|
-
**Single-Process Local Write-Ahead Log (`LILWAL02`) & Process Supervisor for Python Scripts (`v0.7.
|
|
52
|
+
**Single-Process Local Write-Ahead Log (`LILWAL02`) & Process Supervisor for Python Scripts (`v0.7.3`)**
|
|
53
53
|
|
|
54
54
|
[](https://sdageltc.github.io/letitloop/)
|
|
55
55
|
[](https://pypi.org/project/letitloop/)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# let it loop (LIL)
|
|
8
8
|
|
|
9
|
-
**Single-Process Local Write-Ahead Log (`LILWAL02`) & Process Supervisor for Python Scripts (`v0.7.
|
|
9
|
+
**Single-Process Local Write-Ahead Log (`LILWAL02`) & Process Supervisor for Python Scripts (`v0.7.3`)**
|
|
10
10
|
|
|
11
11
|
[](https://sdageltc.github.io/letitloop/)
|
|
12
12
|
[](https://pypi.org/project/letitloop/)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Architectural Design, Contract Boundaries & Trade-Offs (`v0.7.
|
|
1
|
+
# Architectural Design, Contract Boundaries & Trade-Offs (`v0.7.3`)
|
|
2
2
|
|
|
3
3
|
This document specifies what `letitloop` guarantees, where its single-process local filesystem model stops, and when you should use an established database-backed workflow engine instead.
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
# Architecture Decision Records (ADRs)
|
|
2
2
|
|
|
3
3
|
- [ADR-0001: Write-Ahead Logging (`LILWAL02`) & Torn-Tail Recovery](0001-write-ahead-logging.md)
|
|
4
|
-
- [Architecture, Contract Boundaries & Trade-Offs (`v0.7.
|
|
4
|
+
- [Architecture, Contract Boundaries & Trade-Offs (`v0.7.3`)](../ARCHITECTURE_AND_TRADE_OFFS.md)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: letitloop
|
|
3
|
-
Version: 0.7.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.7.3
|
|
4
|
+
Summary: Single-process local Write-Ahead Log (LILWAL02) and process supervisor for Python scripts.
|
|
5
5
|
Author-email: sdageltc <sdageltc@users.noreply.github.com>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://sdageltc.github.io/letitloop/
|
|
@@ -49,7 +49,7 @@ Dynamic: license-file
|
|
|
49
49
|
|
|
50
50
|
# let it loop (LIL)
|
|
51
51
|
|
|
52
|
-
**Single-Process Local Write-Ahead Log (`LILWAL02`) & Process Supervisor for Python Scripts (`v0.7.
|
|
52
|
+
**Single-Process Local Write-Ahead Log (`LILWAL02`) & Process Supervisor for Python Scripts (`v0.7.3`)**
|
|
53
53
|
|
|
54
54
|
[](https://sdageltc.github.io/letitloop/)
|
|
55
55
|
[](https://pypi.org/project/letitloop/)
|
|
@@ -28,7 +28,7 @@ def _get_version() -> str:
|
|
|
28
28
|
|
|
29
29
|
return __version__
|
|
30
30
|
except Exception:
|
|
31
|
-
return "0.7.
|
|
31
|
+
return "0.7.3"
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
def cmd_watch(a) -> None:
|
|
@@ -279,7 +279,7 @@ def cmd_bench(args) -> None:
|
|
|
279
279
|
|
|
280
280
|
def main():
|
|
281
281
|
parser = argparse.ArgumentParser(
|
|
282
|
-
description="LetItLoop —
|
|
282
|
+
description="LetItLoop — Single-process local WAL (LILWAL02) and process supervisor",
|
|
283
283
|
formatter_class=argparse.RawDescriptionHelpFormatter,
|
|
284
284
|
)
|
|
285
285
|
parser.add_argument(
|
|
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "letitloop"
|
|
7
|
-
version = "0.7.
|
|
8
|
-
description = "
|
|
7
|
+
version = "0.7.3"
|
|
8
|
+
description = "Single-process local Write-Ahead Log (LILWAL02) and process supervisor for Python scripts."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
11
11
|
requires-python = ">=3.11"
|
|
@@ -200,23 +200,33 @@ async def test_async_step_non_serializable_raises(tmp_path):
|
|
|
200
200
|
@pytest.mark.asyncio
|
|
201
201
|
async def test_async_steps_gather_runs_truly_concurrently(tmp_path):
|
|
202
202
|
wal_dir = str(tmp_path / "wal_true_parallel")
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
203
|
+
in_flight = 0
|
|
204
|
+
max_in_flight = 0
|
|
205
|
+
all_entered = asyncio.Event()
|
|
206
|
+
|
|
207
|
+
async def _barrier_step(x: int) -> int:
|
|
208
|
+
nonlocal in_flight, max_in_flight
|
|
209
|
+
in_flight += 1
|
|
210
|
+
max_in_flight = max(max_in_flight, in_flight)
|
|
211
|
+
if in_flight == 3:
|
|
212
|
+
all_entered.set()
|
|
213
|
+
try:
|
|
214
|
+
# If async_step serialized asyncio.gather() behind a lock, tasks 2 and 3
|
|
215
|
+
# could never enter while task 1 awaits here, triggering TimeoutError.
|
|
216
|
+
await asyncio.wait_for(all_entered.wait(), timeout=2.0)
|
|
217
|
+
return x * 10
|
|
218
|
+
finally:
|
|
219
|
+
in_flight -= 1
|
|
207
220
|
|
|
208
221
|
@durable_async(goal_id="parallel_gather", wal_dir=wal_dir)
|
|
209
222
|
async def wf():
|
|
210
223
|
r1, r2, r3 = await asyncio.gather(
|
|
211
|
-
async_step("p1",
|
|
212
|
-
async_step("p2",
|
|
213
|
-
async_step("p3",
|
|
224
|
+
async_step("p1", _barrier_step, 1),
|
|
225
|
+
async_step("p2", _barrier_step, 2),
|
|
226
|
+
async_step("p3", _barrier_step, 3),
|
|
214
227
|
)
|
|
215
228
|
return r1 + r2 + r3
|
|
216
229
|
|
|
217
|
-
t0 = time.perf_counter()
|
|
218
230
|
total = await wf()
|
|
219
|
-
elapsed = time.perf_counter() - t0
|
|
220
231
|
assert total == 60
|
|
221
|
-
|
|
222
|
-
assert elapsed < 0.35, f"async_step serialized asyncio.gather: took {elapsed:.3f}s"
|
|
232
|
+
assert max_in_flight == 3, f"async_step serialized asyncio.gather: max_in_flight={max_in_flight}"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/json_checkpoint_adapter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/snapshot_graph_adapter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letitloop-0.7.2 → letitloop-0.7.3}/letitloop/conformance/adapters/unmanaged_script_adapter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|