Skip to content

Backend: Implement EKS node autoscaling functionality in response to submission events.#5061

Open
RishabhJain2018 wants to merge 2 commits into
masterfrom
migrate-static-code-upload-challenges
Open

Backend: Implement EKS node autoscaling functionality in response to submission events.#5061
RishabhJain2018 wants to merge 2 commits into
masterfrom
migrate-static-code-upload-challenges

Conversation

@RishabhJain2018
Copy link
Copy Markdown
Member

  • Add new internal API endpoints for fetching autoscale metadata and pending submission counts.
  • Update challenge model to trigger autoscale checks on end date changes for Docker-based challenges.
  • Enhance submission handling to invoke autoscale on relevant status changes.
  • Include comprehensive unit tests for new features and ensure existing functionality remains intact.

…submission events. Add new internal API endpoints for fetching autoscale metadata and pending submission counts. Update challenge model to trigger autoscale checks on end date changes for docker-based challenges. Enhance submission handling to invoke autoscale on relevant status changes. Include comprehensive unit tests for new features and ensure existing functionality remains intact.
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 8, 2026

Codecov Report

❌ Patch coverage is 95.23810% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.35%. Comparing base (50156ea) to head (a84d3ef).

Files with missing lines Patch % Lines
apps/challenges/aws_utils.py 94.11% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5061      +/-   ##
==========================================
+ Coverage   92.34%   92.35%   +0.01%     
==========================================
  Files          93       93              
  Lines        7854     7905      +51     
==========================================
+ Hits         7253     7301      +48     
- Misses        601      604       +3     
Flag Coverage Δ
backend 96.56% <95.23%> (-0.03%) ⬇️
frontend 87.46% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Accounts & Authentication 97.31% <ø> (ø)
Challenges Management 95.53% <95.00%> (-0.04%) ⬇️
Job Processing 97.64% <100.00%> (+<0.01%) ⬆️
Participants & Teams 100.00% <ø> (ø)
Challenge Hosts 100.00% <ø> (ø)
Analytics 100.00% <ø> (ø)
Web Interface 100.00% <ø> (ø)
Frontend (Gulp) 87.46% <ø> (ø)
All Models 97.61% <100.00%> (-0.15%) ⬇️
All Views 100.00% <100.00%> (ø)
All Serializers 98.59% <ø> (ø)
Utility Functions 96.61% <94.11%> (-0.06%) ⬇️
Core Configuration 82.35% <ø> (ø)
Files with missing lines Coverage Δ
apps/challenges/models.py 95.94% <100.00%> (-0.23%) ⬇️
apps/challenges/urls.py 100.00% <ø> (ø)
apps/challenges/views.py 100.00% <100.00%> (ø)
apps/jobs/admin.py 100.00% <100.00%> (ø)
apps/jobs/tasks.py 100.00% <100.00%> (ø)
apps/jobs/views.py 100.00% <ø> (ø)
apps/challenges/aws_utils.py 98.11% <94.11%> (-0.17%) ⬇️
Files with missing lines Coverage Δ
apps/challenges/models.py 95.94% <100.00%> (-0.23%) ⬇️
apps/challenges/urls.py 100.00% <ø> (ø)
apps/challenges/views.py 100.00% <100.00%> (ø)
apps/jobs/admin.py 100.00% <100.00%> (ø)
apps/jobs/tasks.py 100.00% <100.00%> (ø)
apps/jobs/views.py 100.00% <ø> (ø)
apps/challenges/aws_utils.py 98.11% <94.11%> (-0.17%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 50156ea...a84d3ef. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

RishabhJain2018 added a commit that referenced this pull request Apr 19, 2026
…ation with docker/login-action for improved security and simplicity. Ensure credentials are only used when available, enhancing the CI/CD process. (#5061)
RishabhJain2018 added a commit that referenced this pull request Apr 19, 2026
* Remove Travis CI configuration and update documentation to reflect migration to GitHub Actions for CI/CD. Adjust Dockerfile and deployment scripts to support new environment variables and improve deployment processes. Update karma configuration to support multiple CI providers. (#5060)

* Refactor GitHub Actions workflow: Replace manual Docker Hub authentication with docker/login-action for improved security and simplicity. Ensure credentials are only used when available, enhancing the CI/CD process. (#5061)

* Update GitHub Actions workflow: Enhance Docker Hub authentication by using environment variables for credentials, ensuring authentication is only attempted when secrets are configured. Add CODECOV_TOKEN for Codecov uploads, improving coverage reporting. (#5062)

* Update GitHub Actions workflow: Enable Codecov uploads using GitHub OIDC for authentication, eliminating the need for CODECOV_TOKEN. This enhances security and simplifies the coverage reporting process. (#5063)
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.

1 participant