knapsack_pro 7.7.0 → 7.8.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ef08fdcb6733ab55c27b8950c057f60798399e6af3ca535fcd8a9e7982b9c29
|
4
|
+
data.tar.gz: 43e412bce3cab199ff2beaf9218f0c0b3ad8f8ac8998b3a3081b3dfaf8aacdde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e57cf0ed3ee020aa241ac13eb70b4e559fec9fece0b80d316ee832b16e52ad4711953a02aa86a576a3e67e89d200c50d22d6aa33f50280f71ff4a9f925c14f1
|
7
|
+
data.tar.gz: ceb0f1f95f900f2f243fcb5ddf8698fe5a9f213f115bcf3fd05bdb12bcc332d750ceabc01c790b2a67e56facf2868e05a9fa46da51a0d5e405849725c6b0d8ba
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,20 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
###
|
3
|
+
### 7.8.1
|
4
|
+
|
5
|
+
* Handle `nil` in `Thread#backtrace` and `Exception#backtrace`.
|
6
|
+
|
7
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/pull/272
|
8
|
+
|
9
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v7.8.0...v7.8.1
|
10
|
+
|
11
|
+
### 7.8.0
|
12
|
+
|
13
|
+
* Add a link to help you read the backtrace.
|
14
|
+
|
15
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/pull/267
|
16
|
+
|
17
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v7.7.0...v7.8.0
|
4
18
|
|
5
19
|
### 7.7.0
|
6
20
|
|
@@ -71,6 +71,7 @@ module KnapsackPro
|
|
71
71
|
puts '=' * 80
|
72
72
|
puts "Start logging #{threads.count} detected threads."
|
73
73
|
puts 'Use the following backtrace(s) to find the line of code that got stuck if the CI node hung and terminated your tests.'
|
74
|
+
puts 'How to read the backtrace: https://knapsackpro.com/perma/ruby/backtrace-debugging'
|
74
75
|
|
75
76
|
threads.each do |thread|
|
76
77
|
puts
|
@@ -80,7 +81,7 @@ module KnapsackPro
|
|
80
81
|
puts "Non-main thread inspect: #{thread.inspect}"
|
81
82
|
puts "Non-main thread backtrace:"
|
82
83
|
end
|
83
|
-
puts thread.backtrace
|
84
|
+
puts thread.backtrace&.join("\n")
|
84
85
|
puts
|
85
86
|
end
|
86
87
|
|
@@ -58,7 +58,7 @@ module KnapsackPro
|
|
58
58
|
rescue Exception => exception
|
59
59
|
KnapsackPro.logger.error("An unexpected exception happened. RSpec cannot handle it. The exception: #{exception.inspect}")
|
60
60
|
KnapsackPro.logger.error("Exception message: #{exception.message}")
|
61
|
-
KnapsackPro.logger.error("Exception backtrace: #{exception.backtrace
|
61
|
+
KnapsackPro.logger.error("Exception backtrace: #{exception.backtrace&.join("\n")}")
|
62
62
|
|
63
63
|
message = @rspec_pure.exit_summary(unexecuted_test_files)
|
64
64
|
KnapsackPro.logger.warn(message) if message
|
data/lib/knapsack_pro/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knapsack_pro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ArturT
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08
|
11
|
+
date: 2024-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -415,7 +415,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
415
415
|
- !ruby/object:Gem::Version
|
416
416
|
version: '0'
|
417
417
|
requirements: []
|
418
|
-
rubygems_version: 3.5.
|
418
|
+
rubygems_version: 3.5.16
|
419
419
|
signing_key:
|
420
420
|
specification_version: 4
|
421
421
|
summary: Knapsack Pro splits tests across parallel CI nodes and ensures each parallel
|