Commit 8c5e239
authored
Suppressed Ghost logging noise in CI unit tests (#26758)
no issue
Failing unit tests in CI were difficult to reason about because the output was often truncated, hiding the actual failures. Logs from Ghost are also extremely noisy because we're unit testing expected failure cases that were then logging the failures which aren't useful to know about.
- Added `logging__level=fatal` env var to the CI unit test step to suppress Ghost's noisy `info`-level logging output
- The test config had no logging override, so Ghost defaulted to `info` level, flooding CI output and causing truncation that hid real test failures
- Scoped to only the unit test step in CI — no change to local development or other test suites1 parent e66644b commit 8c5e239
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| 457 | + | |
457 | 458 | | |
458 | 459 | | |
459 | 460 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
0 commit comments