Repository navigation
Commit 1093d78
fix(lgtm-datamesh): retry gateway queries across KEDA scale-down races
Follow-up to 764aa3f, from a full-suite re-run: the gateway's
HTTPScaledObject has scaledownPeriod 30s, so a helm rollout gate passing
is no guarantee a pod is still there seconds later — three more smokes
raced it:
- smoke-discovery: the one-shot wake checked availableReplicas at one
instant; the pod could vanish between that check and the SDL fetch.
Retry the whole publish step (idempotent) with re-wake + port-forward
re-attach, up to 3 attempts.
- smoke-graphql: the stitched query hit a dead pinned port-forward the
first time it ever ran with the HTTPScaledObject present. Same
re-wake + re-attach retry.
- smoke-trace-flow: goes through the interceptor by design, but the
0.12.2 interceptor's cold-start race (CAP-046) can 502 the first
POSTs after a scale-from-zero. Retry the query up to 5 times.
Verified live with the scaler active: smoke-graphql recovered after two
dead-tunnel attempts, smoke-trace-flow after one 502; smoke-discovery
passes with the guard in place.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 764aa3f commit 1093d78
3 files changed
Lines changed: 51 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
118 | 134 | | |
119 | 135 | | |
120 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
112 | 127 | | |
113 | 128 | | |
114 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
90 | 99 | | |
91 | 100 | | |
92 | 101 | | |
| |||
0 commit comments