sidequestjs / sidequestjs/sidequest

Error handling / events

Open
#118 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
1k
Forks
25
Avg merge
12h 17m
Merged PRs (30d)
5

Description

Discussed in https://github.com/sidequestjs/sidequest/discussions/117

Originally posted by iffa October 11, 2025
Background information: due to an oopsie of mine, our dev environment had an incorrect Sidequest config for a while which we did not notice because Sidequest's logging calls aren't intercepted by Sentry (and not sure if that's even a possibility). I was hoping to setup at least some form of explicit alerting to Sentry based on e.g. error events or DB connection issues or something similar, but I couldn't find anything in the docs about this. Is it possible to receive events (like engine not being able to start for reason X, job not being able to start due to e.g. incorrect sidequest.jobs.js definition, DB connection failing because of.. etc.)?

I know the "Pro" version down the line will have something like this at least but I do hope that this also finds it way to the basic version, as this is quite important stuff to have even for the most basic production apps. 🙏🏼

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

Start by reading discussion #117 and inventory the existing error and event handling described there. The issue needs a defined event surface, alerting behavior, and scope for database and startup failures before implementation can begin; done should include agreed behavior and coverage for the supported failure cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
backend, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.