Skip to content

fix(packaging): enforce Arch PKGBUILD lint - #6229

Merged
ReenigneArcher merged 2 commits into
masterfrom
codex/fix-arch-pkgb-lint
Dec 5, 2026
Merged

ReenigneArcher merged 2 commits into
masterfrom
codex/fix-arch-pkgb-lint

Conversation

@ReenigneArcher

@ReenigneArcher ReenigneArcher commented Dec 5, 2026 •

Copy link
Copy Markdown
Member

Description

Remove runtime dependency sorting from the Arch PKGBUILD. Namcap evaluates the recipe with a restricted PATH, so the unavailable sort command emptied makedepends even though it included git. Add the SunshineStream maintainer tag with links to the Sunshine and pacman-repo issue trackers. Common lint job

Make Sunshine's Arch workflow fail when namcap reports a warning or error on the generated recipe. The workflow still logs informational messages.

Screenshot

Issues Fixed or Closed

Roadmap Issues

Testing

  • Reproduced both warnings on the original template and generated PKGBUILD. Ran the shared Arch namcap check on both updated forms with no warnings or errors.
  • Confirmed identical makepkg --printsrcinfo output before and after across all six CUDA and headless-testing combinations.
  • Ran the workflow's gate against the generated recipe and temporary warning and error variants in an Arch container. Informational output passed, warnings and errors failed, and a nonzero namcap exit propagated.
  • Passed actionlint and git diff --check. Local validation covered generation, lint, and package metadata.

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
  • Tests have been added or updated for new or modified functionality, including regression tests for bug fixes

AI Usage

See our AI usage policy.

  • AI tools were used while preparing this PR

This pull request was generated by Codex (GPT-6.2 Sol, extra high thinking level).

Copy link
Copy Markdown
Member Author

This pull request was generated by Codex (GPT-6.2 Sol, extra high thinking level).

@codecov

codecov Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

Bundle Report

Bundle size has no change ✅

@sonarqubecloud

sonarqubecloud Bot commented Dec 5, 2026

Copy link
Copy Markdown

@codecov

codecov Bot commented Dec 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.51%. Comparing base (139dbd7) to head (366b9c3).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #6229    +/-   ##
========================================
  Coverage   52.51%   52.51%            
========================================
  Files         149      149            
  Lines       33003    33003            
  Branches    13895    13895            
========================================
  Hits        17331    17331            
- Misses      12642    13570   +928     
+ Partials     3030     2102   -928     
Flag Coverage Δ
Alpine-aarch64 36.49% <ø> (+<0.01%) ⬆️
Alpine-x86_64 36.60% <ø> (ø)
Archlinux 37.32% <ø> (ø)
FreeBSD-amd64 37.19% <ø> (+<0.01%) ⬆️
Homebrew-macos-15 50.14% <ø> (ø)
Homebrew-macos-26 50.54% <ø> (ø)
Homebrew-ubuntu-24.04 38.62% <ø> (ø)
Linux-AppImage-aarch64 42.43% <ø> (-0.01%) ⬇️
Linux-AppImage-x86_64 42.68% <ø> (ø)
PowerShell 100.00% <ø> (ø)
Web-UI 57.88% <ø> (ø)
Windows-AMD64 42.58% <ø> (ø)
Windows-ARM64 36.22% <ø> (+0.05%) ⬆️
macOS-arm64 42.61% <ø> (-0.01%) ⬇️
macOS-x86_64 41.54% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 34 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 139dbd7...366b9c3. Read the comment docs.

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Last Updated 2026-12-05 15:42:43 UTC
Source Run CI Run #7112
Commit 366b9c30424bcd2b741d4f287ff80041403d119f

Screenshot Comparison

PR #6229 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

@ReenigneArcher
ReenigneArcher merged commit fece579 into master Dec 5, 2026
83 checks passed
@ReenigneArcher
ReenigneArcher deleted the codex/fix-arch-pkgb-lint branch December 5, 2026 16:08
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