Skip to content

Support sorted region lists in humility dump - #755

Merged
mkeeter merged 1 commit into
masterfrom
mkeeter/sorted-region-lists
Nov 10, 2026
Merged

mkeeter merged 1 commit into
masterfrom
mkeeter/sorted-region-lists

Conversation

@mkeeter

@mkeeter mkeeter commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Correctly handle the new sorted region lists introduced by oxidecomputer/hubris#2760
(along with an archive version bump corresponding to oxidecomputer/hubris#2776)

I tested this on Grapefruit from master, and saw the expected behavior (error without this fix, dump was fine with it)

Comment thread humility-core/src/hubris.rs Resolved
@mkeeter
mkeeter force-pushed the mkeeter/sorted-region-lists branch from 46ab827 to 864caea Compare November 10, 2026 18:35
@mkeeter
mkeeter requested a balanced review from Copilot November 10, 2026 18:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the archive-version and region-list compatibility update.

No open issues 🎉

What changed in this PR

Updates humility dump to handle Hubris’s new sorted region lists and accept archive version 14, while preserving support for existing region arrays.

Changes:

  • Raises the maximum supported Hubris archive version from 13 to 14.
  • Adds support for region lists wrapped in a single-member struct containing an array of 4-byte references.
File Description
humility-core/​src/​hubris.rs Extends region-list parsing for the new wrapper format and bumps archive compatibility.

Review effort: Balanced

@jamesmunns jamesmunns left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two nits (let-else and comments), otherwise LGTM.

Comment thread humility-core/src/hubris.rs Resolved
@mkeeter
mkeeter force-pushed the mkeeter/sorted-region-lists branch 2 times, most recently from e120e27 to cfdca61 Compare November 10, 2026 18:48
@mkeeter
mkeeter force-pushed the mkeeter/sorted-region-lists branch from cfdca61 to d5781ee Compare November 10, 2026 19:07
@mkeeter
mkeeter enabled auto-merge (squash) November 10, 2026 19:08
@mkeeter
mkeeter merged commit 359b51f into master Nov 10, 2026
16 checks passed
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.

4 participants