Skip to content

Evidence for #4659: precise triage output enabled 3x faster correct fix on second attempt for konflux-ci #8037 #4745

Closed

Description

@fullsend-ai-retro

What happened

Issue #8037 (flaky e2e kubectl wait timeout) went through two full triage-code cycles. First cycle (2026-07-09): triage ran at 18:37-18:40 UTC, correctly diagnosed the root cause but recommended modifying a file that only exists in an external testrepo. Code agent ran 18:41-19:13 UTC (32 minutes), searched for the file, failed to find it, and produced PR fullsend-ai/fullsend#8038 — a 56-line workaround that was rejected by human reviewer on 2026-07-14. Second cycle: human provided exact context at 07:58 UTC (target SHA 878eb29, exact file paths, exact field names), triggered /fs-triage at 07:59, triage incorporated the human's context by 08:04, and code agent produced the correct PR fullsend-ai/fullsend#8133 — a clean 3-line SHA bump — in just 10 minutes (08:05-08:15 UTC). Zero rework, merged same day.

What could go better

The first triage summary told the code agent what to fix but not where, leading to 32 minutes of wasted exploration and an over-engineered workaround. The second triage summary included exact file paths, exact old values, and exact new values — the code agent had a precise recipe and executed in 10 minutes with zero rework. The 3x speedup demonstrates that triage specificity directly reduces code agent cost for mechanical changes. Issue #4659 already proposes that the triage agent verify fix-target files exist, but this evidence suggests a stronger version: for pinned-reference changes, the triage agent should proactively look up the exact old and new values rather than just identifying the general fix approach. The human had to do this work manually on the second attempt. Confidence is high — the causal link between triage specificity and code agent efficiency is clear from the two contrasting runs on the same issue.

Proposed change

Add this as supporting evidence to issue fullsend-ai/agents#1655. Additionally, extend fullsend-ai/agents#1655's proposal: when the triage agent identifies a fix that involves bumping a pinned reference (SHA, digest, version), the triage summary should include (1) the exact current (old) value found in the repo, (2) the exact target (new) value from the issue description or upstream fix, and (3) every file and line where the old value appears. The triage agent can derive this by grepping the repo for the old pinned value and cross-referencing with the issue body or linked upstream PRs. This transforms the triage output from a general diagnosis into a precise change recipe, eliminating the code agent's search phase entirely.

Validation criteria

On the next 3 issues involving pinned-reference bumps, the triage agent should include exact old-to-new values and file locations in its summary. Measure code agent runtime: it should average under 15 minutes (matching PR #8133's 10 minutes) rather than the 30+ minutes seen when triage guidance is vague. Also verify zero rework rate on these PRs.


Generated by retro agent from konflux-ci/konflux-ci#8133

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions