Commit 4d4e1a9
fix: populate replica info for hc-opt-out routes in check_running_routes
The hc_pairs filter was gating ``routes_missing_replica`` as well, so
revisions that omit ``service.health_check`` never had their
``replica_host``/``replica_port`` populated. ``sync_appproxy`` would
then reject them indefinitely with "no replica connection info to
sync", breaking the BA-5985 promise that opt-out routes start
receiving traffic as soon as they reach RUNNING.
Split the two phases:
- Replica population now runs over all session-verified successes,
hc-agnostic, since AppProxy registration needs host/port regardless
of probing policy.
- RouteHealthRecord initialization stays hc-gated — opt-out revisions
never get probed, so they don't need a Valkey record.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 5ce60f7 commit 4d4e1a9
1 file changed
Lines changed: 16 additions & 12 deletions
Lines changed: 16 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
| 258 | + | |
| 259 | + | |
267 | 260 | | |
268 | | - | |
269 | | - | |
| 261 | + | |
| 262 | + | |
270 | 263 | | |
271 | 264 | | |
272 | 265 | | |
273 | 266 | | |
274 | 267 | | |
275 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
276 | 280 | | |
277 | 281 | | |
278 | 282 | | |
| |||
0 commit comments