Repository navigation
[DRAFT][ALTSPACE BUILDER] Stop reporting success after upload failures - #168
BOBWORKS-XR wants to merge 1 commit into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Comment |
CI baseline noteThe
The workflow invokes Failed run: https://github.com/SideQuestVR/BanterSDK/actions/runs/32958593422 |
5802ffa to
0162f65
Compare
Draft status
This is intentionally a draft PR for the Altspace Builder / Creator SDK only. It is not ready to merge until the failure-path behavior is reviewed and exercised in Unity.
Closes #165.
Relates to #167.
Problem
The nested upload coroutines report errors through callbacks, but their callers do not retain a success/failure result. As a result:
UploadFileToWorldcan continue to the attach request after the byte upload fails.UploadFilecan invoke its success callback after the byte upload fails.UploadEverythingandUploadWebOnlycan still displayUpload complete.after a required upload or attach step fails.Changes
UploadFileInternaldoes not invoke its success callback.Skipped,Succeeded, andFailedoutcomes from each world file into the aggregate upload operation.Skipped, preserving existing behavior.finallyon success, failure, or an exception.Existing-fix audit
Checked before opening this PR:
feature/greenfieldatf7dffe45b228(com.sidequest.creator-sdk4.0.0 source).latestis 3.2.17, which also contains the issue.Validation
Passed:
git diff --check.UploadEverything,UploadWebOnly, andUploadWorldFileinvocation.Not yet proven:
BasisContentVersionand UI Toolkit API mismatches outside these edited files.Scope
Only these Altspace Builder files are changed:
Editor/Resources/Builder/SideQuest/SqEditorAppApi.csEditor/Resources/Builder/BuilderWindow.csNo API, Greenfield client, cache format, world-specific, account-specific, or device-specific change is included.