Skip to content

Suppress payload pack NU* analysis noise - #8

Merged
kzu merged 1 commit into
mainfrom
dev/suppress-nu-pack-warnings
Aug 29, 2026
Merged

Suppress payload pack NU* analysis noise#8
kzu merged 1 commit into
mainfrom
dev/suppress-nu-pack-warnings

Conversation

@kzu

@kzu kzu commented Aug 29, 2026

Copy link
Copy Markdown
Member

Pack analysis treats our Azure CLI Payload like a typical .NET library. CI was logging ~2k warnings that are not actionable:

  • NU5123 (~2095): paths in the CLI Python tree exceed 200 characters. We cannot shorten upstream names.
  • NU5111: azps.ps1 and Activate.ps1 are Payload files, not NuGet install scripts. Azure.Cli already hid this; azx PackAsTool puts the same tree under tools/ so it still fired.

Moved the shared list (NU5100;NU5110;NU5111;NU5118;NU5119;NU5123;NU5128;NU5129) into src/Directory.props so both packs inherit it, and dropped the duplicate NoWarn from the individual projects.

@kzu kzu added the tech debt label Aug 29, 2026
@kzu
kzu enabled auto-merge (rebase) August 29, 2026 01:14
@kzu

kzu commented Aug 29, 2026

Copy link
Copy Markdown
Member Author

20 passed 20 passed

🧪 Details on Ubuntu 24.04.4 LTS

from retest v1.1.0 on .NET 10.0.11 with 💜 by @devlooped

@kzu
kzu merged commit 7aaa3a7 into main Aug 29, 2026
3 checks passed
@kzu
kzu deleted the dev/suppress-nu-pack-warnings branch August 29, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant