Stamp telemetry trash execution by scaliby · Pull Request #963 · AI-Hypercomputer/xpk
Description
This change modifies calculation of the XPK_TESTER flag in telemetry to set it to true when the TELEMETRY_TRASH_EXECUTION environment variable is set to true.
I will globally set this flag for all XPK's github action executions on repository level. It will allow us to easily filter out GH automated runs from telemetry data.
Why not rely on os.getenv("GITHUB_ACTIONS") == "true"?
While this will work for our use case, it will also exclude all data, in case XPK is run by a 3rd party within github actions context. Such executions are not trash and should not be treated as a test executions but actual production use cases.
Issue
n/a
Testing
Unit testing