seriesoftubes/tests
Christopher Hawker 0bf27a66c7 A plug-in optic too short for a subsea cable is no longer sent to upgrades that cannot stretch it (closes #253)
On an own subsea cable, the hint under an optic that cannot reach the route
said "Consider submarine terminals or optical engineering" for every optic.
Those upgrades only lengthen the Sienna WaveMagic 1.6T and 3.2T transponder
modes (optModes()); the 400ZR+ and 800ZR+ plug-ins gain nothing, also with
both upgrades in service. Perth to Cape Town (8,891 km) showed it: 800ZR+
reaches 5,400 km and the advice was to buy $17M of upgrades that change
nothing.

chWhy() now asks whether the optic would reach with both upgrades in service
(withSubUps()). If so, the advice stays. If not, the hint says the upgrades do
not stretch this optic and names the optics that do reach the route. A
consortium seat and a leased line keep their own message.
2026-11-01 23:03:47 +11:00
..
fixtures Performance benchmark on a big network, posted on every PR 2026-10-26 06:39:23 +01:00
helpers Prefer keeps the say at its own POP only, and the direct ranks stop slowing the game day 2026-11-01 20:07:23 +11:00
any-home-city.test.js Title screen: language first, name on top, compact presets, one home-city drawer 2026-10-29 11:31:46 +01:00
architect.test.js Puzzle list: each section counts its own stars (#231) 2026-10-31 07:25:57 +01:00
automation.test.js Tests: #185 sales and repair run as standing orders; batches open from the Ops sheet 2026-10-28 17:46:16 +01:00
backbone-core.test.js Backbone rewards: L3VPN, flex-algo and slice customers, fast reroute, interop lab, four badges 2026-10-31 09:20:49 +01:00
badges-variants.test.js Badge upgraded toast follows the collection on this device 2026-10-28 19:34:41 +01:00
build.test.js Translations keyed by labels instead of English text 2026-10-27 11:05:09 +01:00
cable-labels.test.js Merge #214-#217: Manila, Cebu and Davao (fmcglinn) 2026-10-31 14:11:12 +01:00
cable-ships.test.js A waiting subsea cut offers a charter only when it beats waiting for the club's first ship home 2026-11-01 11:52:42 +00:00
cache-ports.test.js 400G cache boxes behind 400G or faster router ports 2026-11-01 11:37:34 +01:00
capacity-deals.test.js Merge #156: look fiber customers up by link id (huguesdelamure) 2026-10-27 20:34:01 +01:00
chaos-monkey.test.js NOC notices that would open the NOC get no Open button (#226) 2026-10-31 07:31:22 +01:00
city-size.test.js Map: cities show their size, and crowded small ones step back to a dot 2026-10-31 11:36:48 +01:00
compute-idempotent.test.js Billing: a recompute after the day tick no longer counts today's 95th-percentile sample twice 2026-10-28 20:42:08 +01:00
ddos-floods.test.js DDoS rework: tests for the new model, Flood Season and its weekly at level 4, routing reference fix 2026-10-31 12:51:15 +01:00
ddos-model.test.js DDoS rework: tests for the new model, Flood Season and its weekly at level 4, routing reference fix 2026-10-31 12:51:15 +01:00
direct-egress.test.js Prefer keeps the say at its own POP only, and the direct ranks stop slowing the game day 2026-11-01 20:07:23 +11:00
durations.json tests/durations.json: seconds per test file, so the four CI parts take about the same time 2026-10-31 14:23:42 +01:00
eyeballs.test.js Tests, CHANGELOG and docs for the peering desk 2026-10-29 21:41:28 +01:00
fiber-broker.test.js Consortium seats take regen sites; the broker sells listings as the market wants (#203) 2026-10-31 08:32:05 +01:00
find-city.test.js Find a city: a search box in the HUD and on / that jumps the map there (closes #218) 2026-10-31 13:57:35 +01:00
focus-link.test.js Inspecting a link moves the map to it 2026-10-31 14:53:11 +00:00
game.test.js Restore what the merge from main dropped from the carrier's own transit port 2026-10-31 23:28:30 +11:00
gameplay-rules.test.js Cable ships: club repair ships sail out to subsea cuts, private charters jump the queue, lay ships build your cables 2026-11-01 11:24:53 +00:00
gangnam.test.js Tests: Gangnam reference hauls from Tokyo; Seoul-only, Tokyo-only and the old plan fail 2026-10-29 20:59:17 +01:00
glowball-sakura-lager.test.js Save slots: several networks per browser, one per window, with a cross-window guard 2026-10-28 20:52:47 +01:00
harness.js Save slots: tests for migration, two windows, take-over, stale writes, delete, import/export, puzzles 2026-10-29 07:05:11 +01:00
i18n.test.js Backbone technology: plain IGP, LDP, RSVP-TE, SR-MPLS, SRv6; two new RSVP-TE routers 2026-10-31 08:27:31 +01:00
islands-and-arctic.test.js Caribbean, Indian Ocean, Pitcairn, Alaska and Russia's Far East; more US and Australian eyeballs (#125, #152, #124, #145, #155, #154) 2026-10-27 21:34:09 +01:00
issues.test.js DDoS rework: tests for the new model, Flood Season and its weekly at level 4, routing reference fix 2026-10-31 12:51:15 +01:00
language-picker.test.js Save slots: several networks per browser, one per window, with a cross-window guard 2026-10-28 20:52:47 +01:00
latency.test.js Fix the padded yellow progress bars 2026-10-27 20:42:12 +01:00
levels.test.js Router trade-ins, one swap a day, and speed-based requirements (#82) 2026-10-25 21:49:51 +01:00
link-metrics.test.js Put a link on standby; the routing metric stays per city pair (#122) 2026-10-28 07:11:47 +01:00
link-trial.test.js Redundancy check routes once, against the live routing (#62) 2026-10-28 19:47:19 +01:00
load-time.test.js Requirements: build the possible-diversity map on city indices 2026-10-29 07:05:23 +01:00
metric-panel.test.js Custom metric panel updates on Safari after switching multiplier and cost (#131) 2026-10-28 19:38:55 +01:00
modes.test.js DDoS rework: tests for the new model, Flood Season and its weekly at level 4, routing reference fix 2026-10-31 12:51:15 +01:00
more-cables.test.js Subsea cables stay at sea: fix the date-line wrap and routes across land (#183) 2026-10-28 06:17:39 +01:00
moscow-premium.test.js China Telecomet's premium crossing in Moscow, at the Hong Kong price (#195) 2026-10-28 14:13:15 +01:00
networks-list.test.js The Networks list shows 100 networks at a time 2026-10-29 11:13:59 +01:00
new-game-speed.test.js Save slots: several networks per browser, one per window, with a cross-window guard 2026-10-28 20:52:47 +01:00
optic-counts.test.js A fiber given up keeps its optics: they go on the spares shelf (#229) 2026-10-31 07:15:35 +01:00
own-asn.test.js Pick your own AS number next to the name; a round green arrow for another name (#135) 2026-10-29 18:59:07 +01:00
pages.test.js Ship short ids instead of labels; checker, tests and docs for labels 2026-10-27 11:27:11 +01:00
peering-desk.test.js Tests, CHANGELOG and docs for the peering desk 2026-10-29 21:41:28 +01:00
peering.test.js Connections overview prices 400G cache boxes right; tests pin 100G boxes where they mean them 2026-11-01 12:06:20 +01:00
perf.test.js Split the game page into partials under src/, assembled into one index.html at build 2026-10-27 10:05:56 +01:00
persist.test.js Save slots: several networks per browser, one per window, with a cross-window guard 2026-10-28 20:52:47 +01:00
philippines.test.js Philippines: Cebu and Davao get connectivity estimates, RISE & Shine stays off the Pacific route, W44 par 2026-10-31 15:00:26 +01:00
pni-all.test.js Bulk PNI test fills the ports now that caches share them (#252) 2026-11-01 11:32:29 +01:00
pni-global.test.js Backbone technology: plain IGP, LDP, RSVP-TE, SR-MPLS, SRv6; two new RSVP-TE routers 2026-10-31 08:27:31 +01:00
pni-list.test.js PNI list: tests and changelog (#175, #172) 2026-10-29 19:07:44 +01:00
pnis-and-sold-out.test.js Sold-out wave sizes can't be reached by upgrading a smaller wave (#201) 2026-10-30 18:21:14 +01:00
pop-standard.test.js A standard POP: new POPs get the standard router model and count at once (closes #240) 2026-11-01 11:32:29 +01:00
puzzle-monkey.test.js Puzzles: the chaos monkey acts out the N-1 star in every puzzle 2026-10-30 12:24:53 +01:00
puzzles.test.js Puzzles: show one trench or separate paths on the map in every puzzle 2026-10-30 13:15:38 +01:00
regions.test.js Clarovision peers only over paid PNIs (closes #213) 2026-11-01 11:32:28 +01:00
release-story.test.js Release notes: a story for big releases, and the 2.0 story 2026-10-30 16:28:19 +01:00
report-link.test.js Test the menu's small GitHub and chat links 2026-10-29 21:40:19 +01:00
router-art.test.js Routers: the picture in the POP overview's header, left of the city name 2026-10-30 15:48:49 +01:00
routers-per-pop.test.js Allow up to 16 routers per POP, with a cage extension past six (#157) 2026-10-27 18:48:58 +01:00
routing-reference.test.js Prefer keeps the say at its own POP only, and the direct ranks stop slowing the game day 2026-11-01 20:07:23 +11:00
rules-locked.test.js Saves get the rules of their mode, whatever their rules say 2026-10-29 07:01:18 +01:00
rules.test.js Tests, CHANGELOG and docs for the peering desk 2026-10-29 21:41:28 +01:00
sales-trial.test.js Sales trial: run the pass with the offer first, and skip the other when it cannot change the answer 2026-10-28 19:14:51 +01:00
save-size.test.js Save slots: several networks per browser, one per window, with a cross-window guard 2026-10-28 20:52:47 +01:00
save-slots.test.js Save slots: tests for migration, two windows, take-over, stale writes, delete, import/export, puzzles 2026-10-29 07:05:11 +01:00
scenarios-playtest.test.js DDoS rework (#242): world-sized floods on customers, spread over every port, RTBH per target, Flowspec rule budgets, magnet scrubbing, new NOC card 2026-10-31 12:20:14 +01:00
sea-optic-hint.test.js A plug-in optic too short for a subsea cable is no longer sent to upgrades that cannot stretch it (closes #253) 2026-11-01 23:03:47 +11:00
sea-routing.test.js Sea routing: Suez and Panama crossings, great circles, fastest design back on par 2026-10-26 22:13:16 +01:00
services.test.js Rework DDoS generation, mitigation accounting and NOC reporting 2026-10-27 13:00:57 +00:00
specialist.test.js Tests for specialist play, and gameplay rule F3: specialist paths only bring servable customers 2026-10-29 19:12:44 +01:00
speed.test.js Backbone technology: plain IGP, LDP, RSVP-TE, SR-MPLS, SRv6; two new RSVP-TE routers 2026-10-31 08:27:31 +01:00
standing-orders.test.js 400G cache boxes behind 400G or faster router ports 2026-11-01 11:37:34 +01:00
subsea-upgrade-timing.test.js Cable ships: club repair ships sail out to subsea cuts, private charters jump the queue, lay ships build your cables 2026-11-01 11:24:53 +00:00
supply.test.js Supply chain: hardware prices drift up, shortages come and go, spares and price locks 2026-10-27 09:25:47 +01:00
tier1-cone.test.js Only Spätzle-IX asks for 50% reach, now that Tier 1 cones count 2026-10-28 19:37:40 +01:00
useless-subsea-upgrades.test.js Submarine upgrades that change nothing on a cable can't be bought (#198) 2026-10-29 01:57:32 +00:00
utilities-caches.test.js Free caches scale with demand: more boxes once one per site is not enough (closes #248) 2026-10-31 15:57:46 +01:00
utilities.test.js Tests, CHANGELOG and docs for the peering desk 2026-10-29 21:41:28 +01:00
weekly-architect.test.js Weekly Architect runs: sites outgrow their tubes, and a countdown 2026-10-30 14:07:45 +01:00
weekly-puzzle.test.js Weekly puzzle: schema 2 with traffic, sized references, regenerated weeks 2026-10-29 10:50:04 +01:00
weekly-scenario.test.js DDoS rework: tests for the new model, Flood Season and its weekly at level 4, routing reference fix 2026-10-31 12:51:15 +01:00