ruby / ruby/rake

Rake exception tracking middleware / generic middleware API?

Open
#198 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
2.5k
Forks
650
Avg merge
6m
Merged PRs (30d)
3

Description

I'm looking for a way to introduce something like a middleware, which will encapsulate the task, rescue errors, and then report those errors to a ticketing system like Raygun.io.

Does such a rake middleware API exist? If not, what is the recommended way to handle tracking of exceptions in rake tasks?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating Rake's task execution and exception-handling paths, then review any existing extension APIs for wrapping task execution. Done would require a decided middleware or exception-reporting API and documented recommended behavior for Rake tasks.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.