Skip to content

Fix test-packaging.yml action#42570

Open
sgress454 wants to merge 4 commits intomainfrom
sgress454/fix-test-macos-packaging
Open

Fix test-packaging.yml action#42570
sgress454 wants to merge 4 commits intomainfrom
sgress454/fix-test-macos-packaging

Conversation

@sgress454
Copy link
Copy Markdown
Contributor

@sgress454 sgress454 commented Mar 27, 2026

Related issue: Resolves #42573

Fixes failing test by replacing no-longer-supported --no-quarantine option with manually turning off quarantine for Wine.

Successful run here: https://github.com/fleetdm/fleet/actions/runs/23661332211

@sgress454 sgress454 changed the title try brew update Fix test-packaging.yml action Mar 27, 2026
@sgress454 sgress454 marked this pull request as ready for review March 27, 2026 18:33
Copilot AI review requested due to automatic review settings March 27, 2026 18:33
Copy link
Copy Markdown

@claude claude bot left a comment

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

lucasmrod
lucasmrod previously approved these changes Mar 27, 2026
@sgress454
Copy link
Copy Markdown
Contributor Author

Oh boy. Now I think I need approval from both @allenhouchins and one of the GitHub workflows owners.

- "tools/fleetctl-docker/**"
- "tools/wix-docker/**"
- "tools/bomutils-docker/**"
- ".github/workflows/test-packaging.yml"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Missed that this happened, it's just our prettier rule demanding double-quotes. Might as well keep it or it'll just happen next time someone else edits this file.

fail-fast: false
matrix:
os: [ubuntu-latest, macos-15]
os: [ubuntu-latest, macos-15, macos-26]
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Adding macos-26 to the matrix to test packaging on Tahoe.

Comment on lines -18 to +20
brew install --cask --no-quarantine fleet/local/wine-stable; exit 0
brew install --cask fleet/local/wine-stable
xattr -dr com.apple.quarantine "$(brew --prefix)/Caskroom/wine-stable"
exit 0
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

since --no-quarantine is no longer an option on brew install, we do it manually.

getvictor
getvictor previously approved these changes Mar 27, 2026
Rename/move macOS install-wine.sh from it-and-security/lib/macos/scripts to assets/scripts and update all references: adjust the GitHub Actions workflow to call the new script path and update the website route to point to the new repository location so links and CI use the relocated script.
@allenhouchins
Copy link
Copy Markdown
Member

@sgress454 the install-wine script wasn't even used in dogfood so I moved it to the folder where all the other "do not delete" scripts exist. Let me know if this creates any issues.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.65%. Comparing base (915feb9) to head (38c48ec).
⚠️ Report is 17 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main   #42570    +/-   ##
========================================
  Coverage   66.64%   66.65%            
========================================
  Files        2532     2533     +1     
  Lines      202930   203043   +113     
  Branches     9180     9231    +51     
========================================
+ Hits       135243   135332    +89     
- Misses      55439    55460    +21     
- Partials    12248    12251     +3     
Flag Coverage Δ
frontend 54.43% <ø> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sgress454
Copy link
Copy Markdown
Contributor Author

@sgress454 the install-wine script wasn't even used in dogfood so I moved it to the folder where all the other "do not delete" scripts exist. Let me know if this creates any issues.

test passed with the new path, works for me 👍

@sgress454 sgress454 requested a review from getvictor March 28, 2026 03:28
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.

macOS Test Packaging job failing in CI

5 participants