Commit c29d6db
Fix lost build row updates.
Sometimes poll_stale_build() has to insert a build row with missing
data, assuming it would be updated later in process_new_build_status().
That didn't actually happen, so we could finish up with some rows that
had NULL columns.
It would be nicer if those columns were NOT NULL and we didn't have to
insert a sort of "dummy" row, but that's needed for serialisation. We
could lock something else instead...1 parent 3505ad2 commit c29d6db
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | | - | |
436 | | - | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
437 | 439 | | |
438 | 440 | | |
439 | 441 | | |
440 | 442 | | |
441 | 443 | | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
| 444 | + | |
| 445 | + | |
447 | 446 | | |
448 | 447 | | |
449 | 448 | | |
| |||
0 commit comments