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

Do not require agent polling to make workflows that should be skipped done #4271

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

6543
Copy link
Member

@6543 6543 commented Oct 28, 2024

currently we have in the task poll logic an check that clean up the queue of tasks that should be skipped.
so it requires agents to poll to actually do stuff.

but the agent poll logic should ignore all tasks that are not ready to run and the queue maintenance should happen in an dedicated place.

this pull starts to refactor this by at least move it in it's own function and go routine in the background.

@6543 6543 added server enhancement improve existing features labels Oct 28, 2024
@6543 6543 marked this pull request as ready for review October 28, 2024 21:39
@qwerty287 qwerty287 changed the title Do not require agent polling to make workflows that should be skiped done Do not require agent polling to make workflows that should be skipped done Oct 29, 2024
@6543 6543 added the build_pr_images If set, the CI will build images for this PR and push to Dockerhub label Oct 29, 2024
@6543
Copy link
Member Author

6543 commented Nov 5, 2024

todo: check that "virtual" agent is neither in database nor in webui/api visible

@6543
Copy link
Member Author

6543 commented Nov 5, 2024

PS: once we refactored more of the queue related code we might have a chance to simplify it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build_pr_images If set, the CI will build images for this PR and push to Dockerhub enhancement improve existing features server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant