Closed Bug 2086124 Opened 24 days ago Closed 2 days ago

[HACKBOT] Structured metadata on comments

Categories

(bugzilla.mozilla.org :: User Interface, enhancement)

Production
enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: kohei)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 external file)

Attached image pasted-image.png —

Let a Hackbot comment carry structured fields alongside its text, written as YAML front matter at the top of the comment body. Some fields are there to give the reader more detail and get rendered (the agent's name, a link to the run); the rest are for tracking only and stay hidden (run ID, action ID).

Today all of that is either absent or buried in prose, so nothing links a comment to the run that wrote it. That link is the prerequisite for item 1 (a rating has to attach to something) and for any after-the-fact analysis of what Hackbot posted and what came of it. Worth noting on cost: front matter is the comment text, so this needs no Bugzilla schema or API change to start. Bugzilla parses the block and renders it as a header instead of printing it; anything that does not know the convention still shows a readable comment.

Assignee: nobody → kohei
Status: NEW → ASSIGNED

(via GitHub webhook, authenticated as shared-secret)

https://github.com/mozilla/bugbug/pull/7433 adds metadata to Hackbot comment body.

Authored by https://github.com/kyoshino
https://github.com/mozilla/bmo/commit/0a5e69a129939451f95b25d19d2999e20f2ab6b9
[master] Bug 2086124 - [HACKBOT] Structured metadata on comments

(via GitHub webhook, authenticated as shared-secret)

Status: ASSIGNED → RESOLVED
Closed: 2 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: