Skip to content

ci: smoke dual-stack DrawIO via Import-Inventory - #80

Merged
jacobyoby merged 1 commit into
mainfrom
cursor/ci-smoke-import-inventory-f33e
Sep 9, 2026
Merged

jacobyoby merged 1 commit into
mainfrom
cursor/ci-smoke-import-inventory-f33e

Conversation

@jacobyoby

@jacobyoby jacobyoby commented Sep 9, 2026 •

Copy link
Copy Markdown
Owner

Closes #75.

Problem

#67 added IPv6 DrawIO smoke, but it still bypassed Import-Inventory with a hand-built topology JSON + Import-Topology. After #68, the packaged smoke gate should exercise the real dual-stack import path.

Change

  • Write dual-stack inventory JSON (v4 + v6 node and subnet).
  • Import-Inventory → Export-DrawIO.
  • Assert both family IPs appear in the XML, UserObjects exist, and the IPv6 node is parented into a subnet container.
  • Offline / no live network. Existing IPv4 inventory + Compare-NetworkScans path unchanged.

Out of scope

Gallery release (#76), MCP, feature code outside smoke/CI.

Verification

  • Local: ./tests/run-tests.sh — 162 passed, 0 failed (pwsh 7.6.6 / Pester 6.2.0).
  • Local smoke excerpt: inventory JSON → Import-Inventory → Export-DrawIO; both 10.0.0.1 and 2001:db8::10 in XML; IPv6 parent=5.
  • CI: 7/7 green — https://github.com/jacobyoby/PSNetMap/actions/runs/34400754537
    • Packaged smoke ubuntu / macos / windows each logged Export-DrawIO dual-stack Import-Inventory OK with v6 parent=5.
Open in Web Open in Cursor 

Replace the hand-built Import-Topology IPv6 path with inventory JSON
(v4 + v6 node/subnet) through Import-Inventory → Export-DrawIO so the
packaged smoke gate exercises #68. Assert both family IPs in XML.

Closes #75.

Co-authored-by: Jacobrakai <jacobyoby@users.noreply.github.com>
@jacobyoby
jacobyoby marked this pull request as ready for review September 9, 2026 20:24
@jacobyoby
jacobyoby merged commit f84bd6b into main Sep 9, 2026
7 checks passed
@jacobyoby
jacobyoby deleted the cursor/ci-smoke-import-inventory-f33e branch September 9, 2026 20:25
jacobyoby added a commit that referenced this pull request Sep 9, 2026
Bump the manifest and loader version to 1.4.0, refresh Gallery
ReleaseNotes (and add a NetBox tag), and roll CHANGELOG [Unreleased]
into a dated 1.4.0 section covering #55–#80. Gallery publish and the
v1.4.0 tag stay out of band after merge.

Closes #76 for the version/docs cut.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Jacobrakai <jacobyoby@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI smoke: Import-Inventory dual-stack DrawIO path

2 participants