Skip to content

Refactor protoc to descriptor conversion#1493

Merged
fjtirado merged 3 commits into
serverlessworkflow:mainfrom
mcruzdev:issue-1492
Jun 29, 2026
Merged

Refactor protoc to descriptor conversion#1493
fjtirado merged 3 commits into
serverlessworkflow:mainfrom
mcruzdev:issue-1492

Conversation

@mcruzdev

Copy link
Copy Markdown
Collaborator

Many thanks for submitting your Pull Request ❤️!

What this PR does / why we need it:

Special notes for reviewers:

Additional information (if needed):

Closes #1492

Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
@mcruzdev mcruzdev requested a review from fjtirado as a code owner June 26, 2026 18:15
Copilot AI review requested due to automatic review settings June 26, 2026 18:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

The grpc proto invocation was refactored to simplify exception handling. As a consequence of this, there will be not longer a bare null pointer exception, but a message including the failing grpc path.

Signed-off-by: fjtirado <ftirados@ibm.com>
Copilot AI review requested due to automatic review settings June 29, 2026 09:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 7 comments.

@fjtirado fjtirado left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@mcruzdev I took the liberty of using this PR to refactor the way grpc files were handled.
Hope you like it.

e);
} finally {
if (grpcDir != null) {
deleteTempFiles(grpcDir);

@fjtirado fjtirado Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The temporary dir used for protoc execution should be deleted.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Copilot AI review requested due to automatic review settings June 29, 2026 11:26
@fjtirado fjtirado changed the title Show a better error message when the .proto descriptor is not available Refactor protoc to descriptor conversion Jun 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.

@fjtirado fjtirado merged commit 55765c4 into serverlessworkflow:main Jun 29, 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.

Show a better message error when the proto descriptor is not available

3 participants