This repository was archived by the owner on Jun 30, 2025. It is now read-only.
feat(debug): add brew config and brew doctor output#112
Merged
ReenigneArcher merged 1 commit intomasterfrom May 2, 2025
Merged
feat(debug): add brew config and brew doctor output#112ReenigneArcher merged 1 commit intomasterfrom
brew config and brew doctor output#112ReenigneArcher merged 1 commit intomasterfrom
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #112 +/- ##
==========================================
- Coverage 91.27% 90.62% -0.66%
==========================================
Files 1 1
Lines 149 160 +11
==========================================
+ Hits 136 145 +9
- Misses 13 15 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
6f8d671 to
8c9ac7f
Compare
8c9ac7f to
330b856
Compare
330b856 to
6395c07
Compare
brew config and brew doctor output
There was a problem hiding this comment.
Pull Request Overview
This PR adds functionality to provide additional Homebrew debug output by running the "brew config" and "brew doctor" commands.
- Added brew_debug() in action/main.py to run and print output from brew config and brew doctor.
- Updated main() in action/main.py to check the debug output and raise an error if the commands fail.
- Added test_brew_debug() in tests/unit/test_main.py to verify the new debug function.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| tests/unit/test_main.py | Added unit test for brew_debug() |
| action/main.py | Introduced brew_debug() and integrated it in main() |
ReenigneArcher
commented
Apr 30, 2025
ReenigneArcher
commented
Apr 30, 2025
ReenigneArcher
commented
Apr 30, 2025
86e623b to
00ae3b4
Compare
00ae3b4 to
8eb9c1b
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Brew 4.5.0 is causing audit failures.
I believe it's something to do with autobump, but not 100% sure how to resolve this yet.
--no-autobumpflag Homebrew/brew#19685Pulled the help chain in homebrew discussions as I really have no ideas on any workarounds:
Issue was fixed by Homebrew/brew#19854
This PR will instead simply output the additional info required for brew issues, i.e.
brew doctorandbrew configScreenshot
Issues Fixed or Closed
Type of Change
.github/...)Checklist