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

Add props to cloned future to fix rerun name #443

Merged

Conversation

kamalesh0406
Copy link
Contributor

This PR fixes issue #393 . I chose to hardcode the props for name and tags because https://github.com/sematic-ai/sematic/blob/main/sematic/db/models/factories.py#L30 erases the name and tags from the existing future. It seems like for normal runs .set is called after this which sets the props but it doesn't seem to be the case for rerun resolutions.

At least from my understanding, this is why this issue happens.

Copy link
Member

@neutralino1 neutralino1 left a comment

Choose a reason for hiding this comment

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

Damn, I've been chasing this issue for a month! Thank you so much @kamalesh0406

@kamalesh0406
Copy link
Contributor Author

Can you merge the PR @neutralino1, I cannot merge it. :(

@augray augray merged commit 7af9209 into sematic-ai:main Jan 9, 2023
@augray
Copy link
Member

augray commented Jan 9, 2023

merged. Thanks @kamalesh0406 !

@tscurtu tscurtu added bug Something isn't working ui UI related work labels Jan 9, 2023
jrcribb pushed a commit to jrcribb/sematic that referenced this pull request Apr 9, 2024
This PR fixes issue sematic-ai#393 . I chose to hardcode the props for name and
tags because
https://github.com/sematic-ai/sematic/blob/main/sematic/db/models/factories.py#L30
erases the name and tags from the existing future. It seems like for
normal runs `.set` is called after this which sets the props but it
doesn't seem to be the case for rerun resolutions.

At least from my understanding, this is why this issue happens.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui UI related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants