Skip to content

Conversation

@ashishonce
Copy link
Member

this PR supports multiple runs, but with for loop instead of multiprocessing.
this has drawback over multiprocessing as it has a deterministic delay when multiple runs might be submitted.

print(f"::set-output name=run_metrics::{run_metrics}")
print(f"::set-output name=run_metrics_markdown::{run_metrics_markdown}")
submittedRuns_for_wait.remove(run)
time.sleep(10) # wait for 10 seconds to check again.
Copy link
Member Author

Choose a reason for hiding this comment

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

this wait time is point of check, do we wait for 10 seconds before checking status again?

Copy link
Contributor

Choose a reason for hiding this comment

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

Given runs can be quite long, this seems reasonable. @marvinbuss thoughts?

@marvinbuss marvinbuss added the enhancement New feature or request label Apr 27, 2020
@marvinbuss marvinbuss linked an issue Apr 27, 2020 that may be closed by this pull request
2 tasks
@marvinbuss marvinbuss self-requested a review April 27, 2020 12:20
Copy link
Contributor

@marvinbuss marvinbuss left a comment

Choose a reason for hiding this comment

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

Before merging this:

  • Add integration tests
  • Describe features in Readme

@ashishonce
Copy link
Member Author

Before merging this:

  • Add integration tests
  • Describe features in Readme

will work on this PR once integration tests in other PR are checked in , will merge with that and update this PR

@marvinbuss
Copy link
Contributor

Before merging this:

  • Add integration tests
  • Describe features in Readme

will work on this PR once integration tests in other PR are checked in , will merge with that and update this PR

Yes, let's focus on integration test and the other missing pieces for the next 2 weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow multiple run/pipeline submissions

4 participants