Files
yasser khanandMattermost Build bb499f9f93 ci(e2e): hand specs that keep failing on master to a repair agent (#38978)
* ci(e2e): hand specs that keep failing on master to a repair agent

After each master E2E run, the toolkit's e2e-master-watch reads the run
with the triage engine's trunk rules and, for each spec that is broken
(failed twice in a row) or flaky, starts the "E2E master repair" Cursor
automation with the failing tests, their history and the commits since the
last green run. The agent's instructions live in
.cursor/automations/e2e-master-repair.md: reproduce on the master images
first, fix the cause without masking it, verify the fix several times on
its own machine, then open one PR with a single commit, labelled for
AI/babysit to follow through.

Without the CURSOR_E2E_REPAIR_WEBHOOK_URL/KEY secrets it only writes the
job summary. Setting the variable E2E_MASTER_REPAIR to off turns it off.

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2026-10-26 11:11:02 +00:00
..