sidekiq-killswitch 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 16a6f2e7ff8e7ad601d13c63b6572a6609b39344
4
- data.tar.gz: d7857259bdadd1b46545977bae4a313966990218
2
+ SHA256:
3
+ metadata.gz: 19e742c53121e79d47f431622fb85caaa363db4e588465fcebbef34fd24b4c66
4
+ data.tar.gz: '073755898e20e6190cc4578b1094b42a8880a09e7c7825be55a27ad9ff585165'
5
5
  SHA512:
6
- metadata.gz: f05064da2b923e14c65119dd6507060a462014dc8d6a52de31d1ef39794358912d6a91fe5d2028aa7974f50ee84ad5940a1ca3a6d7b4a303cc8de9bbe445c1c7
7
- data.tar.gz: e6fe7320e902ff8e884e26d0e21861cfa27c9b3a3882cde4b58d28514663a4a437af5dc95e96f597a75c8adfc0e746717e85424b18cf2b6274d2c3ded4e7e5b4
6
+ metadata.gz: bb06743e6f30e348cf7187ac93853edde5a26c06764f52b2fd273cf6635456582d093da42632a1129dc218adf078068e6fb504441b059a46de818bdc726bbc5b
7
+ data.tar.gz: 071ba3570e2ded8313c637b39442e92f2c5d781751d49efc294057c2e272b73a2136dc017e810fccb99744c29f5cf18a73a29c485aad7a27cd94eae0c8b19b12
data/CHANGES.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 1.1.0 / 2024-07-01
2
+ * Add in warning banner to Sidekiq UI so users are linked to docs and informed of the difference of sending jobs to blackhole vs. dead queue
3
+
1
4
  ### 1.0.0 / 2018-02-20
2
5
  * `1.0.0.pre2` released as `1.0.0`.
3
6
 
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,25 @@
1
+ # Contributing
2
+
3
+ We welcome contributions. For small changes, open a pull request. If you'd like to discuss an improvement or fix before writing the code, please open a Github issue.
4
+
5
+ ## Reporting Issues
6
+
7
+ Please report issues in Github issues.
8
+
9
+ # Table of Contents
10
+
11
+ - [Contributing](#contributing)
12
+ - [Reporting Issues](#reporting-issues)
13
+ - [Table of Contents](#table-of-contents)
14
+ - [Technical Details](#technical-details)
15
+ - [Local Development](#local-development)
16
+
17
+
18
+ ## Technical Details
19
+ ### Local Development
20
+ Clone the repo and open in your IDE of choice.
21
+
22
+ ### Releasing a new version
23
+ Tag the branch with the appropriate version number (ex v1.2.0) with `git tag v1.2.0`.
24
+
25
+ Push to the remote repo with `git push origin --tags`
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sidekiq
4
4
  module Killswitch
5
- VERSION = '1.0.0'
5
+ VERSION = '1.1.0'
6
6
  end
7
7
  end
@@ -4,6 +4,16 @@
4
4
 
5
5
  <h3><%= t('blackholed_workers')%></h3>
6
6
 
7
+ <div class="alert alert-danger" role="alert">
8
+ <p>Blackholing workers drops instances of these workers when these instances are pushed to the Sidekiq queue or processed (<a
9
+ href="https://github.com/square/sidekiq-killswitch?tab=readme-ov-file#how-does-it-work" class="alert-link">docs</a>).</p>
10
+
11
+ <p>Only blackhole workers that you don't want to retry later! (e.g. cron jobs or jobs you don't care about) You should be able to reach a state
12
+ of correctness without retrying these workers.</p>
13
+
14
+ <p>Use <%= t('dead_queue_workers') %> if you want to retry these jobs later from the dead queue.</p>
15
+ </div>
16
+
7
17
  <form action="<%= root_path %>kill-switches/blackhole_add" method="post" style="margin-bottom: 4px;">
8
18
  <%= csrf_tag %>
9
19
  <input name="worker_name" />
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-killswitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuriy Naidyon
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-20 00:00:00.000000000 Z
11
+ date: 2024-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.49.1
83
- description:
83
+ description:
84
84
  email: yurokle@gmail.com
85
85
  executables: []
86
86
  extensions: []
@@ -89,6 +89,7 @@ files:
89
89
  - ".gitignore"
90
90
  - ".rubocop.yml"
91
91
  - CHANGES.md
92
+ - CONTRIBUTING.md
92
93
  - Gemfile
93
94
  - LICENSE
94
95
  - README.md
@@ -118,7 +119,7 @@ licenses:
118
119
  - Apache-2.0
119
120
  metadata:
120
121
  allowed_push_host: https://rubygems.org
121
- post_install_message:
122
+ post_install_message:
122
123
  rdoc_options: []
123
124
  require_paths:
124
125
  - lib
@@ -133,9 +134,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
134
  - !ruby/object:Gem::Version
134
135
  version: '0'
135
136
  requirements: []
136
- rubyforge_project:
137
- rubygems_version: 2.6.12
138
- signing_key:
137
+ rubygems_version: 3.4.19
138
+ signing_key:
139
139
  specification_version: 4
140
140
  summary: Cross-host Sidekiq worker killswitches
141
141
  test_files: