Skip to content

Test new enqueue and HTTP client Ruby instrumentations#371

Merged
unflxw merged 5 commits into
mainfrom
jobs-http-test-setups
Jul 13, 2026
Merged

Test new enqueue and HTTP client Ruby instrumentations#371
unflxw merged 5 commits into
mainfrom
jobs-http-test-setups

Conversation

@unflxw

@unflxw unflxw commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Expand the Ruby test setups to exercise the background-job enqueue
events and HTTP client integrations recently merged into appsignal-ruby.
Each commit below targets the specific appsignal-ruby PR it exercises.

Cover Faraday and chained HTTP.rb requests

Add Faraday GET/POST endpoints to rails7-sidekiq so the new automated
Faraday integration is exercised (and its downstream Net::HTTP event
suppressed). Add chained HTTP.rb requests -- a headers chain and a
followed redirect -- which run through HTTP::Session on http 6 and were
previously uninstrumented.

Targets:
appsignal/appsignal-ruby#1523 (Faraday)
appsignal/appsignal-ruby#1528 (HTTP.rb chained)

Exercise native Shoryuken enqueues

The rails6-shoryuken app only enqueued through Active Job, so the
enqueue.shoryuken event was never recorded (Active Job suppresses it).
Add a native Shoryuken worker on its own queue, enqueued from a web
request, so the enqueue is recorded on the request's transaction.

Targets appsignal/appsignal-ruby#1521.

Add a Que test application

Que had no test setup, so its enqueue.que and bulk_enqueue.que
events went unexercised. Add a Rails 8 app on PostgreSQL with native
Que jobs enqueued from a web request, including a bulk enqueue, plus
Active Job (adapter :que) jobs for the enqueue.active_job path.

Targets appsignal/appsignal-ruby#1522.

Add a Resque test application

Resque had no test setup, so its enqueue.resque event went
unexercised. Add a Rails 8 app on Redis with native Resque jobs
enqueued from a web request, plus Active Job (adapter :resque) jobs
for the enqueue.active_job path.

Targets appsignal/appsignal-ruby#1525.

Register Que and Resque apps in CI and README

Add the two new apps to the Ruby CI matrix and regenerate the README.

@backlog-helper

backlog-helper Bot commented Jul 9, 2026

Copy link
Copy Markdown

Hi @unflxw,

We've found some issues with your Pull Request.

  • This Pull Request is missing labels. Please add labels to help identify types of Pull Requests. - (More info)

New issue guide | Backlog management | Rules | Feedback

unflxw added 5 commits July 9, 2026 12:37
Add Faraday GET/POST endpoints to rails7-sidekiq so the new automated
Faraday integration is exercised (and its downstream Net::HTTP event
suppressed). Add chained HTTP.rb requests -- a headers chain and a
followed redirect -- which run through HTTP::Session on http 6 and were
previously uninstrumented.

Targets:
appsignal/appsignal-ruby#1523 (Faraday)
appsignal/appsignal-ruby#1528 (HTTP.rb chained)
The rails6-shoryuken app only enqueued through Active Job, so the
`enqueue.shoryuken` event was never recorded (Active Job suppresses it).
Add a native Shoryuken worker on its own queue, enqueued from a web
request, so the enqueue is recorded on the request's transaction.

Targets appsignal/appsignal-ruby#1521.
Que had no test setup, so its `enqueue.que` and `bulk_enqueue.que`
events went unexercised. Add a Rails 8 app on PostgreSQL with native
Que jobs enqueued from a web request, including a bulk enqueue, plus
Active Job (adapter :que) jobs for the `enqueue.active_job` path.

Targets appsignal/appsignal-ruby#1522.
Resque had no test setup, so its `enqueue.resque` event went
unexercised. Add a Rails 8 app on Redis with native Resque jobs
enqueued from a web request, plus Active Job (adapter :resque) jobs
for the `enqueue.active_job` path.

Targets appsignal/appsignal-ruby#1525.
@unflxw
unflxw force-pushed the jobs-http-test-setups branch from 1e2133b to 1d3ec71 Compare July 9, 2026 10:37
@unflxw unflxw changed the title Exercise the new job-enqueue and HTTP client instrumentation Test new enqueue and HTTP client Ruby instrumentations Jul 9, 2026
@unflxw
unflxw requested review from lipskis and tombruijn July 9, 2026 10:44
@backlog-helper

Copy link
Copy Markdown

This is a message from the daily scheduled checks.

New issue guide | Backlog management | Rules | Feedback

@unflxw
unflxw merged commit 7645000 into main Jul 13, 2026
76 checks passed
@unflxw
unflxw deleted the jobs-http-test-setups branch July 13, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant