patrick-kladek / callisto Goto Github PK
View Code? Open in Web Editor NEWParse Clang Static Analyzer messages and pass them to Slack
License: MIT License
Parse Clang Static Analyzer messages and pass them to Slack
License: MIT License
Currently Callisto is returning with error code 0 if fastlane is crashing. This leads to wrong success reporting on the CI server.
Sample output
[13:45:31]: fastlane finished with errors
--
|
| Looking for related GitHub issues on fastlane/fastlane...
|
| ➡️ macOS unit tests crashing - undefined method `each' for nil:NilClass (NoMethodError)
| https://github.com/fastlane/fastlane/issues/15905 [open] 2 💬
| 2 weeks ago
|
| ➡️ [Swift] undefined method `each' for nil:NilClass - Cannot Create Group Within FastlaneSwiftRunner Project
| https://github.com/fastlane/fastlane/issues/15184 [open] 18 💬
| a week ago
|
| ➡️ fastlane deliver download_metadata crash
| https://github.com/fastlane/fastlane/issues/15806 [open] 8 💬
| 5 days ago
|
| and 168 more at: https://github.com/fastlane/fastlane/search?q=undefined%20method%20%60each%27%20for%20nil&type=Issues&utf8=✓
|
| 🔗 You can ⌘ + double-click on links to open them directly in your browser.
| bundler: failed to load command: fastlane (/Users/deployment/gems/ruby/2.6.0/bin/fastlane)
| NoMethodError: [!] undefined method `each' for nil:NilClass
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/scan/lib/scan/runner.rb:35:in `test_app'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/scan/lib/scan/runner.rb:22:in `run'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/scan/lib/scan/manager.rb:23:in `work'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/actions/run_tests.rb:16:in `run'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/runner.rb:261:in `block (2 levels) in execute_action'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/runner.rb:253:in `block in execute_action'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/runner.rb:227:in `chdir'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/runner.rb:227:in `execute_action'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
| Fastfile:245:in `block (2 levels) in parsing_binding'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/lane.rb:33:in `call'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
| /Users/deployment/gems/ruby/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
| /Users/deployment/gems/ruby/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
| /Users/deployment/gems/ruby/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
| /Users/deployment/gems/ruby/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/commands_generator.rb:349:in `run'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off'
| /Users/deployment/gems/ruby/2.6.0/gems/fastlane-2.141.0/bin/fastlane:23:in `<top (required)>'
| /Users/deployment/gems/ruby/2.6.0/bin/fastlane:23:in `load'
| /Users/deployment/gems/ruby/2.6.0/bin/fastlane:23:in `<top (required)>'
Results in error code 0
Currently we have one CommandLine Target and one UnitTest target. To support unit testing, all source code has to be added to both targets.
Better structure would be to move the Calisto code into a framework target which is unit-testable and have only a very compact main.swift in the command line target, which executes the framework.
Currently, we fail fatal if GitHub is not reachable. We should replace this with a log information. GithubCommunicationController:75
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.