Skip to content

Logging: every expected module skip emits a ##[warning] annotation - 8 warnings on every green run #3551

Description

@thomhurst

Category: logging UX — Breaking: no

Run 30526435350 has exactly 8 ##[warning] lines in the pipeline step, all benign: 7x ⊘ Module <X> skipped (fast-fail-validated or publish-disabled cascades) plus ⚠ Unregistered Modules:. Identical set on the previous green run. These populate the Annotations panel on every successful build, training people to ignore warnings. The cascade reasons also nest ("Required dependency 'X' was skipped: Required dependency 'Y' was skipped: ...") instead of stating the root cause.

Fix: emit ::notice:: (or a plain log line) for skips caused by configured ShouldSkip conditions and dependency-skip cascades; reserve ##[warning] for abnormal outcomes. Collapse nested cascade reasons to the root cause.

Part of #3239 (round 2 addendum).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium: improvements and polish - after P1enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions