Skip to content

Conversation

@tmaier
Copy link

@tmaier tmaier commented Dec 1, 2025

I am going to try it out, as soon as I will use Cloud66 again :)

Add SolidQueue framework detection and queue metrics collection by
querying ReadyExecution for pending jobs and ClaimedExecution for
processing jobs, following the same pattern as other queue frameworks.
- Add SolidQueue::Job to detection since we use it through the join
- Remove unnecessary return statements for idiomatic Ruby style
For autoscaling from 0 workers, we need to count jobs that are past
their scheduled_at time but haven't been dispatched yet. This ensures
the autoscaler sees work to do even if the Dispatcher hasn't run yet.

- Add ScheduledExecution to detection
- Query due scheduled jobs (scheduled_at <= now)
- Combine ready + due scheduled as total waiting count
Query from Job table since queue_name is directly on Job,
avoiding the need for explicit table name reference in group clause.
@tmaier tmaier force-pushed the claude/add-solid-queue-support-011H2Lvs8rR9ocmNSPehEtrJ branch from 69b7a83 to 47fa2e1 Compare December 8, 2025 13:53
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.

2 participants