MCP Server·
tr_replay_failure returns a replay plan instead of an error
tr_replay_failure failed with "Cannot read properties of undefined (reading 'map')" on runs with a failed test, so no replay plan came back. It now returns the plan.
- The plan lists the failing test's own files. Under "Artefacts" you get links to up to 10 of the files uploaded for the test being replayed, such as its trace, video and screenshots, and never another test's recording. They are download links that expire. Call the tool again for fresh ones.
- A test with no uploaded files says so. The plan still comes back, with "No uploaded artefacts for this test." in place of the list.
- A run with no commit recorded still gets a plan. The checkout step says the run has no commit instead of printing an empty
git checkout, and a run whose details can't be loaded no longer fails the whole call. - Also in this release:
tr_generate_testwrites a spec that parses even when a test name or step contains quotes, backslashes or line breaks.
Released as @testrelic/mcp 3.4.4.