A link starts at one of your POPs, for typed orders too

The map only drags a link from a POP, but buildLink, orderDf and orderCable
read both ends from UI.pending, which the agent API fills from its
arguments. An agent could sign a dark fiber IRU from a city with no POP
(Aracaju got three of them). The three orders now refuse that with a toast,
and their dry-run quotes report it as blocked.

Three tests ordered from a city with no POP (ACT.start ignores city, so the
only POP was Frankfurt); they now open the POP they assumed.
This commit is contained in:
Charlie Allom 2026-11-04 22:45:52 +10:00
parent ac5ce7fa05
commit 3fd44908af
No known key found for this signature in database
15 changed files with 77 additions and 9 deletions

View file

@ -12,6 +12,7 @@
"action_helpers.too_far_even_at_its_slowest":"Demasiado lejos incluso en su ajuste más lento: aquí un tramo óptico mide {span} km y el alcance es de {max} km. Añade un sitio regenerador (Sistema de línea).",
"action_helpers.unlocks_at_customer_level_n":"Se desbloquea en el nivel de cliente {n}.",
"action_helpers.upgrades_cannot_stretch_this_optic":"Este canal llega a {max} km en este cable; la ruta mide {span} km. Las terminales submarinas y la ingeniería óptica no alargan esta óptica. Estas sí llegan: {optics}.",
"action_helpers.you_have_no_pop_in_city":"<b>No tienes ningún POP en {city}.</b><br>Un enlace empieza en uno de tus POP y abre un POP en el otro extremo si hace falta.",
"actions.your_router_can_t_take_a":"<b>Tu router no admite un puerto de {port}.</b><br>Mejóralo en la pestaña Infra.",
"architect.anchor":"🐒 ¡Chof!",
"architect.architect_runs":"Partidas de arquitecto",