Skip to content

[Bug]: Copaw startup triggers uncontrolled Python thread proliferation #2204

@frozenlovezz

Description

@frozenlovezz

CoPaw Version

0.1.0.post1
[Provide the version of CoPaw you are using, e.g. 0.x.x or git commit hash.]
[Using copaw --version in your command line or checking the version in the console UI can help.]

Description

When launching Copaw, the application spawns a large number of Python threads during startup, which quickly consumes system resources and eventually causes the entire system to freeze.
[Describe the bug clearly and concisely. What happened vs what you expected?]

Related PR(s): #(optional)

Security considerations: [If applicable, e.g. auth, env/config exposure]

Component(s) Affected

  • Core / Backend (app, agents, config, providers, utils, local_models)
  • Console (frontend web UI)
  • Channels (DingTalk, Feishu, QQ, Discord, iMessage, etc.)
  • Skills
  • CLI
  • Documentation (website)
  • Tests
  • CI/CD
  • Scripts / Deploy

Environment

mac os 15.7.4

  • CoPaw version: [e.g. 0.x.x or git commit]
  • OS: [e.g. macOS 14, Ubuntu 22.04, Windows 11]
  • Install method: [pip / one-line install / Docker / from source]
  • Python version (if applicable): [e.g. 3.10]

Steps to Reproduce

  1. copaw app
  2. wait a few seconds

Actual vs Expected

  • Actual:
  • Expected:

Logs / Screenshots

Image Image

[Paste relevant log output or attach screenshots. Use code blocks for logs.]

(paste logs here)

Additional Notes

[Optional: workarounds, similar issues, etc.]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions