Commit Graph

13 Commits

Author SHA1 Message Date
Cody Cutrer d7fa5536da make compatible with redis 5.0 2023-09-27 10:50:36 -06:00
Isaac Moore 0e3e8c7ce7 Switch from `sentry-raven` to `sentry-ruby`
Fixes skroutz/rspecq#68
2022-01-03 10:08:15 -06:00
Rob Christie 4e4fc462db Add junit formatter. 2021-07-15 11:13:13 -07:00
Agis Anastasopoulos 6f0077a60e Bootstrap Rubocop configuration and fix offenses 2020-10-11 14:01:39 +03:00
Agis Anastasopoulos 22e3f7c267 Add rubocop to development dependencies 2020-10-11 14:01:24 +03:00
Agis Anastasopoulos 3364dd0213 Implement Sentry integration
This patch adds support for Workers to emit various RSpecQ internal events to
a Sentry[1] instance.

Reporting to Sentry is opt-in and is enabled by setting the SENTRY_DSN
environment variable (see
https://github.com/getsentry/raven-ruby#raven-only-runs-when-sentry_dsn-is-set).
If SENTRY_DSN is not set this is a noop.

Events emitted:

- [error] the spec file split command failed; slow spec files files will
  be scheduled as a whole so build times will be negatively impacted
- [warning] no previous timings were found in Redis; scheduling will be random
  so build times will be negatively impacted
- [info] slow files were detected and will be split, including the
  actual filenames

The above are still printed to the standard output of the worker.

Closes #8

[1] https://sentry.io
2020-08-08 21:58:17 +03:00
Agis Anastasopoulos 3e293605c9 Limit gemspec rspec-core condition to CI builds 2020-07-22 21:06:32 +03:00
Agis Anastasopoulos 52049e5561 Fix gemspec with no RSPEC_CORE var is set 2020-07-22 00:16:38 +03:00
Agis Anastasopoulos 124d21eec4 Add Travis configuration file
Closes #7
2020-07-22 00:09:22 +03:00
Agis Anastasopoulos c8a87dfd47 Add some initial tests
- end-to-end tests
- scheduling tests

Part of #1
2020-07-21 23:28:47 +03:00
Agis Anastasopoulos 85e0eb25d0 Update gem description 2020-07-05 17:37:00 +03:00
Agis Anastasopoulos b4dc43dd5c Depend in redis 2020-06-26 12:33:09 +03:00
Agis Anastasopoulos 9e386d9ff6 Initial commit 2020-06-26 09:32:07 +03:00