Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve title resolution; make it a background process #1006

Open
code-geek opened this issue Sep 6, 2024 · 0 comments
Open

Improve title resolution; make it a background process #1006

code-geek opened this issue Sep 6, 2024 · 0 comments

Comments

@code-geek
Copy link
Contributor

Description

Right now title resolution is a foreground process that is long-running and can possibly time out. We want to defer this to the background and have a mechanism to track when it succeeds/fails.

Implementation Considerations

  • Some way of storing success/failure status of title resolution in the database
  • If two title resolution tasks are kicked off at the same time, which one takes precedence, especially given they run in the background and we can't predict their order.

Deliverable

  • When a user adds a title pattern on the frontend, they are shown a message that their title pattern is being resolved
  • The user can then track this title pattern and see the status: "pending", "resolved", "failed"
  • If some title resolution fails, we need some logs
  • A logging model with an admin seems sufficient

Dependencies

No response

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

No branches or pull requests

1 participant