Skip to content

Experiment with Gevent - #16

Merged
Ayush8923 merged 1 commit into
mainfrom
enhancement/experiment-gevent
Dec 5, 2026
Merged

Ayush8923 merged 1 commit into
mainfrom
enhancement/experiment-gevent

Conversation

@AkhileshNegi

@AkhileshNegi AkhileshNegi commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Increased the number of evaluation tasks that can be processed concurrently in the staging environment. Evaluation tasks continue to use the same queue.

@AkhileshNegi
AkhileshNegi deployed to staging-pr-plan December 5, 2026 09:26 — with GitHub Actions Active
@AkhileshNegi AkhileshNegi self-assigned this Dec 5, 2026
@AkhileshNegi AkhileshNegi added the enhancement New feature or request label Dec 5, 2026
@coderabbitai

coderabbitai Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The staging evaluations-celery command now uses the gevent pool with concurrency 10. It continues to consume the evaluations queue.

Changes: Staging Worker Configuration

Layer / File(s) Summary
Evaluations worker command
environments/staging/constants.tfvars
The command uses --pool=gevent and --concurrency=10. The evaluations queue remains unchanged.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Feature

Merge Risk: Minimal · up to 9feed

This changes the staging evaluations worker to use the gevent pool with higher concurrency. No concrete defect is established in this repository. Before relying on it, confirm that the backend image installs gevent and that evaluation tasks do not make long blocking calls.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Experiment with Gevent" names a real aspect of the change: the staging evaluations-celery worker now uses the gevent pool. However, the title does not state the concrete change (switching t…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title "Experiment with Gevent" names a real aspect of the change: the staging evaluations-celery worker now uses the gevent pool. However, the title does not state the concrete change (switching the pool from default to gevent and raising concurrency from 2 to 10) and does not say the change applies to staging only. The title is therefore partially related. It is not vague, and it is not unrelated, so the check does not fail.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4ecd68fb-718d-4283-b426-d073105eaeb6
Commits

Reviewing files that changed from the base of the PR and between b6e9af8 and 9feedf5.

Files selected for processing: 1

  • environments/staging/constants.tfvars

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown

Terraform plan: staging

Plan: 1 to add, 1 to change, 1 to destroy.

  • ✏️ update module.ecs_service["backend-celery-service"].aws_ecs_service.this
  • ♻️ replace module.ecs_task_definition["backend-celery"].aws_ecs_task_definition.this

Workflow run. Nothing is applied from pull requests.

@Ayush8923
Ayush8923 merged commit 02bde20 into main Dec 5, 2026
4 checks passed
@Ayush8923
Ayush8923 deleted the enhancement/experiment-gevent branch December 5, 2026 09:54

This branch was successfully deployed

1 active deployment
staging-pr-plan — 9feedf5f Deployed Dec 5, 2026 by AkhileshNegi via plan (staging) #34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants