mirror of
https://github.com/lucannez64/darling-lol.git
synced 2026-10-26 19:47:42 +00:00
A launcher can exit while its long-lived close/hide helper remains. The next run then starts another watcher, so several copies watch the same prefix. Add an opt-in RCLOL_CLEAN_STALE_HELPERS=1 preflight that removes only helper processes of this prefix reparented to init/systemd. Helpers of a live launcher, other prefixes, the game, Riot/League/CEF, darlingserver and the runtime are preserved. Unreadable or relative process data leaves a process alone. Validated across repeated launcher starts: the cleanup removed four, then one, then one orphaned watcher; a subsequent dry run reported no orphaned helpers. Zombie reaping after partial recovery is tracked separately in #124.
36 lines
1.7 KiB
YAML
36 lines
1.7 KiB
YAML
name: Source package checks
|
|
on: [push, pull_request]
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
nix-fonts:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: cachix/install-nix-action@3c6342b75005b9cc7c7d4069c3e9179247c89012 # v31
|
|
- run: nix build .#checks.x86_64-linux.fonts --no-link -L
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- run: python scripts/validate.py
|
|
- run: python tools/riot-input-offline-check.py
|
|
- run: python tools/riot-launcher-offline-check.py
|
|
- run: python tools/riot-runtime-cleanup-offline-check.py
|
|
- run: python tools/riot-cdn-dns-offline-check.py
|
|
- run: python -m unittest discover -s tests -p 'test_nix_fonts.py'
|
|
- run: python -m unittest discover -s tests -p 'test_nix_repairs.py'
|
|
- run: python -m unittest discover -s tests -p 'test_hidden_riot_recovery.py'
|
|
- run: python -m unittest discover -s tests -p 'test_desktop_run.py'
|
|
- run: python -m unittest discover -s tests -p 'test_desktop_entry.py'
|
|
- run: python -m unittest discover -s tests -p 'test_urlsession_runner.py'
|
|
- run: python -m unittest discover -s tests -p 'test_system_profiler.py'
|
|
- run: python -m unittest discover -s tests -p 'test_metal_device_info.py'
|
|
- run: python -m unittest discover -s tests -p 'test_exec_guest.py'
|
|
- run: python -m unittest discover -s tests -p 'test_close_league_client_in_game.py'
|
|
- run: python -m unittest discover -s tests -p 'test_recover_stale_client.py'
|
|
- run: python -m unittest discover -s tests -p 'test_clean_stale_helpers.py'
|