Skip to content

Conversation

@ebattat
Copy link
Collaborator

@ebattat ebattat commented Nov 3, 2025

Type of change

Note: Fill x in []

  • bug
  • enhancement
  • documentation
  • dependencies

Description

Using local time caused missing Elasticsearch rows when fetching. Switching to UTC ensures all IDs are fetched correctly.

For security reasons, all pull requests need to be approved first before running any automated CI

@ebattat ebattat requested a review from RobertKrawitz November 3, 2025 08:56
@ebattat ebattat self-assigned this Nov 3, 2025
@ebattat ebattat added the bug Something isn't working label Nov 3, 2025
@github-project-automation github-project-automation bot moved this to In progress in benchmark-runner Nov 3, 2025
"""
new_versions = {}
current_datetime = datetime.now()
current_datetime = datetime.now(timezone.utc).replace(tzinfo=None)
Copy link
Member

Choose a reason for hiding this comment

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

Why do you strip the timezone from the result?

Copy link
Collaborator Author

@ebattat ebattat Nov 3, 2025

Choose a reason for hiding this comment

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

It is to convert a timezone-aware datetime into a naive datetime (i.e., a datetime without any timezone for elasticsearch.
e.g.
2025-11-03 08:30:00+00:00
to
2025-11-03 08:30:00

@ebattat
Copy link
Collaborator Author

ebattat commented Nov 10, 2025

@RobertKrawitz, any more comments ?

@RobertKrawitz
Copy link
Member

/approve

@openshift-ci
Copy link

openshift-ci bot commented Nov 11, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ebattat, RobertKrawitz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [RobertKrawitz,ebattat]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ebattat ebattat merged commit 9324ca7 into redhat-performance:main Nov 17, 2025
13 of 14 checks passed
@github-project-automation github-project-automation bot moved this from In progress to Done in benchmark-runner Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved bug Something isn't working lgtm

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants