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: some minor code changes #32

Conversation

rickstaa
Copy link

This pull request applies some minor code changes to clean up the code.

This commit applies some minor code changes to cleanup the code.
@github-actions github-actions bot added go Pull requests that update Go code AI labels Feb 12, 2025
This commit ensures that the transient error messages have the right
names.
This commit changes `isTransientError` to `isRetryableError` to make it
more in line with the transcoding naming.
@rickstaa rickstaa force-pushed the ricks/ai-video-fix-selection-pr branch from 190cd2c to 8812662 Compare February 12, 2025 18:17
This commit reverts the error changes since this will break backward
compatibility with old orchestrators.
@rickstaa rickstaa force-pushed the ricks/ai-video-fix-selection-pr branch from 8812662 to 71b0e2e Compare February 12, 2025 18:18
This commit makes the `isRetryableError` function case insensitive to
prevent unexpected errors from happening in the future. It also adds
tests.
@rickstaa
Copy link
Author

@ad-astra-video tested again, and made the isRetryableError function case insensitive to prevent issues.

@ad-astra-video ad-astra-video merged commit 8091750 into ad-astra-video:ai-video-fix-selection-pr Feb 13, 2025
@ad-astra-video ad-astra-video deleted the ricks/ai-video-fix-selection-pr branch February 13, 2025 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants