Skip to content

test(vulkan): cover device loss with and without debug panics - #3

Open
isaacsa2 wants to merge 1 commit into
openOMSI-org:openomsi/v29from
isaacsa2:fix/ci-vulkan-device-loss-20261027
Open

isaacsa2 wants to merge 1 commit into
openOMSI-org:openomsi/v29from
isaacsa2:fix/ci-vulkan-device-loss-20261027

Conversation

@isaacsa2

Copy link
Copy Markdown

The native test jobs use --all-features, which enables device_lost_panic. pipeline_creation_errors deliberately injects ERROR_DEVICE_LOST and then expects a returned DeviceError::Lost, although this feature deliberately panics instead. That assertion fails on the unchanged openomsi/v29 base too.

Give device loss its own test: check the returned error normally, and expect the documented debug panic when the feature is enabled. Other pipeline errors remain checked by the existing test. Production error handling is unchanged.

Validation: reproduced the base failure with vulkan,device_lost_panic; both pipeline tests pass with vulkan alone, with vulkan,device_lost_panic, and with --all-features. They also pass with the GL fix from #1 applied. Formatting and dependency advisories are separate maintenance changes.

Signed-off-by: Isaac S. <107325320+isaacsa2@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant