Skip to content

User Story 2: Background Analysis with Graphile Worker #19

@CedricLimAhTock

Description

@CedricLimAhTock

User Story

As a user,
I want Commit Guru to analyze repositories in the background using job queue, so that I can run analysis tasks without waiting and see live progress as they complete.


Acceptance Criteria

  • A user can trigger analysis by clicking the "Analyze" button on an imported repository or link to the repository
  • The backend queues the analysis job using Graphile Worker without blocking the API
  • Each job performs all analysis steps (clone, extract, classify, compute, link) via Python scripts
  • The progress of the job is tracked (step, status, log) in the database
  • Users can see live status updates in the frontend UI
  • Repositories can be periodically re-analyzed using scheduled jobs

Related Issues

  • Issue 2.1 – Setup Graphile Worker and implement API to enqueue analysis jobs
  • Issue 2.2 – Implement analyzeRepo task to run full analysis pipeline
  • Issue 2.3 – Add job status tracking and display progress in the UI
  • Issue 2.4 – Add scheduled job to pull and re-analyze repositories

Metadata

Metadata

Labels

FeatureRepresents a new functionality or capability added to the project.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions