Skip to content

Fix WSL gateway validation tray output path discovery #432

Closed

Description

@shanselman

Summary

validate-wsl-gateway.ps1 still appears to hardcode an old tray output target framework path:

src\OpenClaw.Tray.WinUI\bin\Debug\net10.0-windows10.0.19041.0\$runtimeIdentifier\OpenClaw.Tray.WinUI.exe

Current builds use the newer Windows TFM output path, so WSL validation can fail, launch stale output, or report misleading results.

Context

This was split out of #281. That older issue was originally framed as PR #274 validation blockers, but PR #274 has since merged and several original blockers appear fixed.

Acceptance criteria

  • The validation script discovers or derives the actual tray build output path produced by the current project/build.
  • -NoBuild fails clearly if the expected executable is missing or stale.
  • The validation summary records the executable path and runtime identifier used.
  • The old umbrella issue WSL local gateway onboarding validation blockers from PR #274 #281 can stay closed; any remaining WSL validation failures should get fresh focused issues with clean repros.

Activity

  1. added
    bug
    on May 18, 2026
  2. added a commit that references this issue on May 18, 2026
    c693f41
  3. github-actions commented on May 18, 2026

    @github-actions
    Contributor

    🤖 This is an automated response from Repo Assist.

    I've confirmed the bug and submitted a fix PR.

    The script hardcodes net10.0-windows10.0.19041.0 on line 67, but the tray project now targets net10.0-windows10.0.22621.0 (verified in OpenClaw.Tray.WinUI.csproj). This means any -NoBuild run fails immediately at the "executable not found" check, and even a fresh build produces output at the new path that the script can't locate.

    The fix reads TargetFramework from the csproj at startup via PowerShell XML parsing, so the path stays correct when the TFM changes in future. A draft PR has been submitted that addresses the acceptance criteria from this issue.

    Generated by 🌈 Repo Assist, see workflow run. Learn more.

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/repo-assist.md@97143ac59cb3a13ef2a77581f929f06719c7402a
    
  4. locked as resolved and limited conversation to collaborators on May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions