Skip to content

Conversation

@NHDaly
Copy link
Member

@NHDaly NHDaly commented Aug 31, 2022

Fixes https://github.com/RelationalAI/rai-sdk-issues/issues/70 for the Julia SDK.

We currently throw a 404 error if the transaction is cancelled or crashes before executing. This will be fixed in future versions of relationalai infra, but in the meantime, this workaround swallows such errors.

@NHDaly
Copy link
Member Author

NHDaly commented Sep 1, 2022

Assuming the tests pass, I'm going to merge this without review, to unblock the benchmarking issue that originally surfaced this error.

@NHDaly
Copy link
Member Author

NHDaly commented Sep 1, 2022

... this didn't seem to help locally. I'll have another look tomorrow, but on reflection this can probably wait for review. Sorry I was rushing 😊

@NHDaly
Copy link
Member Author

NHDaly commented Sep 1, 2022

Feel free to merge yourself if you give an approval tomorrow morning!

@NHDaly
Copy link
Member Author

NHDaly commented Sep 8, 2022

Thanks everyone. I think i've figured out why this wasn't working. it was throwing a TaskFailedException because of the @spawns, which i wasn't accounting for. I've addressed this via https://github.com/NHDaly/ExceptionUnwrapping.jl. :/

And now i've added a test, which confirms that this is finally fixed (that's how i confirmed it wasn't working).

Copy link
Contributor

@NRHelmi NRHelmi left a comment

Choose a reason for hiding this comment

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

thanks @NHDaly

@NHDaly NHDaly merged commit 2d0b2ae into main Sep 9, 2022
@NHDaly NHDaly deleted the nhd-fix-404 branch September 9, 2022 00:08
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.

4 participants