Skip to content

smartcontract/cli: improve resource verify --fix to handle missing extensions and duplicates#3149

Merged
elitegreg merged 3 commits intomainfrom
gm/resource-verify
Mar 2, 2026
Merged

smartcontract/cli: improve resource verify --fix to handle missing extensions and duplicates#3149
elitegreg merged 3 commits intomainfrom
gm/resource-verify

Conversation

@elitegreg
Copy link
Contributor

Summary of Changes

Previously, --fix refused to proceed if resource extensions were missing or duplicate usages existed. Now it creates missing extensions automatically, re-verifies, and skips duplicate usages (with a warning) instead of blocking all fixes. Adds a --fix hint to the verification output.

Testing Verification

  • manual testing

…tensions and duplicates

Previously, --fix refused to proceed if resource extensions were missing or duplicate
usages existed. Now it creates missing extensions automatically, re-verifies, and skips
duplicate usages (with a warning) instead of blocking all fixes. Adds a --fix hint to
the verification output.
Co-authored-by: Rahul Garg <3199183+vihu@users.noreply.github.com>
@elitegreg elitegreg enabled auto-merge (squash) March 2, 2026 19:32
@elitegreg elitegreg merged commit 717e351 into main Mar 2, 2026
30 checks passed
@elitegreg elitegreg deleted the gm/resource-verify branch March 2, 2026 19:42
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