Skip to content

Comments

[dmt] Make a check for the weight of the non critical module #344

Merged
ldmonster merged 3 commits intomainfrom
no-weight-on-no-critical-modules
Feb 9, 2026
Merged

[dmt] Make a check for the weight of the non critical module #344
ldmonster merged 3 commits intomainfrom
no-weight-on-no-critical-modules

Conversation

@RottenRat
Copy link
Contributor

@RottenRat RottenRat commented Feb 4, 2026

Case:

name: test-non-critical
weight: 10
stage: Experimental
descriptions:
  en: "Test description"

Before:
OK
After:
Warning

🐒 [definition-file (#module)]
     Message:      Unnecessary field 'weight' must be removed for non-critical module
     Module:       test-non-critical
     FilePath:     module.yaml

Signed-off-by: Sinelnikov Michail <mikhail.sinelnikov@flant.com>
@RottenRat RottenRat self-assigned this Feb 4, 2026
Sinelnikov Michail added 2 commits February 9, 2026 11:02
Signed-off-by: Sinelnikov Michail <mikhail.sinelnikov@flant.com>
Signed-off-by: Sinelnikov Michail <mikhail.sinelnikov@flant.com>
@ldmonster ldmonster merged commit 79302ad into main Feb 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants