Commit graph

735 commits

Author SHA1 Message Date
Frederic Jung
2cb22ad3c4
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
Frederic Jung
bdbb8b4393
Realistic DDoS, city search and city sizes on the map (2.2.0) 2026-10-31 14:13:42 +01:00
Frederic Jung
a8fa75411c
Merge #214-#217: Manila, Cebu and Davao (fmcglinn)
Adapted to main: Globe is main's Globe-Trotter Telecom (now a Philippine
carrier in Cebu and Davao) instead of a second AS4775, the new Philippine
networks buy transit from NTT and Tata like main's other island networks,
cities and networks carry their country, and Philippine transit sits in the
new pricing. Cable names no longer pile up where short cables crowd.
2026-10-31 14:11:12 +01:00
Frederic Jung
2d1f48f3e6
CI: tests in four parts on four runners, every core in use, older PR runs cancelled
npm test ran every file one after another (--test-concurrency=1, from when there were three files). It now runs as many files at once as there are cores (TEST_JOBS=1 for the old way), and --shard i/n picks one of n parts of about equal time, balanced by tests/durations.json (npm run test:timings). CI runs four parts and the build side by side; a final 'test' job is green only when all are, so the check keeps its name. A newer push to a PR cancels the older run.
2026-10-31 14:11:02 +01:00
Frederic Jung
63a332947b
Merge #246: Transit headroom: an Already connected provider choice (#227)
Transit headroom: an Already connected provider choice (#227)
2026-10-31 14:10:27 +01:00
Frederic Jung
7756d89d41
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
Christopher Hawker
9dc8aac45a Merge remote-tracking branch 'upstream/main' into own-carrier-egress
# Conflicts:
#	CHANGELOG.md
#	src/game/80-simulation/30-compute.js
#	tests/game.test.js
2026-10-31 23:57:19 +11:00
Frederic Jung
0402cf5845
Merge remote-tracking branch 'origin/main' into claude/fix-227
# Conflicts:
#	CHANGELOG.md
#	tests/standing-orders.test.js
2026-10-31 13:51:12 +01:00
Frederic Jung
d50fc201bb
Merge #245: The intern's PNI order counts the traffic the PNI list shows (#244)
The intern's PNI order counts the traffic the PNI list shows (#244)
2026-10-31 13:48:44 +01:00
Frederic Jung
318db6bed0
Transit headroom: an Already connected provider choice (#227)
With Cheapest the intern signs whoever is cheapest (often Cogentle), and a named provider only ever grows that one port, so a second upstream never grew. Already connected only grows the transit you already buy at each POP, the smallest port first (ties: the cheaper), and never signs a new provider. The default stays Cheapest, so saves behave as before. One new label in all six languages.
2026-10-31 13:34:30 +01:00
Frederic Jung
48356c0179
The intern's PNI order counts the traffic the PNI list shows (#244)
The threshold compared the city's whole eyeball demand times the network's traffic share, so a network whose cache boxes in that POP serve most of it (NetChill) looked far bigger than the PNI list said. It now uses pniVal(net,city).want: what your users there send over transit, an exchange or a PNI elsewhere, from live routing.
2026-10-31 13:29:23 +01:00
Christopher Hawker
d9868a3757 Restore what the merge from main dropped from the carrier's own transit port
The merge kept main's version of compute(), the link actions and panels, the
traceroute exit list and the CHANGELOG, so the city panel called a carryCtl()
that no longer existed and routing never ranked a carrier's own port. Put the
ranking back into compute() on top of the current rank lists and island split,
along with setCarry, carryCtl, the traceroute carry flag, the reference loop in
the routing test and the CHANGELOG bullet. Drop a stale label main had removed
and sort the dictionaries.

The tests follow main too: saves are read from their slot, RouteScript needs
the core to run, Not That Telecom stands in for Cogentle (whose share is now
small), and the flood test uses a smaller sacrificial PNI and IX flood because
a carrier's own traffic now takes its share of the one transit port first.
2026-10-31 23:28:30 +11:00
Frederic Jung
31af9e3ff5
Code of conduct: jokes target networks, cables and routers 2026-10-31 13:24:36 +01:00
Frederic Jung
3e7bbdffad
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
Frederic Jung
72fb233af7
DDoS rework (#242): world-sized floods on customers, spread over every port, RTBH per target, Flowspec rule budgets, magnet scrubbing, new NOC card
Work in progress: the full test suite is still being brought in line.
2026-10-31 12:20:14 +01:00
thesysadmindev
296de1d946
Merge branch 'main' into own-carrier-egress 2026-10-31 22:16:55 +11:00
Frederic Jung
f5f56d29c0
Merge #243: Map: cities show their size, and crowded small ones step back to a dot
Map: cities show their size, and crowded small ones step back to a dot
2026-10-31 11:56:15 +01:00
Frederic Jung
cb90e735fd
Map: cities show their size, and crowded small ones step back to a dot
Five sizes from a city's eyeballs (P: under 15, 100, 350, 800 and up). Far view: dots grow with size and megacities glow. Near view: the skyline goes from a hut to five towers with an antenna. cityRoom() lets the selected city, your POPs and cities with an offer, outage or puzzle part claim space first, then the biggest; a city with no room is a small dot without a label until you zoom in, still tappable. IX tags for exchanges you haven't joined are smaller, and on outposts and towns only from zoom 1.5. Phones draw city icons at 82% (taps unchanged).
2026-10-31 11:36:48 +01:00
Frederic Jung
e1a6a582fa
Backbone technology, backbone customers, regen sites and capacity broker (2.1.0) 2026-10-31 11:00:53 +01:00
Frederic Jung
64d71adc35
Merge branch 'feat/backbone-tech' 2026-10-31 10:16:00 +01:00
Frederic Jung
251baf5894
Merge feat/backbone-tech: backbone technology levels 2026-10-31 10:16:00 +01:00
Frederic Jung
99c18bdf7a
Backbone rewards: L3VPN, flex-algo and slice customers, fast reroute, interop lab, four badges 2026-10-31 09:20:49 +01:00
Frederic Jung
73f0a4af72
Extremely Networks SLX 9740: the energy drink cartoon 2026-10-31 08:36:51 +01:00
Frederic Jung
662fd98d69
Translations for the broker listings and seat regen sites 2026-10-31 08:32:11 +01:00
Frederic Jung
43938083d4
Consortium seats take regen sites; the broker sells listings as the market wants (#203)
A seat bought at level 2 or 3 could not be lit: early optics do not reach across an
ocean. Seats can now regenerate in the landing stations along their cable.

A capacity broker listing is now standing: list some alien waves or the spare pair
and they sell over time as carriers on that route want capacity. Each route's market
is sized by the eyeballs at both ends (a landing town counts the city it serves), and
rented capacity, from the broker or a random offer, never outgrows it. Gameplay
rule F5.
2026-10-31 08:32:05 +01:00
Frederic Jung
70676d7bfb
Backbone technology: plain IGP, LDP, RSVP-TE, SR-MPLS, SRv6; two new RSVP-TE routers
Each router is classed by the highest backbone it runs and has a vendor. Upgrades
are paid one step at a time and any level paid for can run. Higher levels use
less router CPU, label switching makes pass-through traffic cheaper, Auto-TE and
RouteScript need RSVP-TE or above, and POPs whose routers can't run the backbone
stay outside it. Mixed vendors at the top of what their routers can do get
interop failures. Saves with Auto-TE keep the old rules; puzzles, Architect and
scenarios are unaffected.
2026-10-31 08:27:31 +01:00
Frederic Jung
664dd24bbd
Merge #239: NOC notices that would open the NOC get no Open button (#226 follow-up)
NOC notices that would open the NOC get no Open button (#226 follow-up)
2026-10-31 07:51:57 +01:00
Frederic Jung
2c60af18cc
Merge remote-tracking branch 'origin/main' into claude/noc-open
# Conflicts:
#	CHANGELOG.md
2026-10-31 07:50:21 +01:00
Frederic Jung
e7518507ae
Merge #238: Puzzle list: each section counts its own stars (#231)
Puzzle list: each section counts its own stars (#231)
2026-10-31 07:42:19 +01:00
Frederic Jung
11d6d195e7
Merge remote-tracking branch 'origin/main' into claude/fix-231
# Conflicts:
#	CHANGELOG.md
2026-10-31 07:40:12 +01:00
Frederic Jung
59928d6f8c
Merge #237: The intern's notes name the exchanges it peered at (#228)
The intern's notes name the exchanges it peered at (#228)
2026-10-31 07:38:52 +01:00
Frederic Jung
caa979a671
Merge remote-tracking branch 'origin/main' into claude/fix-228
# Conflicts:
#	CHANGELOG.md
2026-10-31 07:37:43 +01:00
Frederic Jung
3aab9f1d73
Merge #236: A fiber given up keeps its optics: they go on the spares shelf (#229)
A fiber given up keeps its optics: they go on the spares shelf (#229)
2026-10-31 07:36:28 +01:00
Frederic Jung
2b31bd5632
Merge remote-tracking branch 'origin/main' into claude/fix-229
# Conflicts:
#	CHANGELOG.md
2026-10-31 07:34:34 +01:00
Frederic Jung
dc89369c2a
NOC notices that would open the NOC get no Open button (#226)
The notice list is the NOC tab, so a target of tab:noc did nothing. #232 gave the shift report a real target; the chaos monkey's arrival still pointed at the NOC, where its own card already is. logSection() now leaves the button off for that target, whatever posts it.
2026-10-31 07:31:22 +01:00
Frederic Jung
d9f3cede11
Merge #235: Big networks: skip exits behind a full path when routing (#210)
Big networks: skip exits behind a full path when routing, a game day 40% faster (#210)
2026-10-31 07:26:43 +01:00
Frederic Jung
4edd760ff6
Puzzle list: each section counts its own stars (#231)
The 'Your stars' box at the top counted only the puzzle packs, yet sat above the architect runs and the weekly puzzle. It moves right above the packs as 'Stars from the packs' (what unlocks the next pack), and the architect runs header shows its own total like a pack does. Weekly rows already show their stars. One label renamed in all six languages.
2026-10-31 07:25:57 +01:00
Frederic Jung
6021439fe6
The intern's notes name the exchanges it peered at (#228)
opsWhere checked isCity() first, and a city's first exchange has the city's id (lon is LYNX), so 'Apfelwein-IX, London' meant Apfelwein-IX and LYNX. Peering entries are always exchanges: opsLine and opsWeekLine now pass the kind and name them with ixName(). Saved reports read right without migration.
2026-10-31 07:19:18 +01:00
Frederic Jung
2d61c09219
A fiber given up keeps its optics: they go on the spares shelf (#229)
rmLink (a cancelled IRU, your own fiber or a called-off cable) and decommission() dropped links with their channels still plugged in. chBack() puts each optic on the shelf, the same as unplugging it by hand, and a note says how many. One new plural label, in all six languages.
2026-10-31 07:15:35 +01:00
Frederic Jung
928d6f0111
Routing reference skips exits behind a full path too; #210 test checks the answer; CHANGELOG for players
The reference loop now states the rule #225 adds to compute(): without Auto-TE an exit whose shortest path is already full fits nothing, like a full exit. With the same rule both match bit for bit; before, only float rounding differed (at most 3.6e-14 relative), because the ECMP split no longer counts a dead exit's room.
2026-10-31 07:10:27 +01:00
Wesley Marques
8c2dd05d0b
Skip saturated paths during candidate exit scan to prevent routing freezes (#210) 2026-10-31 07:08:31 +01:00
Frederic Jung
59757c2256
Merge #232: The intern's shift report opens the Standing orders sheet (#226)
The intern's shift report opens the Standing orders sheet (#226)
2026-10-31 07:03:23 +01:00
Frederic Jung
198c636442
The intern's shift report opens the Standing orders sheet (#226)
Its NOC notification pointed at the NOC tab, where the notification already
is, so Open did nothing. It now opens the Ops sheet, which holds the report.
2026-10-31 01:44:46 +00:00
Frederic Jung
2d7aff4956
Merge #204: Submarine upgrades that change nothing on a cable can't be bought (#198)
Submarine upgrades that change nothing on a cable can't be bought (#198)
2026-10-30 19:51:19 +01:00
Frederic Jung
816de9b5ec
Merge remote-tracking branch 'origin/main' into claude/fix-198
# Conflicts:
#	CHANGELOG.md
2026-10-30 19:48:22 +01:00
Frederic Jung
7de22c2180
Merge #221: Sold-out wave sizes can't be reached by upgrading a smaller wave (#201)
Sold-out wave sizes can't be reached by upgrading a smaller wave (#201)
2026-10-30 19:48:09 +01:00
Frederic Jung
41e1a62983
Merge remote-tracking branch 'origin/main' into claude/fix-201
# Conflicts:
#	CHANGELOG.md
2026-10-30 19:46:26 +01:00
Frederic Jung
a4aa48c401
Merge #220: Both on a one-member PNI splits the LAG when the augment lands (#219)
Both on a one-member PNI splits the LAG when the augment lands (#219)
2026-10-30 19:45:59 +01:00
Frederic Jung
97c328dce6
Tests: the #219 panel check lives in the #219 test, #69 untouched 2026-10-30 18:35:01 +01:00
Frederic Jung
5f2dd38d2d
Both on a one-member PNI splits the LAG when the augment lands (#219)
A PNI's second member is an augment that arrives months later, so siteSet returned before setting the site and the new member joined the first building. The augment now carries site 'ab' (kept by sanitize), applies it on delivery if the POP still has two sites, and the panel shows Both as chosen while it is on order. Choosing A or B meanwhile drops the intent.
2026-10-30 18:25:12 +01:00