Repository navigation
Commit 97f5c94
committed
fix(mothership): align the one admission fact with the history check after rebase
- one helper names the id a queued entry reuses (its Stop handoff's, else the
withdrawn send's), in the order startSendMessage sends it
- a conflict naming the send's own id is never read as a refusal
- the stored handoff records the flag as it stands, rewritten as the POST
goes out, instead of inferring it from stopRequired
- the Stop-settlement test's handoff carries the flag the hook writes; a
flagless legacy handoff is checked against history before it is resent1 parent 07b32dd commit 97f5c94
4 files changed
Lines changed: 91 additions & 8 deletions
File tree
- apps/sim
- app/workspace/[workspaceId]/home/hooks
- stores/mothership-queue
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1871 | 1871 | | |
1872 | 1872 | | |
1873 | 1873 | | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
1874 | 1919 | | |
1875 | 1920 | | |
1876 | 1921 | | |
| |||
1892 | 1937 | | |
1893 | 1938 | | |
1894 | 1939 | | |
| 1940 | + | |
| 1941 | + | |
1895 | 1942 | | |
1896 | 1943 | | |
1897 | 1944 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
3635 | 3635 | | |
3636 | 3636 | | |
3637 | 3637 | | |
3638 | | - | |
3639 | | - | |
| 3638 | + | |
3640 | 3639 | | |
3641 | 3640 | | |
3642 | 3641 | | |
| |||
3936 | 3935 | | |
3937 | 3936 | | |
3938 | 3937 | | |
| 3938 | + | |
| 3939 | + | |
3939 | 3940 | | |
3940 | 3941 | | |
3941 | 3942 | | |
| |||
4021 | 4022 | | |
4022 | 4023 | | |
4023 | 4024 | | |
4024 | | - | |
| 4025 | + | |
| 4026 | + | |
| 4027 | + | |
| 4028 | + | |
| 4029 | + | |
4025 | 4030 | | |
4026 | 4031 | | |
4027 | 4032 | | |
| |||
5156 | 5161 | | |
5157 | 5162 | | |
5158 | 5163 | | |
5159 | | - | |
| 5164 | + | |
5160 | 5165 | | |
5161 | 5166 | | |
5162 | 5167 | | |
| |||
5358 | 5363 | | |
5359 | 5364 | | |
5360 | 5365 | | |
5361 | | - | |
| 5366 | + | |
5362 | 5367 | | |
5363 | 5368 | | |
5364 | 5369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
33 | 54 | | |
34 | 55 | | |
35 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
54 | 63 | | |
55 | 64 | | |
56 | 65 | | |
| |||
59 | 68 | | |
60 | 69 | | |
61 | 70 | | |
62 | | - | |
63 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
64 | 74 | | |
65 | 75 | | |
66 | 76 | | |
| |||
0 commit comments