Issue:
Currently, the produce data workflow will only run for completed jobs. While this works functionally, it makes produced data workflow runs more difficult to track since they are not bounded to the original workflow due it's asynchronous nature from the github event trigger.
https://github.com/tenstorrent/tt-mlir/actions/workflows/produce_data.yml
This also causes an issue if your workflow run is dynamically named using run-name: at runtime.
tenstorrent/tt-forge#496 (comment)
Suggested change:
Allow input override of the completed status behavior around this code path. Completed status remains the default.
|
assert github_job.get("status") == "completed", f"{github_job_id} is not completed" |
This way, the produced data workflow can be properly bound to the workflow run that collects them. Users know best when data should be collected; otherwise, they rely on the default completed status.
Example:
https://github.com/tenstorrent/tt-forge/blob/d16b31763ebb257a050913f6e3e494c0e9375dfa/.github/workflows/perf-benchmark.yml#L497-L504
Issue:
Currently, the produce data workflow will only run for completed jobs. While this works functionally, it makes produced data workflow runs more difficult to track since they are not bounded to the original workflow due it's asynchronous nature from the github event trigger.
https://github.com/tenstorrent/tt-mlir/actions/workflows/produce_data.yml
This also causes an issue if your workflow run is dynamically named using
run-name:at runtime.tenstorrent/tt-forge#496 (comment)
Suggested change:
Allow input override of the completed status behavior around this code path. Completed status remains the default.
tt-github-actions/.github/actions/collect_data/src/utils.py
Line 246 in 069f1e7
This way, the produced data workflow can be properly bound to the workflow run that collects them. Users know best when data should be collected; otherwise, they rely on the default
completedstatus.Example:
https://github.com/tenstorrent/tt-forge/blob/d16b31763ebb257a050913f6e3e494c0e9375dfa/.github/workflows/perf-benchmark.yml#L497-L504