hectcastro / gh-metrics

A GitHub CLI extension that provides summary pull request metrics.
Apache License 2.0
54 stars 4 forks source link

Data no longer being returned #102

Open ashton-harris-disney opened 2 weeks ago

ashton-harris-disney commented 2 weeks ago

I am no longer seeing any date:

image

I wonder if the auto dependabot updates caused an issue as I am also seeing a version mismatch:

gh metrics --version
gh-metrics version 3.0.0
gh extension list
gh metrics  hectcastro/gh-metrics  v3.0.1
hectcastro commented 2 weeks ago

Hm. Are you sure there is data for the default date range? If you believe there is, can you please try running the command with GH_DEBUG=api?

$ GH_DEBUG=api gh metrics

That should show some HTTP logs to help ensure data is flowing back-and-forth.

The version discrepancy is a bug. Looks like I didn't update the version constant in the code (e.g., 3.0.0) to line up with the tagged version (e.g., 3.0.1).