Skip to content

Store try commit dates into the DB properly #1399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 12, 2022
Merged

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Aug 12, 2022

This PR is another follow-up to #1357 and #1393. It makes the following changes:

  1. /perf/next_commit now returns the actual commit that can be inserted (or used as a lookup) into the DB as-is.
  2. The pull_request_build table got a new column named commit_date, which stores the date at which the bors_sha was committed.

With these two changes, the actual build dates of try commits should now be hopefully propagated to the artifact table and thus to the 30-day graphs.

The commit_date column is currently optional (nullable) and set to NULL for master commits, as we don't need the dates for them.

Kobzol added 2 commits August 12, 2022 15:09
The `BenchNext` command will no longer use fake commits, but use the actual commit returned from `next_commit`.
@Kobzol Kobzol requested a review from Mark-Simulacrum August 12, 2022 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants