Skip to content

feat: //ci/githubstats:query: support git commits in --since and --until arguments#8674

Merged
basvandijk merged 9 commits intomasterfrom
basvandijk/githubstats-query-support-git-commits-in-since-until-args
Feb 4, 2026
Merged

feat: //ci/githubstats:query: support git commits in --since and --until arguments#8674
basvandijk merged 9 commits intomasterfrom
basvandijk/githubstats-query-support-git-commits-in-since-until-args

Conversation

@basvandijk
Copy link
Copy Markdown
Collaborator

@basvandijk basvandijk commented Feb 4, 2026

I occasionally want to see if a specific commit fixed an error so I want to see the test statistics since the time of that commit. To not have to figure out the date and time of a commit manually this extends the --since and --until flags to also accept git commits from which the time will then be taken.

For example to see if bbb6cb0 has the effect we hoped for you could run:

$ bazel run //ci/githubstats:query -- top 10 impact --since bbb6cb0 --verbose
...
    WHERE
      ...
      AND (bt.first_start_time >= '2026-01-30 12:23:19+00:00'::timestamptz)
      ...
...

@github-actions github-actions Bot added the feat label Feb 4, 2026
…into basvandijk/githubstats-query-support-git-commits-in-since-until-args
@basvandijk basvandijk changed the base branch from master to basvandijk/githubstats-query-support-since-until-args February 4, 2026 14:14
@basvandijk basvandijk marked this pull request as ready for review February 4, 2026 15:17
@basvandijk basvandijk requested a review from a team as a code owner February 4, 2026 15:17
Base automatically changed from basvandijk/githubstats-query-support-since-until-args to master February 4, 2026 18:05
…ats-query-support-git-commits-in-since-until-args
@basvandijk basvandijk enabled auto-merge February 4, 2026 19:03
@basvandijk basvandijk added this pull request to the merge queue Feb 4, 2026
Merged via the queue into master with commit 385b0a4 Feb 4, 2026
39 checks passed
@basvandijk basvandijk deleted the basvandijk/githubstats-query-support-git-commits-in-since-until-args branch February 4, 2026 19:24
kpop-dfinity pushed a commit that referenced this pull request Feb 5, 2026
…til arguments (#8674)

I occasionally want to see if a specific commit fixed an error so I want
to see the test statistics since the time of that commit. To not have to
figure out the date and time of a commit manually this extends the
`--since` and `--until` flags to also accept git commits from which the
time will then be taken.

For example to see if bbb6cb0 has the
effect we hoped for you could run:
```
$ bazel run //ci/githubstats:query -- top 10 impact --since bbb6cb0 --verbose
...
    WHERE
      ...
      AND (bt.first_start_time >= '2026-01-30 12:23:19+00:00'::timestamptz)
      ...
...
```

---------

Co-authored-by: IDX GitHub Automation <infra+github-automation@dfinity.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants