Skip to content

Fix GUI setup command packaging#945

Merged
rysweet merged 2 commits intomainfrom
fix/gui-simard-clean-1775320305
Apr 4, 2026
Merged

Fix GUI setup command packaging#945
rysweet merged 2 commits intomainfrom
fix/gui-simard-clean-1775320305

Conversation

@rysweet
Copy link
Copy Markdown
Owner

@rysweet rysweet commented Apr 4, 2026

Summary

  • fix azlin gui remote dependency setup so apt failures propagate correctly instead of collapsing into the empty GUI dependency/setup phase failed (exit 1): exit code 1 path
  • add a real-VM gadugi regression scenario for azlin gui Simard and make its VNC connection checks fatal
  • align GUI docs and CLI help text with the actual implementation (vncviewer requirement, connect --x11 behavior, --yes compatibility semantics)

Fixes #944.

Scope

  • rust/crates/azlin/src/cmd_gui.rs
  • rust/crates/azlin-cli/src/lib.rs
  • tests/agentic-scenarios/pr-945-gui-setup-regression.yaml
  • docs/GUI_FORWARDING.md
  • docs-site/advanced/gui-forwarding.md

Real-VM QA evidence

  • Target VM: Simard
  • Scenario: tests/agentic-scenarios/pr-945-gui-setup-regression.yaml
  • Validate: gadugi-test validate -f tests/agentic-scenarios/pr-945-gui-setup-regression.yaml
  • Run: gadugi-test run -s pr-945-gui-setup-regression -d tests/agentic-scenarios --timeout 240000
  • Evidence artifact: outputs/sessions/session_9319adb3-a625-4fce-949a-dc1dae4a2311_2026-04-04T17-53-16-771Z.json
  • Key output:
    • Launching VNC viewer (127.0.0.1:5901)...
    • CConn: Connected to host 127.0.0.1 port 5901
    • GUI_SIMARD_CONNECTION_OK

Rust / CLI validation

  • cargo test -q -p azlin --bin azlin test_build_dependency_setup_script_is_noninteractive
  • cargo test -q -p azlin --bin azlin test_build_dependency_setup_script_propagates_apt_failures
  • cargo test -q -p azlin --bin azlin test_dependency_setup_runner_uses_outer_timeout
  • cargo test -q -p azlin --bin azlin test_dependency_setup_nonzero_exit_is_explicit_failure
  • cargo test -q -p azlin-cli --lib

Quality audit

  • Cycle 1 found real blockers and they were fixed:
    • apt failure propagation in cmd_gui.rs
    • non-fatal grep checks in the gadugi scenario
    • stale GUI docs/help claims (connect --x11 auto-install, --no-viewer, automatic xauth / compression claims, generic VNC viewer support, misleading --yes wording)
  • Post-fix review status:
    • qaudit-postfix-cycle2: clean
    • qaudit-final-code-review: no remaining merge blockers in PR scope
    • qaudit-final-reviewer: no remaining merge blockers in PR scope
  • Note: one earlier code-review pass reported the pre-fix staged shell bug; that finding is superseded by the later pushed fix and final clean reviews above.

CI

  • Latest push: e3b13768
  • Fresh GitHub Actions reran after this push
  • At the time of this update, all non-Rust checks are green, OSSF Scorecard is skipped, and only the two Rust CI/build-and-test jobs are still running

Ryan Sweet and others added 2 commits April 4, 2026 09:37
Fixes #944

The GUI dependency/setup helper was packaging a remote bash -lc command in a form that returned an empty exit 1 over the bastion tunnel path on Simard. Replace that with explicit command checks that survive the real SSH/tunnel execution path while preserving non-interactive apt setup behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add explicit apt-failure coverage, align GUI docs with actual CLI behavior, and include the real-VM gadugi regression scenario for PR #945.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rysweet rysweet merged commit 67200fd into main Apr 4, 2026
13 checks passed
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.

azlin gui Simard still fails after PR #939 merge

1 participant