Skip to content

Feat: add proper queue system.#850

Merged
arabcoders merged 2 commits into
masterfrom
dev
Jun 13, 2026
Merged

Feat: add proper queue system.#850
arabcoders merged 2 commits into
masterfrom
dev

Conversation

@arabcoders

@arabcoders arabcoders commented Jun 13, 2026

Copy link
Copy Markdown
Owner

This pull request introduces a mechanism to track and prevent concurrent execution of long-running system commands and tasks via a shared cache flag. It ensures that webhook processing can detect when a command or task is running and adjusts its behavior accordingly. The changes also include new and updated tests to verify this locking and detection logic.

  • Added a cache flag that is set when a system command starts and cleared when it finishes.
  • Updated webhook logic to check both the task and command running cache flags before processing, and to set options to fail fast if a lock is detected.

@arabcoders arabcoders self-assigned this Jun 13, 2026
@arabcoders arabcoders added the bug Something isn't working label Jun 13, 2026
@arabcoders arabcoders linked an issue Jun 13, 2026 that may be closed by this pull request
@arabcoders arabcoders changed the title fix: add fail fast on all webhook events. Closes #849 Feat: add proper queue system. Jun 13, 2026
@arabcoders arabcoders merged commit cef6156 into master Jun 13, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Webhook API endpoint missing fail fast flag

1 participant