Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@nesitor
Copy link
Member

@nesitor nesitor commented Dec 9, 2025

Fix: Solve issue about existing port mapping on network recreation process.

Self proofreading checklist

  • The new code clear, easy to read and well commented.
  • New code does not duplicate the functions of builtin or popular libraries.
  • An LLM was used to review the new code and look for simplifications.
  • New classes and functions contain docstrings explaining what they provide.
  • All new code is covered by relevant tests.
  • Documentation has been updated regarding these changes.
  • Dependencies update in the project.toml have been mirrored in the Debian package build script packaging/Makefile

Changes

Existing mapping ports are reset now before creating it again.

How to test

Execute the network/recreate endpoint with the proper auth and ensure that all the firewall rules are properly re-created and all the previous existing ones are removed.

@nesitor nesitor requested review from 1yam and odesenfans December 9, 2025 18:01
@nesitor nesitor self-assigned this Dec 9, 2025
@codecov
Copy link

codecov bot commented Dec 9, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 65.24%. Comparing base (3398286) to head (86145b6).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/aleph/vm/orchestrator/views/__init__.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #853      +/-   ##
==========================================
+ Coverage   65.22%   65.24%   +0.02%     
==========================================
  Files          88       88              
  Lines        8514     8515       +1     
  Branches      756      756              
==========================================
+ Hits         5553     5556       +3     
+ Misses       2726     2724       -2     
  Partials      235      235              

☔ 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.

Copy link
Member

@1yam 1yam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nesitor nesitor merged commit f51cf96 into main Dec 15, 2025
35 of 37 checks passed
@nesitor nesitor deleted the andres-fix-solve_network_recreate_endpoint_issue branch December 15, 2025 16:33
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.

3 participants