Route cloud save-before-upload through document session services

This commit is contained in:
2026-06-15 20:24:06 +02:00
parent 02e6386664
commit 3e0a6b2c31
6 changed files with 59 additions and 2 deletions

View File

@@ -481,6 +481,43 @@ Completed Task Log:
| --- | --- | ---: | --- | --- |
| 2026-06-15 | ADP-011 | no score movement | `ctest --preset desktop-fast --build-config Debug -R "pp_app_core_document_cloud" --output-on-failure`; `MSBuild.exe out\build\windows-msvc-default\panopainter_app.vcxproj /p:Configuration=Debug /p:Platform=x64` | `58ff3015` |
### ADP-012 - Route Cloud Save-Before-Upload Through Document Session Services
Status: Done
Score: no score movement
Debt: `DEBT-0038`
Scope: `src/legacy_cloud_services.cpp`,
`src/legacy_document_session_services.*`
Goal:
Move the retained save-before-upload execution used by cloud publish out of
`src/legacy_cloud_services.cpp` and behind a focused legacy document-session
helper so the cloud bridge no longer reaches `Canvas::I->project_save_thread`
directly while keeping current runtime behavior unchanged.
Done Checks:
- `LegacyCloudServices::prompt_publish(...)` no longer calls
`Canvas::I->project_save_thread(...)` directly.
- Retained save-before-upload execution now routes through
`src/legacy_document_session_services.*`.
- `DEBT-0038` and the roadmap note the reduced remaining cloud execution
surface.
Validation:
```powershell
ctest --preset desktop-fast --build-config Debug -R "pp_app_core_document_cloud" --output-on-failure
& 'C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\MSBuild.exe' out\build\windows-msvc-default\panopainter_app.vcxproj /p:Configuration=Debug /p:Platform=x64
```
Completed Task Log:
| Date | Task | Score | Validation | Commit |
| --- | --- | ---: | --- | --- |
| 2026-06-15 | ADP-012 | no score movement | `ctest --preset desktop-fast --build-config Debug -R "pp_app_core_document_cloud" --output-on-failure`; `MSBuild.exe out\build\windows-msvc-default\panopainter_app.vcxproj /p:Configuration=Debug /p:Platform=x64` | `(pending)` |
Completed Task Log:
| Date | Task | Score | Validation | Commit |