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

Fix problem caused by #248 and #249 #250

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Conversation

buzzinJohnnyBoi
Copy link
Contributor

While all the tests passed in the last 2 PRs, I did not check if the jobs were actually running. If the startAt is in the past, it will increment to the next time, and if it is in the future, then it will add one minute for some reason.
Given the combination of these 2 factors, it caused the 1st run of an interval set in the future not to occur.
The solution to this was to just add a check that if the startAt and interval are set, then don't increment the nextRun by one minute because the startAt is already the first time it should run.

@Hexagon, I sincerely apologize that I had to send 3 PRs just to clear up one issue, but this time I have done all my testing with Uptime Kuma and all other tests I could think of and it passes everything.

I am confidant this has fixed the issue now, I again apologize for the trouble that I caused.

@Hexagon
Copy link
Owner

Hexagon commented Jun 2, 2024

Thanks, great fix! No worries, i have not even released it in stable branch yet. This is what we do in the dev branch 👍😀

@Hexagon
Copy link
Owner

Hexagon commented Jun 2, 2024

You need to rebase this onto hexagon/dev to remove the old commits the pr. If your unsure how to do it you can just check "Allow edits from maintainers" in this pr 👍

@buzzinJohnnyBoi
Copy link
Contributor Author

How is this?

@Hexagon
Copy link
Owner

Hexagon commented Jun 3, 2024

Looking great 💯 Will release as 8.0.3-dev.2 asap

@Hexagon Hexagon merged commit cb8d74e into Hexagon:dev Jun 3, 2024
38 checks passed
@Hexagon
Copy link
Owner

Hexagon commented Jun 3, 2024

8.0.3-dev.2 is rolling out right now 👍

@Hexagon Hexagon mentioned this pull request Jul 8, 2024
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.

2 participants