Commit c168e9b
fix: use time.monotonic() in ResourceGovernor to prevent Python 3.12 CI hang (#336)
* fix: use time.monotonic() in ResourceGovernor and remove harmful time.time mocks from fixtures
Co-authored-by: bashandbone <89049923+bashandbone@users.noreply.github.com>
* Fix condition for elapsed_seconds calculation
Signed-off-by: Adam Poulemanos <89049923+bashandbone@users.noreply.github.com>
---------
Signed-off-by: Adam Poulemanos <89049923+bashandbone@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: bashandbone <89049923+bashandbone@users.noreply.github.com>1 parent 90d81cf commit c168e9b
3 files changed
Lines changed: 15 additions & 38 deletions
File tree
- src/codeweaver/engine/chunker
- tests
- integration
- unit/engine/chunker
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
| 537 | + | |
| 538 | + | |
547 | 539 | | |
548 | 540 | | |
549 | 541 | | |
| |||
1025 | 1017 | | |
1026 | 1018 | | |
1027 | 1019 | | |
1028 | | - | |
1029 | | - | |
1030 | | - | |
1031 | | - | |
1032 | | - | |
1033 | | - | |
1034 | | - | |
1035 | | - | |
1036 | | - | |
| 1020 | + | |
| 1021 | + | |
1037 | 1022 | | |
1038 | 1023 | | |
1039 | 1024 | | |
| |||
1221 | 1206 | | |
1222 | 1207 | | |
1223 | 1208 | | |
1224 | | - | |
1225 | | - | |
1226 | | - | |
1227 | | - | |
1228 | | - | |
1229 | | - | |
1230 | | - | |
1231 | | - | |
1232 | | - | |
1233 | | - | |
| 1209 | + | |
| 1210 | + | |
1234 | 1211 | | |
1235 | | - | |
1236 | | - | |
| 1212 | + | |
| 1213 | + | |
1237 | 1214 | | |
1238 | | - | |
| 1215 | + | |
1239 | 1216 | | |
1240 | | - | |
| 1217 | + | |
1241 | 1218 | | |
1242 | 1219 | | |
1243 | 1220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments