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

threading problems with QueueService subclasses #14629

Open
4 tasks done
zzstoatzz opened this issue Jul 16, 2024 · 0 comments
Open
4 tasks done

threading problems with QueueService subclasses #14629

zzstoatzz opened this issue Jul 16, 2024 · 0 comments
Assignees
Labels
3.x bug Something isn't working

Comments

@zzstoatzz
Copy link
Collaborator

First check

  • I added a descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the Prefect documentation for this issue.
  • I checked that this issue is related to Prefect and not one of its dependencies.

Bug summary

in 3.x versions, we have noticed quite a few strange errors related to different implementations of QueueService, like:

  • APILogWorker
**errors about registering atexit handler**
  • EventsWorker
RuntimeError: Cannot put items in a stopped service instance.

Reproduction

there is not a clean MRE as there is not one specific problem here

there is some problem related to threading here

Error

(written above)

Versions (prefect version output)

» prefect version
Version:             3.0.0rc10+88.g6df736e5cc
API version:         0.8.4
Python version:      3.12.3
Git commit:          6df736e5
Built:               Tue, Jul 16, 2024 10:57 AM
OS/Arch:             darwin/arm64
Profile:             bleeding
Server type:         server
Pydantic version:    2.8.2
Integrations:
  prefect-aws:       0.5.0rc2
  prefect-github:    0.3.0rc2
  prefect-docker:    0.6.0rc3

Additional context

potentially relevant:

@zzstoatzz zzstoatzz added bug Something isn't working needs:triage labels Jul 16, 2024
@zzstoatzz zzstoatzz self-assigned this Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant