Repository navigation
Commit a3a02d3
fix(octopus): keep Intelligent dispatch markers when export/gas rates are fetched (springfall2008#5286)
fetch_octopus_rates() replaced self.io_adjusted on every call, so the export
and gas fetches that follow the import fetch reset it to {} - every
BottlecapDave IOG user with metric_octopus_export or metric_octopus_gas set
lost all is_intelligent_adjusted markers. Regression from springfall2008#2826, which
dropped the old "only when adjust_key is set" guard.
Among other things this left dynamic_load_car_strip_feed_rates() with
nothing to strip, so a car cancelled by springfall2008#5229 still left its dispatch priced
cheap and the house battery was planned into it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent e29898e commit a3a02d3
2 files changed
Lines changed: 30 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3839 | 3839 | | |
3840 | 3840 | | |
3841 | 3841 | | |
3842 | | - | |
| 3842 | + | |
| 3843 | + | |
3843 | 3844 | | |
3844 | 3845 | | |
3845 | 3846 | | |
| |||
3904 | 3905 | | |
3905 | 3906 | | |
3906 | 3907 | | |
3907 | | - | |
| 3908 | + | |
| 3909 | + | |
| 3910 | + | |
| 3911 | + | |
| 3912 | + | |
3908 | 3913 | | |
3909 | 3914 | | |
3910 | 3915 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
207 | 229 | | |
208 | 230 | | |
209 | 231 | | |
| |||
275 | 297 | | |
276 | 298 | | |
277 | 299 | | |
| 300 | + | |
278 | 301 | | |
279 | 302 | | |
280 | 303 | | |
| |||
0 commit comments