Skip to content

feat(api-model): parse UEFI device paths with 1..N PCI nodes#1977

Open
s3rj1k wants to merge 1 commit into
NVIDIA:mainfrom
s3rj1k:feat/uefi-multi-pci-parser
Open

feat(api-model): parse UEFI device paths with 1..N PCI nodes#1977
s3rj1k wants to merge 1 commit into
NVIDIA:mainfrom
s3rj1k:feat/uefi-multi-pci-parser

Conversation

@s3rj1k
Copy link
Copy Markdown

@s3rj1k s3rj1k commented May 28, 2026

Description

The site-explorer UEFI device-path parser assumed exactly two Pci() nodes, so root-port (PciRoot/Pci) and multi-bridge NIC paths failed to parse. Replace the fixed two-node regex with one accepting any number of PCI nodes, with tests for the new shapes.

Type of Change

  • Add - New feature or capability
  • Change - Changes in existing functionality
  • Fix - Bug fixes
  • Remove - Removed features or deprecated functionality
  • Internal - Internal changes (refactoring, tests, docs, etc.)

Related Issues (Optional)

Breaking Changes

  • This PR contains breaking changes

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • No testing required (docs, internal refactor, etc.)

Additional Notes

@s3rj1k s3rj1k requested a review from a team as a code owner May 28, 2026 07:57
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 28, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

The site-explorer UEFI device-path parser assumed exactly two Pci()
nodes, so root-port (PciRoot/Pci) and multi-bridge NIC paths failed to
parse. Replace the fixed two-node regex with one accepting any number
of PCI nodes, with tests for the new shapes.

Signed-off-by: s3rj1k <evasive.gyron@gmail.com>
@s3rj1k s3rj1k force-pushed the feat/uefi-multi-pci-parser branch from 8b8268b to b752cc2 Compare May 28, 2026 10:08
@ajf
Copy link
Copy Markdown
Collaborator

ajf commented May 28, 2026

/ok to test b752cc2

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.

2 participants