Skip to content

Fix SOS.Tests musl apphost - #6005

Open
max-charlamb wants to merge 1 commit into
mainfrom
fix-sos-tests-musl-apphost
Open

Fix SOS.Tests musl apphost#6005
max-charlamb wants to merge 1 commit into
mainfrom
fix-sos-tests-musl-apphost

Conversation

@max-charlamb

Copy link
Copy Markdown
Member

Summary

  • build the SOS.Tests executable for the configured target RID
  • produce a musl-compatible apphost for Alpine test legs

Testing

  • Built SOS.Tests for linux-musl-x64
  • Verified the generated apphost uses /lib/ld-musl-x86_64.so.1

Set the test executable runtime identifier from TargetRid so Alpine receives a musl-compatible apphost.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 90d32376-768b-4f8c-a982-54247c372cf3
Copilot AI lite review requested due to automatic review settings September 3, 2026 17:05
@max-charlamb
max-charlamb requested a review from a team as a code owner September 3, 2026 17:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is small, consistent with existing SOS test harness projects, and directly addresses the musl apphost requirement described in the PR.

Pull request overview

This PR ensures the SOS.Tests test executable is built with an apphost for the configured runtime identifier (RID), which is necessary for Alpine (musl) test legs where a glibc apphost would not run.

Changes:

  • Set RuntimeIdentifier for SOS.Tests to $(TargetRid) so the build produces an RID-specific apphost.
  • Align SOS.Tests with other SOS test harness executables that already build with $(TargetRid).
File summaries
File Description
src/tests/SOS.Tests/SOS.Tests.csproj Builds the test executable with an apphost for the configured $(TargetRid), enabling musl-compatible execution on Alpine legs.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

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.

3 participants