igvm: rethink api to allow dynamically adding new headers vs requiring all upfront
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 155
- Forks
- 42
- Avg merge
- 23h 53m
- Merged PRs (30d)
- 3
Description
In order to support rolling measurements for future changes where we incorporate corim generation as part of the igvm crate, we may want to change the IgvmFile API to allow adding directive headers one-by-one, instead of requiring them all to be present initially. This would allow a user to only define platform and init headers, and then dynamically add directive headers as running through loader code, then very easily finalize the igvm file by adding a corim/measurement header via a consuming self method.
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 by locating the IgvmFile API in the igvm crate and tracing how directive headers are currently supplied. Determine how incremental additions and a consuming finalization step would support the rolling-measurement flow. Done means the intended construction and finalization behavior is specified and covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100