Skip to content

Commit 1e76e7b

Browse files
committed
debug: Add print statements to track artifact_version value
1 parent 773554d commit 1e76e7b

File tree

1 file changed

+3
-0
lines changed
  • redis_benchmarks_specification/__common__

1 file changed

+3
-0
lines changed

redis_benchmarks_specification/__common__/runner.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ def export_redis_metrics(
275275
by_variants["by.branch/{}".format(tf_github_branch)] = {
276276
"branch": tf_github_branch
277277
}
278+
print(f"DEBUG export_redis_metrics: artifact_version={artifact_version!r} (type={type(artifact_version)}), git_hash={git_hash!r}, tf_github_branch={tf_github_branch!r}")
278279
logging.info(
279280
f"export_redis_metrics: artifact_version={artifact_version} (type={type(artifact_version)}), git_hash={git_hash}, tf_github_branch={tf_github_branch}"
280281
)
@@ -286,8 +287,10 @@ def export_redis_metrics(
286287
by_variants["by.version/{}".format(artifact_version)] = {
287288
"version": artifact_version
288289
}
290+
print(f"DEBUG: Created by.version variant for version: {artifact_version!r}")
289291
logging.info(f"Created by.version variant for version: {artifact_version}")
290292
else:
293+
print(f"DEBUG: Skipping by.version - artifact_version={artifact_version!r}")
291294
logging.warning(
292295
f"Skipping by.version variant creation: artifact_version={artifact_version}"
293296
)

0 commit comments

Comments
 (0)