-
Notifications
You must be signed in to change notification settings - Fork 37
Add elapsed time in pending status #459
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
Conversation
|
In order to show expected time it seems like I need to store success build duration from Github, database doesn't contain any related information. |
|
I think we can do that in several steps (multiple PRs). It is enough to just show the elapsed time in the first PR (this one). Thank you! I will take a look tomorrow. |
Kobzol
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Left a few comments.
Kobzol
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks! Left one additional comment.
Once you add the <title>, it would be great to get rid of the merge commit. You can do that e.g. by git fetch origin && git rebase origin/main (assuming that your remote is called origin, it could also be upstream or something else).
|
I faced an issue with sqlx during compilation: Sqlx thinks some columns nullable, even though in database these fields specified as Not Null. |
|
Could you share the code where that happens? |
in src/database/operations.rs in upsert_pull_request function After several hours I built bors and it worked without any errors. But I tried to reproduce this by: |
|
With sqlx's exclamation mark (!) I lowered number of errors, but clear reason of different behavior blows my mind |
|
Hmm, that's weird. What Postgres version are you using? Does this happen in |
|
I'm using postgres:16.9, which was specified in docker-compose.yml. For now I will leave it until I face again. |
7578965 to
1fcf16c
Compare
Add hours to represent Resolve changes from review Show time started on hover
1fcf16c to
5748818
Compare
|
I placed |
Kobzol
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one nit about the started date title. Thanks for catching the duplicated table!
Kobzol
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! It looks great.
Closes #371
Display elapsed time
Currently it's not live, it shows within template.