Repository navigation
Import missing platforms for manifest list creation during partial builds - #2128
Conversation
…ilds Co-authored-by: Copilot <[email protected]>
|
|
||
| foreach (PlatformImportData platformToImport in platformsToImport) | ||
| { | ||
| await ImportPlatformToStagingAsync(platformToImport); |
There was a problem hiding this comment.
It might be useful to include a logging message here indicating the reason for the import happening due to missing platform. The import image logic has its own logging but there's no context as to why. That would create dual logging for each platform. The other option would be to have a summary logging at the start saying something like "Importing X missing platforms"
There was a problem hiding this comment.
Agreed. In an earlier draft I had some logging here but removed it specifically because it said basically the same thing as the CopyImageService's own logging. But there's probably an opportunity to make it clearer what's going on/why a given image is being imported.
|
Hold on further review while I do some more validation. |
|
It does what I expect. Here's some example logging output that I captured from a local dry-run, using the samples pipeline run that only built Windows images. Logging output |
This PR is intended to fix #2107.
In ImageBuilder's
createManifestListscommand: