Follow-ups to #276, #277 and #278

Saves clamp a runaway DE-Kicks price and its remembered quote to the ceiling, and a clipped rise announces only what the bill shows.
A PNI steps down only to the smallest size its network sells, so Tier 1 and closed-CDN PNIs stop at 100G.
A trace off the metrics says it shows a customer circuit's path, not where the internet traffic goes.
This commit is contained in:
Frederic Jung 2026-11-04 08:11:03 +01:00
parent c358b715c7
commit 24d865aa57
No known key found for this signature in database
14 changed files with 56 additions and 9 deletions

View file

@ -49,3 +49,14 @@ test('the looking glass has the three route buttons, like a customer circuit, an
assert.equal(ev("UI.trMode"), 'fast', 'Run keeps the mode');
assert.deepEqual(errors, []);
});
test('a trace that does not follow the metrics says it shows a circuit’s path, not the internet traffic’s', () => {
const { ev, dom, errors } = load();
const doc = dom.window.document;
setup(ev);
ev("ACT.trace({city:'fra'})");
assert.doesNotMatch(doc.getElementById('modal').textContent, /follows the metrics/);
[...doc.querySelectorAll('[data-act="traceMode"]')][2].click();
assert.match(doc.getElementById('modal').textContent, /follows the metrics\. This is the path a customer circuit on/);
assert.deepEqual(errors, []);
});