swarm-controller: the review classifier reads a diff with 25 lines of context, not 200
The wide diff's context drops from 200 to 25 lines, so a block's enclosing gate stays in view when it opens within 25 lines above the change (the forge's own diff carries 3). The fallback note, the doc and the gate fixture (now 20 lines out, not 47) follow.
This commit is contained in:
parent
f4b5e1445b
commit
4098fd6d35
1 changed files with 8 additions and 7 deletions
|
|
@ -2033,7 +2033,7 @@ mod tests {
|
|||
let body = narrowed(reason(), true).await;
|
||||
assert!(
|
||||
body.ends_with(
|
||||
"\nThe classifier read the forge's diff, with 3 lines of context, not 200: \
|
||||
"\nThe classifier read the forge's diff, with 3 lines of context, not 25: \
|
||||
the PR changes 101 files.\n"
|
||||
),
|
||||
"{body}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue