oxidecomputer / oxidecomputer/ipcc-rs
ipcc-data is missing the ability to create `HSSHostPanic` and `HSSBootFail` instances
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
At least for testing purposes, it would be useful to be able to manually create Host Panic/Host Boot Fail messages, as issued by the host.
I hacked together a very bad version of this here:
https://github.com/oxidecomputer/ipcc-rs/blob/james/manual-poking/ipcc-data/src/lib.rs#L402-L459
for testing https://github.com/oxidecomputer/management-gateway-service/pull/495, but we may want to extend faux-ipcc to be able to create these messages.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the existing HSS message definitions in ipcc-data/src/lib.rs, especially the referenced lines 402-459, and compare them with the manual-poking branch. Then inspect faux-ipcc to determine where message creation belongs. Done means callers can manually create HSSHostPanic and HSSBootFail messages for testing, with behavior consistent with the host-issued messages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100