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

Include current runner status while getting messages #2026

Merged
merged 3 commits into from
Jul 28, 2022

Conversation

lokesh755
Copy link
Contributor

@lokesh755 lokesh755 commented Jul 27, 2022

Context

Current PR is to send an additional parameter that indicates the current runner status while getting messages. This will help to update the runner status in the broker.

When runner status is changed from idle to busy or busy to idle, it cancels the current request to get messages and creates a new request with the corresponding runner status.

Current changes are behind FF by using the environment variable USE_BROKER_FLOW

@lokesh755 lokesh755 force-pushed the lokesh755/runner_status branch from 2651740 to 47942c6 Compare July 27, 2022 22:50
@bryanmacfarlane
Copy link
Member

There's no description on the PR. What issue is this fixing?

@lokesh755 lokesh755 force-pushed the lokesh755/runner_status branch from 47942c6 to 151eae2 Compare July 28, 2022 08:47
@lokesh755 lokesh755 force-pushed the lokesh755/runner_status branch from 151eae2 to 0b9cf70 Compare July 28, 2022 08:55
@lokesh755 lokesh755 changed the title Lokesh755/runner status Include current runner status while getting messages Jul 28, 2022
@lokesh755 lokesh755 marked this pull request as ready for review July 28, 2022 09:03
@lokesh755 lokesh755 requested a review from a team as a code owner July 28, 2022 09:03
@lokesh755 lokesh755 merged commit 813af29 into main Jul 28, 2022
@lokesh755 lokesh755 deleted the lokesh755/runner_status branch July 28, 2022 20:42
AdamOlech pushed a commit to antmicro/runner that referenced this pull request Aug 14, 2024
* get messages with runner status

* fixed l0 tests

* PR feedback
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