3 Commits

Author SHA1 Message Date
Vijay Janapa Reddi
aefbedbe30 fix(tinytorch): add PYTHONIOENCODING=utf-8 for Windows emoji support
Fixes encoding issues on Windows where emoji/unicode output would fail.
Thanks @lalalostcode for reporting!

See: https://github.com/harvard-edge/cs249r_book/discussions/1145
2026-01-27 13:20:37 -05:00
Vijay Janapa Reddi
e7fc890842 fix(ci): proper exit codes and error counting in test output
Critical fixes:
1. bin/tito now uses sys.exit(main()) to propagate exit codes
   - Previously the exit code was discarded, causing CI to pass even on failures

2. Collection errors are now counted and displayed
   - 'ERROR tests/...' lines (collection failures) are now tracked
   - Summary shows 'X errors, Y failed, Z passed' for clarity

Without these fixes, CI stages could show green even when tests failed.
2026-01-23 14:51:26 -05:00
Vijay Janapa Reddi
0c80ee116d fix: use bin/tito wrapper for CI preflight checks
- Remove pip install -e . requirement from CI workflow
- Add bin/tito wrapper script that sets PYTHONPATH and cwd
- Update preflight.py to use bin/tito instead of python -m tito.main
- Fix milestone command name (singular not plural)
- Use vars.TINYTORCH_ROOT with fallback to 'tinytorch'
2025-12-12 07:50:04 -08:00