mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-03 21:40:41 +08:00
* fix(co-writer): warn and keep placeholder row when DOCX table row parsing fails _table_to_markdown swallowed per-row cell errors with 'except Exception: continue', silently dropping rows (e.g. malformed merged cells) from the converted markdown. Log a warning with the table/row ordinal and keep a placeholder row so the loss is visible in the output itself. Use an English placeholder '(unparseable row)' so non-Chinese documents are not polluted, and keep test imports sorted for CI. * test(codebuddy): make credential fixture expiry relative to now test_load_credentials_parses_session wrote a hard-coded expiresAt of 1791055241000 (2026-10-03 15:40:41 UTC) and asserted is_expired() is False. Once that instant passed the assertion flipped, so the test now fails on every Python version for every branch. Derive expiresAt / refreshExpiresAt from time.time() so the fixture always describes a live session, and assert against the value written. --------- Co-authored-by: XZH <cto@xzh.ai>