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

[Tooling] Automate detection of missing responses or gRPC status errors #1009

Open
7 tasks
bryanchriswhite opened this issue Dec 13, 2024 · 0 comments · May be fixed by #970 or #929
Open
7 tasks

[Tooling] Automate detection of missing responses or gRPC status errors #1009

bryanchriswhite opened this issue Dec 13, 2024 · 0 comments · May be fixed by #970 or #929
Assignees
Labels
code health Cleans up some code potential community Can be a community task in the future but not ready to be picked up yet tooling Tooling - CLI, scripts, helpers, off-chain, etc...

Comments

@bryanchriswhite
Copy link
Contributor

bryanchriswhite commented Dec 13, 2024

Objective

Improve overall developer/end-user experience by ensuring consistency around the application of best practices with respect to the gRPC client/server UX.

Origin Document

image

See: #974 (review)

Goals

  • Automate the mitigation of regression with respect to either of the following conditions:
    • No protobuf query/msg response type has zero fields.
    • No gRPC query/msg responses are empty.
    • All gRPC query/msg handler error returns are wrapped in gRPC status errors with the most appropriate code.

Deliverables

Non-goals / Non-deliverables

  • Refactoring existing and unrelated CI or scripts.
  • Fleshing out a comprehensive set of AST traversal helpers.

General deliverables

  • Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
  • Testing: Add new tests (unit and/or E2E) to the test suite.
  • Makefile: Add new targets to the Makefile to make the new functionality easier to use.
  • Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.

Creator: @bryanchriswhite

@bryanchriswhite bryanchriswhite added code health Cleans up some code tooling Tooling - CLI, scripts, helpers, off-chain, etc... potential community Can be a community task in the future but not ready to be picked up yet labels Dec 13, 2024
@bryanchriswhite bryanchriswhite self-assigned this Dec 13, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Shannon Dec 13, 2024
@bryanchriswhite bryanchriswhite moved this from 📋 Backlog to 🔖 Ready in Shannon Dec 13, 2024
@Olshansk Olshansk moved this from 🔖 Ready to 📋 Backlog in Shannon Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code health Cleans up some code potential community Can be a community task in the future but not ready to be picked up yet tooling Tooling - CLI, scripts, helpers, off-chain, etc...
Projects
Status: 📋 Backlog
1 participant