Commit 8ee980d
Split bulk PowerShell framework models into opt-in pack to shrink MRVA payload
The microsoft/powershell-all library shipped 3283 generated framework
data-extension files (~15.4 MB, 89% of the compiled pack), which inflated the
MRVA query-pack submission body to ~2.47 MB base64 and caused variant-analysis
submit timeouts for PowerShell queries.
Move the bulk of the generated typemodels into a new opt-in model pack
microsoft/powershell-frameworks-generated (extensionTargets: microsoft/powershell-all).
The security-relevant core (System base, Management.Automation, IO, Net, Data/SqlClient,
Security, Diagnostics.Process, plus hand-authored/internal models) stays in
powershell-all. Since codeQL.runningQueries.useExtensionPacks defaults to none, the
opt-in pack is not bundled into MRVA by default, cutting the default submit body to
~1.44 MB base64. Full coverage is still available via useExtensionPacks: all.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 59eff31 commit 8ee980d
2,426 files changed
Lines changed: 18 additions & 0 deletions
File tree
- powershell/ql/extensions/frameworks-generated
- ext
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments