Skip to content

Conversation

@greenarmor
Copy link

Summary

This PR enhances regression tests to ensure that missing optional dependencies, particularly vision-stack components and torch, produce clear, actionable error messages across PerceptionEncoder and VFSStore.

Changes

  • Added regression tests that monkeypatch missing perception-related dependencies to confirm PerceptionEncoder raises descriptive ImportErrors.
  • Added coverage verifying that VFSStore surfaces actionable guidance when torch is absent during tensor serialization.
  • Strengthened tests to ensure all missing components for the perception encoder are explicitly listed in the error guidance.

Why

Improves developer experience by making dependency-related failures easier to diagnose and ensuring consistent behavior in environments with optional or lightweight installations.

Checklist

  • New tests added
  • Error messages validated
  • No breaking changes introduced

… to ensure PerceptionEncoder raises descriptive ImportErrors when the vision stack is absent.
…g components for the perception encoder are explicitly listed in the guidance message.
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