fix(iced): disable a panel when pipeline creation fails #1063
No reviewers
Labels
No labels
Context: Bug
Context: Enhancements
Platform: Android
Platform: Linux
Platform: Web
Platform: Windows
Platform: iOS
Platform: macOS
Release
Target: CI
Target: CLI
Target: Dependency
Target: Engine
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
SakulFlee/Orbital!1063
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/iced-init-fallback"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On Android the iced quad pipeline reports
InvalidResourceeven after the surface-format timing fix, and the runtime then submits the invalid pipeline every frame. That can stall the app and hides the real initialization error.This wraps iced renderer creation in a validation error scope. If pipeline creation fails, it logs the actual validation error once, marks that panel failed, and skips it. A later surface-format change resets the flag and retries. This keeps the app responsive and lets performance CSV capture continue while the Android iced backend issue is investigated.
This is a safety/diagnostic fallback, not the final Android iced fix. It should make the phone boot and produce a single actionable pipeline-creation error instead of an error loop.
Refs #1061.
Smart test results
Result: PASS
Scope: full workspace
Reason: workspace-level change: Cargo.lock
Elapsed: 18m 22s
Workflow run
Overall: 516 tests, 506 passed, 0 failed, 10 skipped
Nextest: 505 tests, 505 passed, 0 failed, 0 skipped
Doctests: 11 tests, 1 passed, 0 failed, 10 skipped
Outcome charts are split between nextest and doctests. The timing chart covers nextest only.