Skip to content

test(linux): synchronize environment sanitizer tests - #5710

Merged
ReenigneArcher merged 1 commit into
masterfrom
test/fix-glibc-issue
Sep 14, 2026
Merged

ReenigneArcher merged 1 commit into
masterfrom
test/fix-glibc-issue

Conversation

@ReenigneArcher

Copy link
Copy Markdown
Member

Description

Drain asynchronous test-start log records during fixture setup before mutating the process environment. This prevents older glibc releases on AArch64 from racing the logging formatter while preserving full sanitizer coverage and matching Sunshine's pre-logging startup order.

Screenshot

Issues Fixed or Closed

Roadmap Issues

Type of Change

  • feat: New feature (non-breaking change which adds functionality)
  • fix: Bug fix (non-breaking change which fixes an issue)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc.)
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit
  • BREAKING CHANGE: Introduces a breaking change (can be combined with any type above)

Checklist

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Code has been commented, particularly in hard-to-understand areas
  • Code docstring/documentation-blocks for new or existing methods/components have been added or updated
  • Unit tests have been added or updated for any new or modified functionality

AI Usage

See our AI usage policy.

  • None: No AI tools were used in creating this PR
  • Light: AI provided minor assistance (formatting, simple suggestions)
  • Moderate: AI helped with code generation or debugging specific parts
  • Heavy: AI generated most or all of the code changes

Drain asynchronous test-start log records during fixture setup before mutating the process environment. This prevents older glibc releases on AArch64 from racing the logging formatter while preserving full sanitizer coverage and matching Sunshine's pre-logging startup order.
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Sep 14, 2026

Copy link
Copy Markdown

Bundle Report

Bundle size has no change ✅

@codecov

codecov Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 38.13%. Comparing base (8cd8539) to head (ab68720).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #5710     +/-   ##
=========================================
  Coverage   38.13%   38.13%             
=========================================
  Files         105      105             
  Lines       26302    26302             
  Branches    11604    11603      -1     
=========================================
  Hits        10029    10029             
- Misses      13243    15258   +2015     
+ Partials     3030     1015   -2015     
Flag Coverage Δ
Alpine-aarch64 23.24% <ø> (-0.01%) ⬇️
Alpine-x86_64 23.36% <ø> (ø)
Archlinux 22.01% <ø> (ø)
FreeBSD-amd64 23.98% <ø> (ø)
Homebrew-macos-15 37.57% <ø> (ø)
Homebrew-macos-26 37.90% <ø> (+0.01%) ⬆️
Homebrew-ubuntu-24.04 25.23% <ø> (ø)
Linux-AppImage-aarch64 26.51% <ø> (ø)
Linux-AppImage-x86_64 26.70% <ø> (-0.04%) ⬇️
PowerShell 100.00% <ø> (ø)
Windows-AMD64 30.70% <ø> (ø)
Windows-ARM64 25.75% <ø> (+<0.01%) ⬆️
macOS-arm64 31.17% <ø> (ø)
macOS-x86_64 31.78% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 53 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8cd8539...ab68720. Read the comment docs.

@github-actions

github-actions Bot commented Sep 14, 2026

Copy link
Copy Markdown
Last Updated 2026-09-14 14:10:06 UTC
Source Run CI Run #5539
Commit ab68720bba1b7a34633e8023a54b5eb5a045796f

Screenshot Comparison

PR #5710 screenshots vs screenshots baseline.

Matrix: AppImage-aarch64

Image Baseline PR
sunshine_tray_initial.png
sunshine_tray_menu.png
sunshine_tray_pairing_request.png
sunshine_tray_paused.png
sunshine_tray_stopped.png
sunshine_tray_streaming.png
sunshine_tray_tooltip.png

Matrix: AppImage-x86_64

Image Baseline PR
sunshine_tray_initial.png
sunshine_tray_menu.png
sunshine_tray_pairing_request.png
sunshine_tray_paused.png
sunshine_tray_stopped.png
sunshine_tray_streaming.png
sunshine_tray_tooltip.png

Matrix: Windows-AMD64

Image Baseline PR
sunshine_tray_initial.png
sunshine_tray_menu.png
sunshine_tray_pairing_request.png
sunshine_tray_paused.png
sunshine_tray_stopped.png
sunshine_tray_streaming.png
sunshine_tray_tooltip.png

Matrix: Windows-ARM64

Image Baseline PR
sunshine_tray_initial.png
sunshine_tray_menu.png
sunshine_tray_pairing_request.png
sunshine_tray_paused.png
sunshine_tray_stopped.png
sunshine_tray_streaming.png
sunshine_tray_tooltip.png

Matrix: macOS-arm64

Image Baseline PR
sunshine_tray_initial.png
sunshine_tray_menu.png
sunshine_tray_pairing_request.png
sunshine_tray_paused.png
sunshine_tray_stopped.png
sunshine_tray_streaming.png
sunshine_tray_tooltip.png

Matrix: macOS-x86_64

Image Baseline PR
sunshine_tray_initial.png
sunshine_tray_menu.png
sunshine_tray_pairing_request.png
sunshine_tray_paused.png
sunshine_tray_stopped.png
sunshine_tray_streaming.png
sunshine_tray_tooltip.png

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