Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
e3d5fe7 to
fed9f9d
Compare
Root cause: process-local port allocator starting at 50200 could silently route readiness checks into an older VM through a stale bastion tunnel. Fixes: - Replace fixed port allocator with OS-allocated ephemeral ports - Purge duplicate-port registry claimants on new tunnel creation - Verify listener on selected local port belongs to spawned az bastion tunnel process tree (not any arbitrary listener) - Extract cloud-init provisioning logic into azlin-azure crate - Add gadugi scenario test for chromium snap session-scope provisioning Validated: 2 consecutive live runs passed all assertions (sentinel present, browser headless, alias headless, GUI launch gate) against fresh VM. Closes #957 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix: Harden bastion tunnel port isolation and chromium provisioning
Root Cause
Process-local port allocator starting at 50200 could silently route readiness checks into an older VM through a stale bastion tunnel, causing provisioning verification to report success against the wrong VM.
Changes
az bastion tunnelprocess treeValidation Evidence
4076e10fefa3ed15Both runs validated against fresh VM
pr957-chromium-1775604412:/var/lib/azlin/.provisioned)cargo check -p azlincleanCloses #957