Repository navigation
Commit 8db5cc9
fix(provision-kit): look for new rentals before a teardown forgets its lease
The seeded sweep, extended to starts that publish their device early,
found a teardown that awaited its stops, found none owed, and then
forgot the lease even though the start had recorded a rental meanwhile:
shutdown resolved with that device still rented (seed 92). The teardown
now re-checks synchronously for an unnamed or unstopped rental before
it forgets the lease, and loops if one appeared.
The sweep now publishes some devices before their start answers, does
not rent a published device twice, and accepts a shutdown report that
names a still-unnamed rental by its lease.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 0ae8a27 commit 8db5cc9
2 files changed
Lines changed: 24 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
| |||
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
89 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
90 | 99 | | |
91 | 100 | | |
92 | 101 | | |
| |||
106 | 115 | | |
107 | 116 | | |
108 | 117 | | |
109 | | - | |
| 118 | + | |
| 119 | + | |
110 | 120 | | |
111 | 121 | | |
112 | 122 | | |
| |||
128 | 138 | | |
129 | 139 | | |
130 | 140 | | |
131 | | - | |
| 141 | + | |
| 142 | + | |
132 | 143 | | |
133 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
134 | 148 | | |
135 | 149 | | |
136 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 6 | + | |
| 7 | + | |
13 | 8 | | |
14 | 9 | | |
15 | 10 | | |
| |||
544 | 539 | | |
545 | 540 | | |
546 | 541 | | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
547 | 545 | | |
548 | 546 | | |
549 | 547 | | |
| |||
0 commit comments