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

refactor: update worker classes #3171

Merged
merged 6 commits into from
Sep 13, 2024
Merged

refactor: update worker classes #3171

merged 6 commits into from
Sep 13, 2024

Conversation

rickstaa
Copy link
Contributor

@rickstaa rickstaa commented Sep 13, 2024

This pull request ensures that the go-livepeer code uses the new worker classes that were defined in livepeer/ai-worker#191.

What does this pull request do? Explain your changes. (required)

To improve the SDKs we did change some of the FastAPI configurations this has to be propogated to the go-livepeer software since the bindings are generated based on these configurations. For more information see livepeer/ai-worker#191.

Specific updates (required)

  • Updated all the worker related classes to the new autogenerated classes.

How did you test each of these updates (required)

I ran a updated Gateway and Orchestrator togheter with the right updated version of the worker (i.e. livepeer/ai-worker#191) on-chain to check if it works. The only tests I have to do is quick back compatibility tests.

Does this pull request close any open issues?

No but it implements a change needed to improve the SDKs.

Checklist:

  • Ensure the pull request is back-compatible with the old codbase.
  • Read the contribution guide
  • make runs successfully
  • All tests in ./test.sh pass - Still have to be fixed.
  • README and other documentation updated - Not needed.
  • Pending changelog updated - Not needed.

This commit ensures that the go-livepeer code uses the new worker
classes that were defined in
livepeer/ai-worker#191.
@github-actions github-actions bot added the AI Issues and PR related to the AI-video branch. label Sep 13, 2024
This commit updates the ai-worker to the one with the changed worker
types.
This commit updates the ai-worker dependency to the latest version.
This commit updates the worker to version v0.5.0 since we had to revert
some changes.
@rickstaa rickstaa merged commit ffb1922 into ai-video Sep 13, 2024
5 of 7 checks passed
@rickstaa rickstaa deleted the update_worker_references branch September 13, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI Issues and PR related to the AI-video branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant