You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor(autoresearch): replace raw pyserial DTR reset with SerialInterface.reset_device() #2264
Replace the raw pyserial DTR workaround in ci/autoresearch/gpio.py with the proper SerialInterface.reset_device() method, once FastLED/fbuild#50 lands.
✅ PySerialAdapter direct-DTR fallback — ci/util/serial_interface.py:125 delegates to _pyserial_dtr_reset().
✅ ci/autoresearch/gpio.py now calls serial_interface.reset_device() at both reset sites (lines 80 and 278), with _pyserial_dtr_reset(port) as a pure fallback only when the fbuild-backed adapter is unavailable.
The original raw-pyserial DTR bypass is gone from gpio.py's happy path. Reopen if the fallback path becomes the primary path again or if the daemon ↔ pyserial port contention returns.
Activity
feat(autoresearch): add reset_device() to SerialInterface, replace ra…
perf(autoresearch): spin-poll for boot/reset signals instead of fixed…
perf(autoresearch): spin-poll for boot/reset signals instead of fixed…
zackees commentedon Apr 19, 2026
Closing — all four work items are done in tree.
SerialInterface.reset_device(board)added —ci/util/serial_interface.py:80:ci/util/serial_interface.py:125delegates to_pyserial_dtr_reset().ci/autoresearch/gpio.pynow callsserial_interface.reset_device()at both reset sites (lines 80 and 278), with_pyserial_dtr_reset(port)as a pure fallback only when the fbuild-backed adapter is unavailable.The original raw-pyserial DTR bypass is gone from
gpio.py's happy path. Reopen if the fallback path becomes the primary path again or if the daemon ↔ pyserial port contention returns.