Extract cloud upload response helper

This commit is contained in:
2026-06-15 20:16:29 +02:00
parent d2418b824d
commit 58ff301580
4 changed files with 56 additions and 2 deletions

View File

@@ -445,6 +445,42 @@ Completed Task Log:
| --- | --- | ---: | --- | --- |
| 2026-06-15 | ADP-010 | 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` | `9efb0802` |
### ADP-011 - Extract Cloud Upload Response Handling Helper
Status: Done
Score: no score movement
Debt: `DEBT-0038`
Scope: `src/legacy_cloud_services.cpp` only
Goal:
Extract the retained upload response/error handling from
`execute_cloud_upload_transfer(...)` into a dedicated local helper so the live
upload path keeps less inline CURL post-transfer handling while preserving
current behavior.
Done Checks:
- Upload response/error handling no longer lives inline in
`execute_cloud_upload_transfer(...)`.
- Current `UPLOAD RESULT` output and retained cloud upload behavior stay
unchanged.
- `DEBT-0038` and the roadmap note the reduced remaining upload post-transfer
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-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` | `(pending)` |
Completed Task Log:
| Date | Task | Score | Validation | Commit |