ModelRefs / Bug Triage — Architecture Blueprint
Bug Triage — Architecture Blueprint
Production architecture blueprint for Bug Triage: components, deployment, cost and latency, failure modes, evaluation and governance.
Overview
This is the implementation view of Bug Triage: the components it requires, where it can run, what it costs in latency and spend, how it fails, and what you must measure before putting it in front of users.
5 components to assemble, 6 documented failure modes, medium implementation complexity. Every statement below comes from the canonical workflow record with its sources and review date; where the evidence does not settle a question, the page says so rather than filling the gap.
- Implementation complexity
- medium
- Components
- 5
- Failure modes
- 6
- Evaluation readiness
- documented
- Sources
- 2read 2026-11-20
What this workflow takes in and produces
Takes in
- bug reports and attachments
- historical assignments and resolutions
- component and ownership maps
- crash and log excerpts
Produces
- suggested owner or team
- duplicate candidates with reasons
- component and priority suggestions
- missing-information requests
Applied to
- routing new reports to a likely owner
- duplicate candidate detection
- explained triage decisions for a human triager
Components you need to assemble
A working implementation needs 5 distinct components. Each is a build-or-buy decision in its own right.
- issue tracker integration
- historical report index
- ownership and component registry
- triager feedback capture
- audit log of suggestions and decisions
Implementation complexity: medium. This describes the integration and evaluation effort, not the difficulty of any single component.
Deployment patterns
Deployment options recorded for this workflow: managed-api, hybrid.
Topologies it has been recorded against: serverless-api, managed-container, self-hosted-cluster. Each changes the data-residency, scaling and cost profile, so confirm the one you need against current provider documentation.
Cost and latency
- Cost scales with report length and the number of candidate duplicates retrieved. Index historical reports once and retrieve candidates before calling a model.
- Triage is latency-tolerant for most reports, but security and outage reports need a fast path to a human.
How this workflow fails
Observed failure modes for this class of workflow. Design a check for each one before shipping, not after.
- wrong owner
- missed duplicate
- distinct bugs merged
- priority misjudged
- stale ownership data
- confident explanation for a wrong decision
Risk areas the evidence covers
- assignment accuracy
- duplicate precision and recall
- priority handling
- data age
- explanation faithfulness
Proving it works before you ship
Evaluation readiness: Documented — Assignment accuracy, duplicate precision and recall, reason quality and triager-time measures are defined; project-specific ownership and priority rules remain required.
Worked evaluation case: Triage replay on historical reports
Replay reports from a held-out period and compare suggested owners, duplicates and priorities with what the project's triagers decided.
What to measure
- owner suggestion accuracy at the top choices
- duplicate precision and recall
- priority agreement
- share of reports needing more information
- triager time per report
Governance and data handling
- Bug reports can hold customer data, credentials and logs. Redact them and decide what may be sent to a model provider.
- Keep a human triager in control of closing, merging and priority changes; treat suggestions as input.
Implementation notes
- Evaluate against the project's own history with a time-based split, because older data and a different tracker change the result.
- Compare any model against a simple retrieval baseline before adopting it.
What this blueprint does not establish
- The developer-recommendation work targets Bugzilla projects with many active fixers and does not cover small projects or other trackers.
- The duplicate-detection findings describe the projects and period studied and may not transfer to a different tracker.
- No tracker, ownership model, priority policy or acceptance threshold is registered for a target deployment.
- No measured assignment accuracy, duplicate precision and recall, or triager-time effect on a target project is attached.
Source coverage: Documented — The authors' project page for Who Should Fix This Bug? supports recommending developers by learning from past assignments, for Bugzilla projects of a stated size and setup. The duplicate-detection study supports that simple techniques can match recent sophisticated ones and that data age and tracker choice change comparisons. Neither evaluates explanation quality, priority prediction or language-model triage.
Sources read on 2026-11-20. Both studies predate current language models. Revalidate on the target project's recent data.
Sources
- Bug Triage (Who Should Fix This Bug?, ICSE 2006) Software Practices Lab, University of British Columbia · primary-research · accessed 2026-11-20
- Duplicate Bug Report Detection: How Far Are We? Zhang et al. (arXiv 2212.00548, ACM TOSEM) · primary-research · accessed 2026-11-20
Candidate models and benchmarks
Candidate models with published references, the providers behind them, and the benchmarks whose task shape bears on this workflow are on the Bug Triage workflow reference. This blueprint covers implementation; that page covers selection.
Continue your research
Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to Bug Triage — Architecture Blueprint.