Repository navigation
Commit 996a6eb
fix(remote): drain push status output before resolving hashes
Resolving revision sources in the stdout reader made optional object
lookups count against `kill_after_timeout`. A push could finish on the
receiver while the reader was still resolving hashes, report a timeout,
and lose statuses later in the stream.
Collect the raw porcelain lines during the timed drain and parse the
captured lines once the drain returns. A subprocess regression checks
that disambiguation happens after stdout closes and that both statuses
are retained. The partial-timeout test still passes on both backends.
Agent-Model: unknown1 parent eb37351 commit 996a6eb
2 files changed
Lines changed: 37 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
913 | 913 | | |
914 | 914 | | |
915 | 915 | | |
916 | | - | |
917 | | - | |
918 | | - | |
919 | | - | |
920 | | - | |
921 | | - | |
922 | | - | |
| 916 | + | |
923 | 917 | | |
924 | 918 | | |
925 | 919 | | |
926 | | - | |
| 920 | + | |
927 | 921 | | |
928 | 922 | | |
929 | 923 | | |
930 | 924 | | |
931 | 925 | | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
932 | 933 | | |
933 | 934 | | |
934 | 935 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1196 | 1196 | | |
1197 | 1197 | | |
1198 | 1198 | | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
1199 | 1227 | | |
1200 | 1228 | | |
1201 | 1229 | | |
| |||
0 commit comments