Commit 5e2e508
committed
fix: cherry-pick 5 high-priority fixes from upstream PRs
- fix(runner): prevent action data loss from partial line reads (666ghj#460)
Track safe_position; only advance past newline-terminated lines to
avoid permanent data loss when the writer is mid-flush.
- fix(build): restrict Python to <3.13 to avoid tiktoken failure (666ghj#453)
tiktoken wheels are not available for Python 3.13+.
- fix(security): default FLASK_DEBUG to False (666ghj#445)
Debug mode was on by default, exposing the Werkzeug debugger in
production deployments on 0.0.0.0.
- fix(polling): stop frontend polling when backend fails (666ghj#448)
Step2 and Step3 now detect failed status and error-count limits,
stopping the polling interval instead of looping indefinitely.
- fix(simulation): stop Step2 hanging after prepare failures (666ghj#336)
Reset state flags on each prepare run; raise ValueError instead of
returning silently so the task manager marks the task as failed.
Co-Authored-By: koyouko <koyouko@users.noreply.github.com>1 parent c037a62 commit 5e2e508
File tree
6 files changed
+67
-9
lines changed- backend
- app
- services
- frontend/src/components
6 files changed
+67
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
| |||
177 | 180 | | |
178 | 181 | | |
179 | 182 | | |
| 183 | + | |
180 | 184 | | |
181 | 185 | | |
182 | 186 | | |
| |||
264 | 268 | | |
265 | 269 | | |
266 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
267 | 275 | | |
268 | 276 | | |
269 | 277 | | |
| |||
298 | 306 | | |
299 | 307 | | |
300 | 308 | | |
301 | | - | |
| 309 | + | |
302 | 310 | | |
303 | 311 | | |
304 | 312 | | |
| |||
346 | 354 | | |
347 | 355 | | |
348 | 356 | | |
349 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
350 | 360 | | |
351 | 361 | | |
352 | 362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
611 | | - | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
612 | 622 | | |
613 | 623 | | |
614 | 624 | | |
| |||
684 | 694 | | |
685 | 695 | | |
686 | 696 | | |
687 | | - | |
| 697 | + | |
688 | 698 | | |
689 | 699 | | |
690 | 700 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
952 | 952 | | |
953 | 953 | | |
954 | 954 | | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
955 | 958 | | |
| 959 | + | |
956 | 960 | | |
957 | 961 | | |
958 | 962 | | |
| |||
971 | 975 | | |
972 | 976 | | |
973 | 977 | | |
974 | | - | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
975 | 989 | | |
976 | 990 | | |
977 | 991 | | |
| |||
1016 | 1030 | | |
1017 | 1031 | | |
1018 | 1032 | | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
1019 | 1039 | | |
1020 | 1040 | | |
1021 | 1041 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| 468 | + | |
| 469 | + | |
468 | 470 | | |
469 | 471 | | |
| 472 | + | |
470 | 473 | | |
471 | 474 | | |
472 | 475 | | |
| |||
497 | 500 | | |
498 | 501 | | |
499 | 502 | | |
500 | | - | |
| 503 | + | |
501 | 504 | | |
502 | | - | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
503 | 515 | | |
504 | 516 | | |
505 | 517 | | |
| |||
530 | 542 | | |
531 | 543 | | |
532 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
533 | 551 | | |
534 | 552 | | |
535 | 553 | | |
| |||
0 commit comments