flowey: use dev manifests for mi-secure CI gate#3216
flowey: use dev manifests for mi-secure CI gate#3216will-j-wright wants to merge 1 commit intomicrosoft:mainfrom
Conversation
|
Okay I tried to have Copilot do this one itself from my phone but clearly that’s too difficult |
There was a problem hiding this comment.
Pull request overview
This PR fixes the mi-secure CI gate selecting the wrong IGVM manifest set by decoupling “how we compile OpenHCL” (build profile) from “which IGVM configuration/manifests we generate” (release vs dev manifests), allowing mi-secure to use the ship build profile while still using dev manifests (larger VTL2 memory).
Changes:
- Add an explicit boolean on
OpenhclIgvmBuildParamsto driverelease_cfgselection instead of deriving it fromOpenvmmHclBuildProfile. - Wire the new flag through the checkin gates and reproducible build pipelines.
- Force mi-secure to use dev manifests (
release_profile: false) even when building with the ship profile.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| flowey/flowey_lib_hvlite/src/_jobs/build_and_publish_openhcl_igvm_from_recipe.rs | Adds a new build param and uses it to set release_cfg explicitly when requesting IGVM builds. |
| flowey/flowey_hvlite/src/pipelines/checkin_gates.rs | Passes the new flag for normal OpenHCL builds and forces dev manifests for the mi-secure gate. |
| flowey/flowey_hvlite/src/pipelines/build_reproducible.rs | Passes the new flag to keep manifest selection consistent with the chosen pipeline “release” mode. |
flowey/flowey_lib_hvlite/src/_jobs/build_and_publish_openhcl_igvm_from_recipe.rs
Outdated
Show resolved
Hide resolved
flowey/flowey_lib_hvlite/src/_jobs/build_and_publish_openhcl_igvm_from_recipe.rs
Show resolved
Hide resolved
eed2af3 to
80e2e1b
Compare
Move release_cfg from being derived inside build_and_publish to being set explicitly by callers. This allows the mi-secure CI gate to use the ship profile (to catch optimization bugs) while using dev manifests (with larger VTL2 memory) since mi-secure adds overhead that doesn't fit in the release memory budget. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
80e2e1b to
8419be7
Compare
flowey/flowey_lib_hvlite/src/_jobs/build_and_publish_openhcl_igvm_from_recipe.rs
Show resolved
Hide resolved
|
how much overhead does mi-secure add? |
I'm not sure how to measure that exactly, do you have any suggestions? |
|
Maybe message Daniel Paliulis and ask? He's done it a fair bit. |
The mi-secure CI gate was using release manifests (70MB VTL2 memory) when building with ship profile, but the mi-secure binary doesn't fit. Add explicit release_cfg to OpenhclIgvmBuildParams so the mi-secure gate can use the ship profile while selecting dev manifests (512MB VTL2 memory).