docs: report deployment and run client task

This commit is contained in:
lda
2026-08-31 02:02:37 +07:00 Verified
parent 112e9656c2
commit 854ac531d9
@@ -0,0 +1,31 @@
# Task 6 report: deployment and durable run objects
## Status
Implemented and committed as `112e9656` (`feat: add Python deployment and run objects`).
## Files
- Added `src/wf_client/deployments.py` with immutable `Deployment` and
`DeploymentValidation` snapshots plus strict artifact deployment selection.
- Added `src/wf_client/runs.py` with immutable `Run` and bounded `TracePage`
snapshots, resume/refresh lifecycle methods, and core interrupt/trace
reconstruction.
- Added `tests/wf_client/test_deployments.py` and
`tests/wf_client/test_runs.py`.
- Updated `WorkflowArtifact`, `App`, public exports, codecs, and structured
deployment exceptions.
## Verification
- `uv run pytest tests/wf_client/test_deployments.py tests/wf_client/test_runs.py tests/wf_api/test_deployment_api.py tests/wf_api/test_run_api.py -q`**30 passed**.
- `uv run pytest tests/wf_client -q`**28 passed**.
- `uv run ruff check src/wf_client tests/wf_client/test_deployments.py tests/wf_client/test_runs.py`**passed**.
- `uv run basedpyright --level error src/wf_client tests/wf_client/test_deployments.py tests/wf_client/test_runs.py`**0 errors**.
## Caveats
- `.wf_mcp_store/` and `test-artifacts/` remain untracked generated directories
and were intentionally not staged.
- Trace limits follow the existing server bound of 1100 and are validated
before issuing a trace request.