Commit c4e6d35
committed
review: harden fingerprint PR after code review
- IdentityCheckResult now frozen (consistency with other dataclasses)
- Extract FRAMEWORK_PACKAGES constant (eliminates hardcoded duplicates)
- Remove hasattr(config, 'identity') checks (field always exists via default_factory)
- Reduce HF validation timeout 5s -> 2s (air-gapped clusters)
- Reduce bash script probe timeout 5s -> 3s (faster worker startup)
- Simplify find_python() (Path.exists() instead of subprocess)1 parent a5d8477 commit c4e6d35
4 files changed
Lines changed: 22 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
280 | 276 | | |
281 | 277 | | |
282 | 278 | | |
| |||
362 | 358 | | |
363 | 359 | | |
364 | 360 | | |
365 | | - | |
| 361 | + | |
366 | 362 | | |
367 | 363 | | |
368 | 364 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
| |||
253 | 262 | | |
254 | 263 | | |
255 | 264 | | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
| 265 | + | |
262 | 266 | | |
263 | 267 | | |
264 | 268 | | |
| |||
584 | 588 | | |
585 | 589 | | |
586 | 590 | | |
587 | | - | |
| 591 | + | |
588 | 592 | | |
589 | 593 | | |
590 | 594 | | |
| |||
742 | 746 | | |
743 | 747 | | |
744 | 748 | | |
745 | | - | |
| 749 | + | |
746 | 750 | | |
747 | 751 | | |
748 | 752 | | |
749 | 753 | | |
750 | 754 | | |
751 | 755 | | |
752 | 756 | | |
753 | | - | |
754 | | - | |
| 757 | + | |
| 758 | + | |
755 | 759 | | |
756 | 760 | | |
757 | 761 | | |
| |||
786 | 790 | | |
787 | 791 | | |
788 | 792 | | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
794 | | - | |
| 793 | + | |
795 | 794 | | |
796 | 795 | | |
797 | 796 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
0 commit comments