Skip to content

Retire pre-v0.9 LXC network paths - #1423

Closed
Gudge (MGudgin) wants to merge 1 commit into
user/gudge/retire-network-windows-vmfrom
user/gudge/retire-network-lxc
Closed

Gudge (MGudgin) wants to merge 1 commit into
user/gudge/retire-network-windows-vmfrom
user/gudge/retire-network-lxc

Conversation

@MGudgin

@MGudgin Gudge (MGudgin) commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

📖 Description

This PR removes unreachable pre-v0.9 LXC host-list and proxy routing while keeping supported directional CIDR enforcement. Reused containers check and clear stale proxy pins inside the container before launching a workload.

Details

  • Retire legacy host routing and proxy branches without changing the supported request shape.
  • Lower directional egress through typed CIDRs and reject unsupported policy early.
  • Keep simple, fail-closed in-container stale-pin cleanup on reuse.

🔗 References

Depends on #1422. The live LXC workflow is main-target-only; this stacked PR needs a manual dispatch.

🔍 Validation

Tests

  • From src/, cargo fmt --all -- --check: passed.
  • cargo check --workspace --all-targets --all-features --quiet: passed.
  • cargo clippy --workspace --all-targets --all-features --quiet -- -D warnings: passed.
  • cargo test --workspace --quiet: passed.
  • cargo test -p mxc-sdk --lib lxc::common --quiet: 284 passed on Windows.
  • Debian WSL, from src/, cargo check -p mxc-sdk --all-targets --quiet: passed.
  • Debian WSL, cargo test -p mxc-sdk --lib lxc::common --quiet -- --test-threads=1: 303 passed.
  • Live LXC container tests were not run locally; the stacked head needs a manual lxc-e2e.yml dispatch.

✅ Checklist

📋 Issue Type

  • Bug fix
  • Feature
  • Task

GitHub Actions runs the PR validation build automatically. The ADO pipeline
(MXC-PR-Build) is the Azure version of the PR pipeline, kept in parity with the GitHub
Actions build; it runs on merge to main, and Microsoft reviewers with write access can trigger it
on a PR with /azp run. See docs/pull-requests.md.

If the dependency-feed-check check fails on a new dependency, the crate must be added to
the feed before the PR can pass. See docs/pull-requests.md
for the steps.

Microsoft Reviewers: Open in CodeFlow

@MGudgin
Gudge (MGudgin) requested a review from a team as a code owner October 6, 2026 21:17
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

This PR removes unreachable LXC host-list and proxy routing and lowers
directional CIDRs through typed rules. Reused containers check for stale
proxy pins inside the container before launching workloads.

Details

* Reject unsupported network policy before container creation.
* Remove old host routing while retaining in-container pin cleanup.
* Document the supported directional-only LXC posture.

Tests

* cargo fmt --all -- --check and cargo test --workspace --quiet: passed.
* cargo check --workspace --all-targets --all-features --quiet: passed.
* cargo clippy --workspace --all-targets --all-features --quiet --
  -D warnings: passed.
* LXC units: 284 passed on Windows, 303 passed on Linux.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 7570a662-a429-46d2-aa24-47fae6655cc4
Generated-with: gpt-6-sol
@MGudgin
Gudge (MGudgin) force-pushed the user/gudge/retire-network-windows-vm branch from 2544f21 to d4d9e17 Compare October 6, 2026 23:01
@MGudgin
Gudge (MGudgin) force-pushed the user/gudge/retire-network-lxc branch from dc5aef1 to 6117179 Compare October 6, 2026 23:05
@MGudgin

Copy link
Copy Markdown
Member Author

Superseded by merged #1397, which includes the LXC cleanup in this stacked PR. Closing this alternative PR.

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