alexpovel / issuedigger

For your repository, issuedigger will notify authors of new issues about similar, previously submitted ones, saving manual digging. Implemented as a single, AI-enabled Cloudflare Worker.
https://issuedigger.app
MIT License
7 stars 1 forks source link
cloudflare cloudflare-ai cloudflare-durable-objects cloudflare-kv cloudflare-queues cloudflare-vectorize cloudflare-workers embeddings github-app github-integration vector-database

issuedigger (beta)

issuedigger will notify authors of new GitHub issues about similar, previously submitted ones, both open and closed:

issuedigger commenting screenshot

issuedigger helps maintainers and end users alike avoid having to dig through past issues (as many projects request users do before submitting new ones). For example, in the above screenshot, the issue titled Airplanes is closed: perhaps the user finds a solution to their problem there? If successful, the new issue can be resolved before a second human is even involved.

As a side effect, the network of related issues (bugs, feature requests, ...), often taking up rent-free space on maintainers' minds, can be automated and externalized, making it accessible to others. For example, duplicates can be caught and linked right away (notice the high similarity score to the above issue):

duplicate issue comment

which GitHub will link back from the mentioned, original issue automatically:

issue mention linkback

Trying it out

Before installing for your own use, feel free to kick issuedigger's tires by creating issues or issue comments in this repository!

Beta status

[!WARNING]

This application is of beta quality. It relies on several products which are themselves in beta (Cloudflare Queues, Cloudflare Vectorize, Cloudflare Workers AI). The project has no tests (not without reason). Think of it as an excuse for playing with and learning new technology (TypeScript, "AI" (embeddings, vector storage, ...) and Cloudflare's developer products), leading to a minimum viable product made available for free, for your convenience.

The embeddings are handled simplistically. It's unknown how useful they (and by extension, issuedigger's suggestions) are in real-world scenarios.

Costs

Running the infrastructure for issuedigger is cheap, but not free. The intention is to keep it available indefinitely, but there is obviously a risk of shutdown at any time. The app should not be too hard to spin up on your own account, as wrangler.toml contains all necessary infrastructure definitions (clone this repo, run npx wrangler deploy and fix errors about missing pieces until it works...).

Installation

  1. Install the GitHub App and grant it access to the repositories you'd like the app on.

That's it! The following happens now:

Working principle

For a detailed overview, see ARCHITECTURE.md.

[^1]: Typing @ will not start autocompletion, as it usually does for regular users. Mentioning apps doesn't work that way. Don't worry, your comment will still be picked up.