Repository navigation
Commit ba38588
zhansheng.lzs
fix(acli): narrow _run_started for the repo mypy gate
_clamp_run_command_timeout subtracts the monotonic anchor after the
ceiling-None guard, but the repo's mypy (pinned --python-version=3.10)
cannot infer _run_started is non-None from that guard across methods —
CI on PR #206 failed with "Unsupported operand types for - (float and
None)". Fold the check into the guard; upstream agenticCLI gets the
same line so the next sync stays byte-identical. black also explodes
two long calls in the merge-touched tongyi tests.1 parent 07929e1 commit ba38588
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
691 | 691 | | |
692 | 692 | | |
693 | 693 | | |
694 | | - | |
| 694 | + | |
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
375 | 377 | | |
376 | 378 | | |
377 | 379 | | |
| |||
398 | 400 | | |
399 | 401 | | |
400 | 402 | | |
401 | | - | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
402 | 406 | | |
403 | 407 | | |
404 | 408 | | |
| |||
0 commit comments