Skip to content

web API for task running status #734

Closed
@tylerflex

Description

@tylerflex

The current get_run_info function in the tidy3d front end assumes that there is a solver_progress.csv file that can be downloaded and parsed to get the % done and field_decay value.

This code is quite unstable and likely to change in the future.

It is very important that we instead have a webapi to directly query for the run_time and field_decay value with a python front end that will not change after we release.

For example, a SimulationTask.get_running_info() that directly submits an http request to get these two values rather than downloading and parsing this file.

We should get this feature in before our 2.0 release. The reason is that if our running status code changes in the future, the current code will completely break and users will not be able to use any previous versions.

JIRA ticket

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions