I’ve added an automated smoke test for the recording functionality to address #775.
What kind of change does this PR introduce?
Implementation Details:
openadapt.record in a background daemon thread to avoid blocking the main test execution.pynput to simulate the Ctrl+C keyboard interrupt.
KeyboardInterrupt exception. This ensures that the test runner doesn’t crash (especially on Windows) and can proceed to the verification step cleanly.Recording entry was created.video_path). I added a check to handle cases where the schema version might differ, so the test remains stable across environments.ctypes hard exit strategy to prevent multiprocessing permission errors causing hanging processes on Windows.Checklist
Fixes #775 /claim #775
https://github.com/user-attachments/assets/4641b3bd-816d-44ce-9a19-d1047f8b3f7a
g-irem-bas-gmail-com
@g-irem-bas-gmail-com
OpenAdaptAI
@OpenAdaptAI