Skip to content

Collecting GitHub stats for new repositories is broken #1234

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

Closed
pietroalbini opened this issue Jan 1, 2021 · 1 comment
Closed

Collecting GitHub stats for new repositories is broken #1234

pietroalbini opened this issue Jan 1, 2021 · 1 comment

Comments

@pietroalbini
Copy link
Member

In the logs, this message appears:

docs_rs::docbuilder::rustwide_builder: failed to collect GitHub stats: error serializing parameter 3: cannot convert between the Rust type `core::option::Option<chrono::naive::datetime::NaiveDateTime>` and the Postgres type `timestamptz`

Possibly a fallout of the switch to timestamptz.

@syphar
Copy link
Member

syphar commented Jan 1, 2021

yes, it's related to the timestamptz migration. Seems like it wasn't covered with tests.

I also found the place which needs to be fixed, only unsure how to test it the best way

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

No branches or pull requests

4 participants
@syphar @pietroalbini @jyn514 and others