Commit c1970b5
committed
fix: WS broadcast safety + AI timeout/token limits + remove useless screenshots
- routes.py: wrap all send_test_done in try-except so WS failure doesn't crash HTTP response (fixes bug details missing in sidebar)
- websocket.py: add default=str and try-except for json.dumps in broadcast
- mobile_blueprint_runner.py: add timeout=45/max_tokens=500 for visual fallback, timeout=60/max_tokens=2000 for page pre-analysis
- mobile_blueprint_runner.py: remove useless screenshots for successful assert_text steps
- mobile_blueprint_runner.py: fingerprint-first caching + persistent disk cache (from prior session)
- blueprint.py: add source_path field for persistent cache key1 parent b4dd78a commit c1970b5
5 files changed
Lines changed: 256 additions & 71 deletions
File tree
- extension/src
- src
- api
- testing
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
497 | | - | |
| 497 | + | |
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| |||
875 | 875 | | |
876 | 876 | | |
877 | 877 | | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
878 | 882 | | |
879 | 883 | | |
880 | 884 | | |
881 | 885 | | |
882 | 886 | | |
| 887 | + | |
883 | 888 | | |
884 | 889 | | |
885 | 890 | | |
| |||
1707 | 1712 | | |
1708 | 1713 | | |
1709 | 1714 | | |
1710 | | - | |
1711 | | - | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
1712 | 1719 | | |
1713 | 1720 | | |
1714 | 1721 | | |
| |||
1856 | 1863 | | |
1857 | 1864 | | |
1858 | 1865 | | |
| 1866 | + | |
1859 | 1867 | | |
1860 | 1868 | | |
1861 | 1869 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
324 | 327 | | |
325 | 328 | | |
326 | 329 | | |
| |||
420 | 423 | | |
421 | 424 | | |
422 | 425 | | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
427 | 433 | | |
428 | 434 | | |
429 | 435 | | |
| |||
569 | 575 | | |
570 | 576 | | |
571 | 577 | | |
572 | | - | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
573 | 582 | | |
574 | 583 | | |
575 | 584 | | |
| |||
738 | 747 | | |
739 | 748 | | |
740 | 749 | | |
| 750 | + | |
741 | 751 | | |
742 | 752 | | |
743 | 753 | | |
744 | 754 | | |
745 | | - | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
746 | 759 | | |
747 | 760 | | |
748 | 761 | | |
| |||
955 | 968 | | |
956 | 969 | | |
957 | 970 | | |
958 | | - | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
959 | 975 | | |
960 | 976 | | |
961 | 977 | | |
| |||
1303 | 1319 | | |
1304 | 1320 | | |
1305 | 1321 | | |
1306 | | - | |
1307 | | - | |
1308 | | - | |
1309 | | - | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
1310 | 1329 | | |
1311 | 1330 | | |
1312 | 1331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
95 | 100 | | |
96 | 101 | | |
97 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
106 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
107 | 111 | | |
108 | 112 | | |
109 | 113 | | |
| |||
0 commit comments