Skip to content
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

PTFE-782 Add synchronisation method #438

Merged
merged 13 commits into from
Sep 19, 2023

Conversation

MartinS926
Copy link
Contributor

No description provided.

@MartinS926 MartinS926 requested a review from a team as a code owner September 12, 2023 13:17
@tcarmet tcarmet marked this pull request as draft September 13, 2023 15:33
@codecov-commenter
Copy link

codecov-commenter commented Sep 13, 2023

Codecov Report

Merging #438 (27d6604) into main (2d3a273) will decrease coverage by 17.02%.
Report is 4 commits behind head on main.
The diff coverage is 20.00%.

@@             Coverage Diff             @@
##             main     #438       +/-   ##
===========================================
- Coverage   83.71%   66.69%   -17.02%     
===========================================
  Files          31       31               
  Lines        1136     1144        +8     
===========================================
- Hits          951      763      -188     
- Misses        185      381      +196     
Flag Coverage Δ
api 66.69% <20.00%> (-0.39%) ⬇️
unit ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
runner_manager/models/runner_group.py 64.53% <14.28%> (-23.74%) ⬇️
runner_manager/jobs/startup.py 70.21% <25.00%> (-29.79%) ⬇️

... and 8 files with indirect coverage changes

runner_manager/models/runner_group.py Outdated Show resolved Hide resolved
runner_manager/jobs/startup.py Outdated Show resolved Hide resolved
runner_manager/jobs/startup.py Outdated Show resolved Hide resolved
@MartinS926 MartinS926 marked this pull request as ready for review September 14, 2023 09:16
@MartinS926 MartinS926 requested a review from tcarmet September 14, 2023 09:19
runner_manager/models/runner_group.py Outdated Show resolved Hide resolved
runner_manager/jobs/startup.py Outdated Show resolved Hide resolved
@MartinS926 MartinS926 requested a review from tcarmet September 15, 2023 09:17
tcarmet and others added 2 commits September 15, 2023 09:18
Now generating datetime with utc as timezone.

Using `datetime.now(timezone.utc)` instead of `datetime.utcnow()` as
with `utcnow` the `tzinfo` remains `None` and is not able to compare
datetimes that comes from GitHub's API which explicitly contain offset
information.
@MartinS926 MartinS926 force-pushed the bugfix/PTFE-782-Check-github-group-existence branch from 6c97031 to 92f54d9 Compare September 15, 2023 09:47
@tcarmet tcarmet enabled auto-merge (squash) September 19, 2023 21:29
@tcarmet tcarmet merged commit 54b2dab into main Sep 19, 2023
@tcarmet tcarmet deleted the bugfix/PTFE-782-Check-github-group-existence branch September 19, 2023 21:30
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.

3 participants