Repository navigation
Commit 57b7b4a
fix(gateway): stop an armed export when its window move is refused; no re-poll of a refusal
- When the paired window write fails while scheduled export is already
enabled, turn the schedule off and return to Eco instead of leaving
the previous window exporting on a plan that has moved away from it
(skipped in read-only mode).
- A refusal of the exact paired command ends the attempt immediately:
the poll stops when it arrives, and a retry inside the ack window is
not published (_send_control would suppress it anyway), so a refused
write no longer holds the engine for the full poll timeout per retry.
- Drop the unreachable end-serial comparison (the end entity name is
derived from the start, so it carries the same serial) and name the
test case after what it exercises.
- Document that an exception inside a running event loop reaches the
caller as None via run_async's thread, not as an exception.
- Test the write/moved counters for the paired path.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018BaJjLpuMEtQYfvmTRcFJf1 parent 529e6f8 commit 57b7b4a
3 files changed
Lines changed: 80 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2675 | 2675 | | |
2676 | 2676 | | |
2677 | 2677 | | |
2678 | | - | |
2679 | | - | |
2680 | | - | |
| 2678 | + | |
2681 | 2679 | | |
2682 | | - | |
2683 | | - | |
| 2680 | + | |
| 2681 | + | |
2684 | 2682 | | |
2685 | | - | |
| 2683 | + | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
2686 | 2687 | | |
| 2688 | + | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
| 2700 | + | |
2687 | 2701 | | |
2688 | 2702 | | |
2689 | 2703 | | |
2690 | | - | |
| 2704 | + | |
2691 | 2705 | | |
2692 | | - | |
2693 | | - | |
| 2706 | + | |
| 2707 | + | |
| 2708 | + | |
| 2709 | + | |
| 2710 | + | |
| 2711 | + | |
| 2712 | + | |
| 2713 | + | |
| 2714 | + | |
| 2715 | + | |
| 2716 | + | |
| 2717 | + | |
2694 | 2718 | | |
2695 | 2719 | | |
2696 | 2720 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2969 | 2969 | | |
2970 | 2970 | | |
2971 | 2971 | | |
| 2972 | + | |
| 2973 | + | |
2972 | 2974 | | |
2973 | 2975 | | |
2974 | 2976 | | |
2975 | 2977 | | |
2976 | | - | |
| 2978 | + | |
| 2979 | + | |
| 2980 | + | |
2977 | 2981 | | |
| 2982 | + | |
| 2983 | + | |
2978 | 2984 | | |
2979 | 2985 | | |
2980 | 2986 | | |
| |||
3099 | 3105 | | |
3100 | 3106 | | |
3101 | 3107 | | |
| 3108 | + | |
| 3109 | + | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
3102 | 3115 | | |
3103 | 3116 | | |
3104 | 3117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
143 | 173 | | |
144 | 174 | | |
145 | 175 | | |
| |||
166 | 196 | | |
167 | 197 | | |
168 | 198 | | |
169 | | - | |
| 199 | + | |
170 | 200 | | |
171 | | - | |
| 201 | + | |
172 | 202 | | |
173 | 203 | | |
174 | 204 | | |
175 | 205 | | |
176 | 206 | | |
177 | 207 | | |
| 208 | + | |
178 | 209 | | |
179 | 210 | | |
180 | 211 | | |
| |||
0 commit comments