semian icon indicating copy to clipboard operation
semian copied to clipboard

:monkey: Resiliency toolkit for Ruby for failing fast

Results 51 semian issues
Sort by recently updated
recently updated
newest added

The refactoring in https://github.com/rails/rails/pull/44591 we started seeing errors like `NoMethodError: undefined method 'semian_resource' for nil:NilClass` coming from Semian. While this is called from shopify/shopify, the `connection` that's `nil` is the...

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.31.2 to 1.33.0. Release notes Sourced from rubocop's releases. RuboCop 1.33 Bug fixes #10830: Fix an incorrect autocorrect for Layout/FirstArgumentIndentation when specifying EnforcedStyle: with_fixed_indentation of Layout/ArgumentAlignment and...

dependencies
ruby

Bumps [rubocop-minitest](https://github.com/rubocop/rubocop-minitest) from 0.20.1 to 0.21.0. Release notes Sourced from rubocop-minitest's releases. RuboCop Minitest 0.21.0 New features #109: Add new Minitest/AssertRaisesCompoundBody cop. (@​fatkodima) Changelog Sourced from rubocop-minitest's changelog. 0.21.0 (2022-07-31)...

dependencies
ruby

Bumps [grpc](https://github.com/google/grpc) from 1.47.0 to 1.48.0. Release notes Sourced from grpc's releases. Release v1.48.0 This is release 1.48.0 (garum) of gRPC Core. For gRPC documentation, see grpc.io. For previous releases,...

dependencies
ruby

This PR adds a circuit breaker that opens when the error percentage crosses some threshold (ex, 25% of calls failed in the last 10 seconds), also discussed here: https://github.com/Shopify/semian/issues/245. Ideally...

Semian

## What This PR adds a `min_tickets` argument to the Semian bulkheads. ## Why At Shopify, our Semian configuration for MySQL sets `quota` to `0.51` and has this comment: ```ruby...

This PR proposes an intuitive way to configure `:error_threshold` for Semian HTTP configurations. The user configures a `:capacity` option as a percentage and the `:error_threshold` is calculated based upon a...

Suggested to code review it horizontally (all the way through for one feature set instead of layer by layer), since it's easier to see the flow of code execution like...

Semian

@Sirupsen @csfrancis @byroot for review, suggest refactoring if needed! Implementation details: Shared memory stores the space of `int`+`int`+`double[]`, corresponding to `@successes`, `@errors.count`, and the `@errors` array itself (stored as doubles)....

This pull request adds OS X support to Semian. The biggest potentially controversial change here is that I've removed the ticket acquisition timeout entirely. This is because OS X doesn't...