Skip to content

feat(windows): add WINE runtime context - #1995

Open
GtechGovind wants to merge 1 commit into
getsentry:masterfrom
GtechGovind:agent/add-wine-os-context
Open

feat(windows): add WINE runtime context#1995
GtechGovind wants to merge 1 commit into
getsentry:masterfrom
GtechGovind:agent/add-wine-os-context

Conversation

@GtechGovind

Copy link
Copy Markdown

Closes #1004.

Summary

  • detect WINE through the exports exposed by ntdll.dll
  • add a separate wine context with the WINE version and available build/host metadata
  • avoid adding the context on native Windows or when the required WINE version export is unavailable
  • add unit coverage for complete, optional, missing, and empty metadata

Validation

  • make test-unit
  • clang-format verification via scripts/check-clang-format.py

Notes

The WINE export lookup is Windows-specific. The injectable context builder keeps the export handling independently testable without requiring the unit runner itself to execute under WINE.

@GtechGovind
GtechGovind marked this pull request as ready for review August 16, 2026 12: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.

Add WINE meta-data to OS context.

1 participant