Skip to content

Jobs

The Jobs page shows all background processing tasks.

Navigate to the Jobs page:

http://localhost:3000/jobs
TypeDescription
syncRepository discovery and clone
indexBuilding search index
deleteRemoving repository data
cleanupMaintenance tasks

The main view displays all jobs:

ColumnDescription
IDUnique job identifier
TypeJob type (sync, index, etc.)
RepositoryAssociated repository
StatusCurrent state
CreatedWhen job was queued
DurationHow long job ran

Filter jobs by:

  • Status: Running, completed, failed, pending
  • Type: Sync, index, delete, cleanup
  • Repository: Specific repository
  • Time Range: Last hour, day, week
StatusIconColorDescription
Pending🕐YellowWaiting in queue
RunningBlueCurrently executing
CompletedGreenFinished successfully
FailedRedError occurred

Click on a job to view details:

  • Job ID: Unique identifier
  • Type: Job type
  • Repository: Associated repo (if any)
  • Status: Current state
  • Created: Queue time
  • Started: Execution start
  • Finished: Completion time
  • Duration: Total runtime

For running jobs:

Cloning repository... ✓
Analyzing files... ✓
Building index... [████████░░░░] 67%

Detailed execution logs:

[10:30:15] Starting index job for myorg/api
[10:30:16] Analyzing 1,234 files
[10:30:45] Indexing Go files: 856 files
[10:31:12] Indexing YAML files: 234 files
[10:31:30] Building trigram index
[10:32:00] Index completed successfully

For failed jobs:

Error: Failed to clone repository
Details:
fatal: could not read Username for 'https://github.com':
terminal prompts disabled
Suggestion:
Check that your token has repository access permissions

Cancel a running or pending job:

  1. Click on the job
  2. Click Cancel Job
  3. Confirm

Retry a failed job:

  1. Click on the failed job
  2. Click Retry
  3. A new job is queued

Remove old completed jobs:

  1. Click Clear Completed button
  2. Select time range (older than 1 day, 1 week, etc.)
  3. Confirm

The header shows queue statistics:

MetricDescription
PendingJobs waiting to run
RunningCurrently executing
CompletedFinished in last 24h
FailedErrors in last 24h

The jobs list refreshes automatically every 5 seconds.

Toggle auto-refresh with the refresh button.

Enable notifications to get alerts:

  • Job completed
  • Job failed
  • Queue backup (many pending)

Possible causes:

  1. Worker not running: Check that the indexer process is running
  2. Queue full: Too many jobs waiting
  3. Resource limits: Server under load

Check common issues:

  1. Token expired: Regenerate access token
  2. Network issues: Check connectivity
  3. Disk space: Ensure sufficient space
  4. Memory: Large repos may need more memory

Quick filters:

Status: Failed
Time: Last 24 hours

Or use the search:

status:failed repo:myorg/api

By default, job history is kept for:

  • Completed jobs: 7 days
  • Failed jobs: 30 days

Configure in settings:

jobs:
retention:
completed: 168h # 7 days
failed: 720h # 30 days

Export job history for analysis:

  1. Click Export button
  2. Select format (CSV, JSON)
  3. Choose time range