Skip to content

Conversation

@eliotwrobson
Copy link
Owner

  • Add _initialize_sandbox_fixture() and _handle_sandbox_startup_errors() helper functions to reduce code duplication
  • Add module_sandbox fixture with module-scoped caching for better performance
  • Move cache from global variable to ResultCollectorPlugin class member
  • Add comprehensive test scenario for module sandbox with type annotations
  • Update GitHub workflows to run on pull requests targeting main branch
  • Maintain backward compatibility with existing sandbox functionality

Features:

  • Module sandbox shares state between tests in same module
  • Different student code files get separate cached instances
  • Proper cleanup and cache management
  • Type-safe implementation with full annotations

- Add _initialize_sandbox_fixture() and _handle_sandbox_startup_errors() helper functions to reduce code duplication
- Add module_sandbox fixture with module-scoped caching for better performance
- Move cache from global variable to ResultCollectorPlugin class member
- Add comprehensive test scenario for module sandbox with type annotations
- Update GitHub workflows to run on pull requests targeting main branch
- Maintain backward compatibility with existing sandbox functionality

Features:
- Module sandbox shares state between tests in same module
- Different student code files get separate cached instances
- Proper cleanup and cache management
- Type-safe implementation with full annotations
@eliotwrobson eliotwrobson self-assigned this Nov 12, 2025
@eliotwrobson eliotwrobson merged commit f40a97a into main Nov 12, 2025
5 checks passed
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.

2 participants