Commit 7157830
authored
style: fix CI formatting issues in login_screen.rs (#4)
* style: fix formatting issues in login_screen.rs
- Fix trailing whitespace on empty lines
- Reformat tracing::trace! macro call to proper multi-line format
Fixes CI Format check failures.
* fix(test): prevent flaky test_caching test with serial execution
The test_caching test uses a static cache shared across all tests. When
tests run in parallel, other tests can modify the cache between
clear_cache() and the cache_size() assertions, causing spurious failures.
Fix by adding #[serial] attribute from serial_test crate to ensure this
test runs in isolation from other tests that use the cache.1 parent e0adfe2 commit 7157830
File tree
4 files changed
+14
-6
lines changed- src
- cortex-engine
- src/config
- cortex-tui/src/runner
4 files changed
+14
-6
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
250 | 251 | | |
251 | 252 | | |
252 | 253 | | |
| |||
344 | 345 | | |
345 | 346 | | |
346 | 347 | | |
| 348 | + | |
347 | 349 | | |
348 | | - | |
| 350 | + | |
349 | 351 | | |
350 | 352 | | |
351 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
713 | 713 | | |
714 | 714 | | |
715 | 715 | | |
716 | | - | |
| 716 | + | |
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
| |||
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
739 | | - | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
740 | 744 | | |
741 | 745 | | |
742 | 746 | | |
| |||
756 | 760 | | |
757 | 761 | | |
758 | 762 | | |
759 | | - | |
| 763 | + | |
760 | 764 | | |
761 | 765 | | |
762 | 766 | | |
| |||
0 commit comments