Expand asset browser subasset workflow
CI / Format, lint, test, build (push) Waiting to run

This commit is contained in:
Rbanh committed 2026-06-06 01:38:27 -04:00
1 parent f29712d158
commit 3e053a81ab
123 files changed
+31930 -1404

No files matched your search

@@ -0,0 +1,28 @@
Status: Accepted
Context
=======
The editor targets Linux desktop sessions where transient swapchain acquire
timeouts can occur during heavy GPU work, compositor stalls, or driver hiccups.
In upstream `bevy_render` 0.18.1, `prepare_windows` treats
`wgpu::SurfaceError::Timeout` as a fatal path. That can crash the editor even
though the next frame can often recover.
Decision
========
Patch `bevy_render` locally through `[patch.crates-io]` and vendor the scoped
crate copy under `third_party/bevy_render`. The patch is limited to transient
surface acquire timeouts in `prepare_windows`: log the timeout and skip the
frame instead of panicking. Other surface errors remain on their existing paths.
Consequences
============
The editor is more tolerant of transient Linux swapchain stalls while preserving
the current Bevy API surface for the rest of the workspace.
The vendor patch must be reviewed during every Bevy upgrade and removed once
upstream behavior is sufficient. Keep the diff narrow; do not use the vendored
crate for unrelated render changes.