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

feat(framework) Add SuperExec servicer #3606

Merged
merged 12 commits into from
Jun 14, 2024
Merged

Conversation

charlesbvll
Copy link
Member

Issue

Description

Related issues/PRs

Proposal

Explanation

Checklist

  • Implement proposed change
  • Write tests
  • Update documentation
  • Make CI checks pass
  • Ping maintainers on Slack (channel #contributions)

Any other comments?

Comment on lines 46 to 48
run = self.plugin.start_run(request.fab_file)
self.runs[run.run_id] = run.proc
return StartRunResponse(run_id=run.run_id)
Copy link
Member

Choose a reason for hiding this comment

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

Starting the run can fail. We should immediately start with error handling here.

Copy link
Member Author

@charlesbvll charlesbvll Jun 14, 2024

Choose a reason for hiding this comment

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

@danieljanes Should we make the run_id and proc of RunTracker optionals? Or should we make the return type of start_run optional? I think the second option is the most straightforward

Copy link
Member Author

Choose a reason for hiding this comment

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

@danieljanes I updated it but do you think we should add an error field to the proto definition of the response?

@danieljanes danieljanes enabled auto-merge (squash) June 14, 2024 11:36
@danieljanes danieljanes merged commit 3250801 into main Jun 14, 2024
29 checks passed
@danieljanes danieljanes deleted the add-superexec-servicer branch June 14, 2024 11:39
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