Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #400

Merged
merged 5 commits into from
Aug 26, 2024
Merged

Fix CI #400

merged 5 commits into from
Aug 26, 2024

Commits on Aug 25, 2024

  1. Allow to run GithubActions on any branch and to manually trigger it

    The main branch is `main`, not `master`. This change is required to trigger GithubActions on each push to the `main` branch.
    sharshenov committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    82d9d05 View commit details
    Browse the repository at this point in the history
  2. Suppress Bugsnag logging in Rspec output

    Removes the next message from RSpec output:
    
    ```
    ** [Bugsnag] 2024-08-25 16:46:45 +0100: Notifying https://notify.bugsnag.com of RuntimeError
    ```
    sharshenov committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    9e7d239 View commit details
    Browse the repository at this point in the history
  3. Suppress Datadog logging in RSpec output

    Removes the next message from RSpec output:
    
    ```
    E, [2024-08-25T18:20:18.087844 #62797] ERROR -- ddtrace: [ddtrace] (gems/ddtrace-1.23.3/lib/datadog/tracing/transport/http/client.rb:41:in `rescue in send_request') Internal error during Datadog::Tracing::Transport::HTTP::Client request. Cause: Errno::ECONNREFUSED Failed to open TCP connection to 127.0.0.1:8126 (Connection refused - connect(2) for "127.0.0.1" port 8126) Location: /lib/ruby/2.7.0/net/http.rb:960:in `initialize'
    ```
    sharshenov committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    76472ac View commit details
    Browse the repository at this point in the history
  4. Fix worker error handlers specs

    Error handling specs were broken since `c66dc7139a467ef9398c86f1aca6f65ee83c59bc` as the RSpec stubs methods with arity `-1` causing the next exception:
    
    ```
    Failure/Error: backend.handle *args.first(backend.method(:handle).arity)
    
    ArgumentError:
      negative array size
    ```
    
    This commit fixes the error to skipping stubbing and testing the result (log output). Also it adds a couple of specs to ensure error handlers for support of delivery_info
    sharshenov committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    5e45869 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ed5f032 View commit details
    Browse the repository at this point in the history