fix(dpf): fix remaining BF4 DPF inventory and reboot consistency gaps#3845
Merged
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Contributor
WalkthroughThe PR makes DPF inventory resolution fail when referenced service templates are missing, adds coverage for atomic inventory persistence, and changes reboot handling so durable On intent is persisted before power-on execution. ChangesDPF inventory integrity
DPF reboot intent durability
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant InventoryReport
participant API
participant DPFSDK
participant TemplateRepository
participant Database
InventoryReport->>API: submit inventory
API->>DPFSDK: resolve DPU service versions
DPFSDK->>TemplateRepository: fetch referenced templates
TemplateRepository-->>DPFSDK: complete templates or missing template
DPFSDK-->>API: versions or InvalidState error
API->>Database: persist complete inventory only
sequenceDiagram
participant Reconciliation
participant DurableState
participant DPFHandler
participant BMC
Reconciliation->>DPFHandler: process HandleReboot Off
DPFHandler->>DurableState: persist HandleReboot On intent
Reconciliation->>DPFHandler: process durable On intent
DPFHandler->>BMC: issue power On command
BMC-->>DPFHandler: return power state
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
bcavnvidia
marked this pull request as ready for review
July 22, 2026 14:36
bcavnvidia
marked this pull request as draft
July 22, 2026 14:36
bcavnvidia
marked this pull request as ready for review
July 22, 2026 15:48
bcavnvidia
marked this pull request as draft
July 22, 2026 15:48
abvarshney-nv
approved these changes
Jul 22, 2026
bcavnvidia
marked this pull request as ready for review
July 22, 2026 18:47
This was referenced Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A little clean-up based on recent findings.
Reject incomplete DPF service inventory snapshots when referenced service templates are unavailable, preserving the last-known-good database value.
Make the DPF reboot’s power-on intent durable before issuing or retrying the command, preventing persisted state from diverging from hardware after failures.
Add regression coverage for host-based DPF detection, composite DPU CR naming, inventory preservation, and reboot persistence ordering.
Related issues
Type of Change
Breaking Changes
Testing
Additional Notes