Skip to content

Fix run-app-local build argument forwarding#939

Merged
shanselman merged 1 commit into
mainfrom
fix-run-app-local-build-args
Jul 7, 2026
Merged

Fix run-app-local build argument forwarding#939
shanselman merged 1 commit into
mainfrom
fix-run-app-local-build-args

Conversation

@shanselman

Copy link
Copy Markdown
Contributor

Summary

  • Fixes run-app-local.ps1 so its default build path forwards Configuration to build.ps1 by name instead of accidentally binding -Configuration as the positional Project argument.
  • Keeps -Dev forwarding explicit through the existing DevBuild switch.
  • Updates the existing source-contract test that guards local launcher identity wiring.

Validation

  • dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --filter "FullyQualifiedName~LocalInstallerBuild_UsesOneIdentitySwitchAndValidatesPayloadMarker" — passed: 1.
  • .\run-app-local.ps1 -DryRun -Configuration Debug — passed after stopping the previously launched tray process that locked the output assembly.
  • .\build.ps1 — passed.
  • dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore — passed: 2703 passed / 31 skipped.
  • dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore — passed: 1584 passed.

Real behavior proof

  • run-app-local.ps1 default build path now invokes build.ps1 successfully without mis-binding -Configuration.
  • Non-isolated release/default local launch from main succeeded after the fix.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@shanselman shanselman merged commit 2c6873e into main Jul 7, 2026
10 checks passed
@shanselman shanselman deleted the fix-run-app-local-build-args branch July 7, 2026 06:47
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