Skip to content

Conversation

olethanh
Copy link
Collaborator

Resolve a few issue I encountered when doing the mass deployment of 1.7.1

  1. Fix the Fallback server in haproxy getting removed and rending it unresponsive
  2. Fix CPU detection on coco-1
  3. Update doc on how to setup the dev env
  4. Speed up free port detection for forwarding, making allocate and restart faster.
  5. Add a debug endpint for haproxy
  6. Log error that get caugh by the json_error_middleware

@olethanh olethanh changed the title Fix HaProxy fallback server and others Fix HaProxy fallback server and others fixes Jul 18, 2025
@olethanh olethanh force-pushed the ol-haproxy-debug-fix branch from 5ef1e23 to 99e921f Compare July 18, 2025 11:38
Copy link

codecov bot commented Jul 18, 2025

Codecov Report

Attention: Patch coverage is 73.62637% with 24 lines in your changes missing coverage. Please review.

Project coverage is 64.76%. Comparing base (91891de) to head (4b98190).
Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
src/aleph/vm/orchestrator/views/__init__.py 18.18% 9 Missing ⚠️
src/aleph/vm/haproxy.py 42.85% 4 Missing ⚠️
src/aleph/vm/models.py 20.00% 4 Missing ⚠️
tests/supervisor/test_haproxy.py 93.75% 2 Missing and 2 partials ⚠️
src/aleph/vm/orchestrator/machine.py 0.00% 2 Missing ⚠️
src/aleph/vm/pool.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #822      +/-   ##
==========================================
+ Coverage   63.86%   64.76%   +0.90%     
==========================================
  Files          86       87       +1     
  Lines        7937     8021      +84     
  Branches      708      716       +8     
==========================================
+ Hits         5069     5195     +126     
+ Misses       2656     2593      -63     
- Partials      212      233      +21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@olethanh olethanh force-pushed the ol-haproxy-debug-fix branch 2 times, most recently from 02bac6b to 0afc287 Compare July 23, 2025 11:56
@nesitor nesitor force-pushed the ol-haproxy-debug-fix branch from 8ffb41f to 4b98190 Compare July 24, 2025 10:05
@nesitor nesitor merged commit 87df619 into main Jul 24, 2025
22 checks passed
@nesitor nesitor deleted the ol-haproxy-debug-fix branch July 24, 2025 10:30
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