mozilla / mozilla/bugbug

Add new fields to display the actual start and end times of Hackbot runs

Open
#6,714 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

hackbot
Dominant language
Python
Stars
570
Forks
351
Avg merge
2d 13h
Merged PRs (30d)
65

Description

The created_at field reflects the time for when the run was requested, not when the agent started, which does not reflect the delay for provisioning the execution environment. Similarly, the finalized_at reflects the time when we finalized the run, which can be delayed due to error and retry, see https://github.com/mozilla/bugbug/issues/6691#issuecomment-5417559947.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Hackbot run model or API entry point that exposes created_at and finalized_at, then trace where provisioning and agent execution timestamps are available. The work is done when new fields expose the actual agent start and end times separately from request creation and finalization, with relevant tests updated or added.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.