Commit 889aedf
committed
Add
Sometimes, Homu will leave an unstructured comment on a pull request,
like:
:emoji: Something happened!
Other times, Homu will leave a structured comment, which is some text
followed by a hidden JSON blob, like:
:emoji: Something happened!
<!-- homu: {"type":"SomethingHappened","arg1":"value"} -->
This commit converts the "approved", "delegated", and "approval ignored
because the pull request is a WIP" messages from unstructured to
structured.
Having more of our comments be structured may help us perform better
startup synchronization in the future, because we can better inspect
what Homu thought its state was before it was restarted.Approved and Delegated structured comments1 parent 0c36bc4 commit 889aedf
2 files changed
+68
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
21 | 73 | | |
22 | 74 | | |
23 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
507 | 504 | | |
508 | 505 | | |
509 | 506 | | |
| |||
565 | 562 | | |
566 | 563 | | |
567 | 564 | | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
576 | 569 | | |
577 | 570 | | |
578 | 571 | | |
| |||
620 | 613 | | |
621 | 614 | | |
622 | 615 | | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
627 | 620 | | |
628 | 621 | | |
629 | 622 | | |
| |||
640 | 633 | | |
641 | 634 | | |
642 | 635 | | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
647 | 640 | | |
648 | 641 | | |
649 | 642 | | |
| |||
0 commit comments