Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: attempt to fix panics for unresolvable imports by using GogoResolver #7277

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

damiannolan
Copy link
Member

@damiannolan damiannolan commented Sep 10, 2024

Description

Uses the cosmos/gogoproto registry as opposed to including the entire merged global files registry.

closes: #7259


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against the correct branch (see CONTRIBUTING.md).
  • Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
  • Code follows the module structure standards and Go style guide.
  • Wrote unit and integration tests.
  • Updated relevant documentation (docs/).
  • Added relevant godoc comments.
  • Provide a conventional commit message to follow the repository standards.
  • Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
  • Re-reviewed Files changed in the GitHub PR explorer.
  • Review SonarCloud Report in the comment section below once CI passes.

@damiannolan
Copy link
Member Author

Publishing PR to run e2e test

@damiannolan damiannolan marked this pull request as ready for review September 10, 2024 15:22
@DimitrisJim
Copy link
Contributor

Publishing PR to run e2e test

I think this is only unit tested atm? Either way, would be great to see if this addresses things. I definitely think its good to limit what files we go through as much as possible.

Copy link
Contributor

@DimitrisJim DimitrisJim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! See Julien left a comment in other PR that this addresses the issue. I guess this is the UX friendlier approach but we might want to think about switching to people specifying the allow list if this pops up again.

CHANGELOG.md Outdated Show resolved Hide resolved
@damiannolan damiannolan added this pull request to the merge queue Sep 10, 2024
Copy link

Merged via the queue into main with commit 79ddda5 Sep 10, 2024
72 checks passed
@damiannolan damiannolan deleted the damian/fix-proto-range-files-resolver branch September 10, 2024 19:41
mergify bot pushed a commit that referenced this pull request Sep 10, 2024
…lver (#7277)

* fix: attempt to fix panics for unresolvable imports by using GogoResolver

* chore: add changelog

* chore: amend changelog

(cherry picked from commit 79ddda5)

# Conflicts:
#	CHANGELOG.md
mergify bot pushed a commit that referenced this pull request Sep 10, 2024
…lver (#7277)

* fix: attempt to fix panics for unresolvable imports by using GogoResolver

* chore: add changelog

* chore: amend changelog

(cherry picked from commit 79ddda5)

# Conflicts:
#	CHANGELOG.md
DimitrisJim pushed a commit that referenced this pull request Sep 11, 2024
…lver (backport #7277) (#7281)

* fix: attempt to fix panics for unresolvable imports by using GogoResolver (#7277)

* fix: attempt to fix panics for unresolvable imports by using GogoResolver

* chore: add changelog

* chore: amend changelog

(cherry picked from commit 79ddda5)

# Conflicts:
#	CHANGELOG.md

* chore: address merge conflicts in changelog

---------

Co-authored-by: Damian Nolan <damiannolan@gmail.com>
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.

Bug: newModuleQuerySafeAllowList panics
3 participants