Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Benchmark : Fix remote push job #129

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

varun-sundar-rabindranath

SUMMARY:
github-action-benchmark action, needs a JSON file with metrics for reporting. It throws an error when the JSON is empty or doesn't have any data.

Bug: On the remote push benchmark job, we produce the necessary files, but they don't have any JSON data.

Fix: Make the logging script skip file creation if the file is going to be empty. In the GHA side, add logic to skip processing when a desired file does not exist.

Additional changes:

  • Rename GHABenchmarkToolName -> BenchmarkMetricType
  • Add a Observation BenchmarkMetricType - This could be useful in the near future when we discover volatile metrics.

TEST PLAN:
Jobs on this PR.

@varun-sundar-rabindranath varun-sundar-rabindranath merged commit 123d4d7 into main Mar 26, 2024
2 checks passed
@varun-sundar-rabindranath varun-sundar-rabindranath deleted the varun/fix-remote-push branch March 26, 2024 21:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants