docs(cli): the round-trip guard replays 2,207 Ethernet models, not 2,205 #2565
No reviewers
Labels
No labels
blocked-on-build
bug
device
device-request
enhancement
from-github
needs-datasheet
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!2565
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/1124-1147"
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?
What was untrue
docs/CLI.md(hostname section) saidtest/config-roundtrip.test.js"replays the 2,205 models that have an Ethernet port".Evidence from the code
Running the guard on this tree prints:
Measured directly against
devices/registry.js: 2,359 catalogue models, 2,207 with a non-parentethernetinterface, and all 2,207 of those print a non-emptyshow running-config(so the sweep'scheckedcount is the Ethernet count).2,205 was correct when written in
3367120a(#2532) - at that commit the catalogue was 2,358 models and 2,205 had an Ethernet port. The two Arista 7280SR variants added in31bad30d(#2554) moved it to 2,207, and nothing was watching this number the waytest/doc-catalog-counts.test.jswatches the registry pages.Change
One number: 2,205 -> 2,207.
Guards (before == after)
node scripts/syntax-check.js- 567 files, all OKdocs-show-commands(docs-commands) - 7 passed, 95 show forms / 190 commands / 118 legitimate refusalshelp-completeness(help-coverage) - 8 passed, 19 mechanisms, 16 show commandshelp-key-works-in-every-prompt(help-forms) - 10 pass, 0 fail;no-form-help-key- 81 passeddocs-cli-transcript- 9 passed;doc-catalog-counts- 43 passed;doc-citations- 26 passed;document-stamp- 31 passed;check-control-bytes- cleanNot touched: the sibling clause "which is why four catalogue models needed a legal name seeded", which appears verbatim in the test's own comment and understates the seeding (54 catalogue models, 53 of them swept, have a model string longer than 63 characters). Correcting it means editing the code comment too, so it belongs in its own run.