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

status: provide initial implementation for checking bot status and request_age() refactor. #1370

Merged
merged 5 commits into from Jan 26, 2018

Conversation

@jberry-suse
Copy link
Contributor

jberry-suse commented Jan 26, 2018

  • 704fc50:
    status: provide initial implementation for checking bot status.

  • b84beb6:
    osclib/request_splitter: utilize osclib.core.request_age().

  • b8c91ea:
    devel-project: utilize osclib.core.request_age().

  • f11daf3:
    osclib/core: provide request_age().

Basically implementation for our use and https://progress.opensuse.org/issues/25750. Would benefit a lot from openSUSE/open-build-service#4108. Would likely also make sense to provide two threshold one indicating possible failure or high load and the other indicating service down.

Depending on how this could be deployed (if that happens) I can easily provide a subpackage for it.

Example output:

factory-auto = True
leaper = True
repo-checker = True
staging-bot = True

Based on bot activity on requests and in comments.

@openSUSE openSUSE deleted a comment from coveralls Jan 26, 2018
@jberry-suse jberry-suse force-pushed the jberry-suse:status branch from cb5d767 to ee4dec9 Jan 26, 2018
@jberry-suse jberry-suse merged commit 574cfe8 into openSUSE:master Jan 26, 2018
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@jberry-suse jberry-suse deleted the jberry-suse:status branch Jan 26, 2018
jberry-suse added a commit to jberry-suse/openSUSE-release-tools that referenced this pull request Jan 29, 2018
In openSUSE#1370 devel-project.py was broken since it need delta.days and uses
Request class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.