The device-registry page said 22 models. It was 1,717. #1123
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!1123
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/catalog-counts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
docs/DEVICE_REGISTRY.mdended with:A true sentence about a catalogue that no longer exists. It is 1,717 models across 245 vendors now, and it has been for a long time — nobody was lying, prose just goes stale and nothing was watching it.
What it says now
…and it states plainly that the directory is authoritative, that
GET /api/catalogis the real list, and that this section is prose which goes stale.And it is watched now
test/doc-catalog-counts.test.jsreads both counts and every table cell out of the document and asserts them against the directory — 1,717 models, 245 vendors, MikroTik 353, Ubiquiti 317, switch 211, and so on. A catalogue addition that does not touch this page now fails a test instead of quietly making the documentation wrong.That is the same lesson as the stale CI docs earlier: a number in prose is a claim, and a claim needs something checking it or it decays.
Full suite: 111 suites, 4968 assertions, 0 failed.