Extract cloud upload response helper
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -93,6 +93,11 @@ in `src/legacy_cloud_services.cpp`, so the remaining cloud debt is further
|
||||
concentrated on save-before-upload execution, response/error handling,
|
||||
prompt/progress lifetime, OpenGL context guarding, downloaded-project open,
|
||||
layer refresh, and action-history reset.
|
||||
The retained upload post-transfer response/error handling is now also isolated
|
||||
behind a dedicated helper in `src/legacy_cloud_services.cpp`, so the remaining
|
||||
cloud debt is further concentrated on save-before-upload execution,
|
||||
prompt/progress lifetime, OpenGL context guarding, downloaded-project open,
|
||||
layer refresh, and action-history reset.
|
||||
|
||||
Recent 2026-06-13 retained preview reductions continue to narrow DEBT-0036:
|
||||
`NodeStrokePreview::draw_stroke_immediate()` now also routes
|
||||
|
||||
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user