pyro-mcp/tests
Thales Maciel 9e11dcf9ab Add task sync push milestone
Tasks could start from host content in 2.2.0, but there was still no post-create path to update a live workspace from the host. This change adds the next host-to-task step so repeated fix or review loops do not require recreating the task for every local change.

Add task sync push across the CLI, Python SDK, and MCP server, reusing the existing safe archive import path from seeded task creation instead of introducing a second transfer stack. The implementation keeps sync separate from workspace_seed metadata, validates destinations under /workspace, and documents the current non-atomic recovery path as delete-and-recreate.

Validation:
- uv lock
- UV_CACHE_DIR=.uv-cache uv run pytest --no-cov tests/test_cli.py tests/test_vm_manager.py tests/test_api.py tests/test_server.py tests/test_public_contract.py
- UV_CACHE_DIR=.uv-cache make check
- UV_CACHE_DIR=.uv-cache make dist-check
- real guest-backed smoke: task create --source-path, task sync push, task exec to verify both files, task delete
2026-03-11 22:20:55 -03:00
..
test_api.py Add task sync push milestone 2026-03-11 22:20:55 -03:00
test_cli.py Add task sync push milestone 2026-03-11 22:20:55 -03:00
test_demo.py Ship trust-first CLI and runtime defaults 2026-03-09 20:52:49 -03:00
test_doctor.py Bundle firecracker runtime and switch ollama demo to live logs 2026-03-05 20:20:36 -03:00
test_langchain_example.py Refactor public API around environments 2026-03-08 16:02:02 -03:00
test_ollama_demo.py Ship trust-first CLI and runtime defaults 2026-03-09 20:52:49 -03:00
test_openai_example.py Refactor public API around environments 2026-03-08 16:02:02 -03:00
test_public_contract.py Add task sync push milestone 2026-03-11 22:20:55 -03:00
test_python_lifecycle_example.py Harden default environment pull behavior 2026-03-11 19:27:09 -03:00
test_runtime.py Harden default environment pull behavior 2026-03-11 19:27:09 -03:00
test_runtime_boot_check.py Finalize guest boot and exec runtime updates 2026-03-07 17:09:21 -03:00
test_runtime_build.py Switch official environment publishing to Docker Hub 2026-03-09 17:39:18 -03:00
test_runtime_network_check.py Refactor public API around environments 2026-03-08 16:02:02 -03:00
test_server.py Add task sync push milestone 2026-03-11 22:20:55 -03:00
test_vm_environments.py Harden default environment pull behavior 2026-03-11 19:27:09 -03:00
test_vm_firecracker.py Finalize guest boot and exec runtime updates 2026-03-07 17:09:21 -03:00
test_vm_guest.py Add seeded task workspace creation 2026-03-11 21:45:38 -03:00
test_vm_manager.py Add task sync push milestone 2026-03-11 22:20:55 -03:00
test_vm_network.py Add runtime capability scaffolding and align docs 2026-03-05 22:57:09 -03:00