jacob-ai-bot / jacob

Just Another Coding Bot
https://jacb.ai
Apache License 2.0
96 stars 13 forks source link

Fix blank Issue tab bug #55

Open kleneway opened 2 months ago

kleneway commented 2 months ago

This bug is likely caused because the Issue event is not being emitted properly when a new JACoB coding loop is initiated. This is a tricky problem because we don't want to emit new Issue events when JACoB starts working on a new comment or bug fix, only when it starts work for the first time on a brand new issue it hasn't seen before. But this could be hard to detect because JACoB doesn't keep track of internal state.

The code for this is at src/server/messaging/queue.ts

kleneway commented 2 months ago

The other possibility is the event is being emitted and it's just not showing in the front end correctly, so that's probably the first step is to see if these events are in the database or not after JACoB starts work on a new issue.