Skip to content

Show status for legacy runs - #6745

Open
jpangas wants to merge 2 commits into
mozilla:masterfrom
jpangas:fix-legacy-test-case-status
Open

Show status for legacy runs#6745
jpangas wants to merge 2 commits into
mozilla:masterfrom
jpangas:fix-legacy-test-case-status

Conversation

@jpangas

@jpangas jpangas commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Fixes #6744

This pull request updates the way legacy test case results are parsed in the TestPlanView component to ensure compatibility with older data formats. The main change involves reading legacy results from the correct location in the data structure.

@jpangas
jpangas requested a review from a team as a code owner August 31, 2026 19:39
Copilot AI lite review requested due to automatic review settings August 31, 2026 19:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adjusts how TestPlanView.parseTestPlan pulls per-test-case execution results for older test-plan-generator runs so that case status and failure reasons can be shown when those results live outside the recorded TestRail action params.

Changes:

  • Read legacy per-case results from the findings payload (rather than from the TestRail action params) when constructing legacyResultsById.
  • Keep the existing fallback behavior (value.result → legacy lookup) when populating each generated test case’s result.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread services/hackbot-ui/components/TestPlanView.tsx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants