What happens
apps/server/src/vcs/GitVcsDriverCore.test.ts › GitVcsDriver core integration › review diff previews › keeps complete stats for files beyond the combined patch limit failed once in CI and passed on re-run with no change.
Guess, unverified
The test builds a real git repository and reads diff stats past a size limit. An entry going missing suggests ordering or timing in how the large file's stats are collected, rather than a logic error.
What happens
apps/server/src/vcs/GitVcsDriverCore.test.ts›GitVcsDriver core integration›review diff previews›keeps complete stats for files beyond the combined patch limitfailed once in CI and passed on re-run with no change.vcs/.AssertionError: expected [ …(2) ] to deeply equal [ { path: 'a-large.txt', …(3) }, …(2) ], so the result held two entries where three were expected.Guess, unverified
The test builds a real git repository and reads diff stats past a size limit. An entry going missing suggests ordering or timing in how the large file's stats are collected, rather than a logic error.