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

Align with breaking change in workflow-task-status API (fractal-server 2.0.0a10) #460

Closed
tcompa opened this issue Apr 19, 2024 · 2 comments · Fixed by #457
Closed

Align with breaking change in workflow-task-status API (fractal-server 2.0.0a10) #460

tcompa opened this issue Apr 19, 2024 · 2 comments · Fixed by #457
Labels
fractal-server-v2 High Priority What we should be working on ASAP

Comments

@tcompa
Copy link
Collaborator

tcompa commented Apr 19, 2024

fractal-server 2.0.0a10 (to be released in a few minutes) includes a small API breaking change.

The old endpoint

GET /api/v2/project/{project_id}/dataset/{dataset_id}/status/

becomes

GET /api/v2/project/{project_id}/status/?dataset_it={dataset_id}&workflow_id={workflow_id}

Note that we changed the internal logic (ref fractal-analytics-platform/fractal-server#1416), and we slightly restricted its response contents: now the response only includes workflow tasks of a specific workflow, rather than all the ones that ever ran for a given dataset. In fractal-web this should introduce no problem, since the endpoint is called from a single-workflow page and the workflow ID is known.

@tcompa
Copy link
Collaborator Author

tcompa commented Apr 19, 2024

Another (very minor) change is that the status property of the response body goes from being "object or null" to being "object" - ref fractal-analytics-platform/fractal-server@63c6678.

@tcompa
Copy link
Collaborator Author

tcompa commented Apr 19, 2024

2.0.0a10 is now available

@tcompa tcompa added the High Priority What we should be working on ASAP label Apr 19, 2024
@zonia3000 zonia3000 mentioned this issue Apr 19, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fractal-server-v2 High Priority What we should be working on ASAP
Projects
Development

Successfully merging a pull request may close this issue.

1 participant