fix(dq): restore in-place reopen of resolved incidents on the Test Case page#30464
fix(dq): restore in-place reopen of resolved incidents on the Test Case page#30464manerow wants to merge 4 commits into
Conversation
✅ PR checks passedThe linked issue has a description and all required Shipping project fields set. Thanks! |
🔴 Playwright Results — workflow failedValidated commit ✅ 697 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 5 skipped · 🧰 0 lifecycle flaky Pipeline and setup failures (7)
PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 49m 32s ⏱️ Max setup 1m 56s · max shard execution 16m 24s · max shard-job elapsed before upload 19m 47s · reporting 4s 🌐 197.63 requests/attempt · 2.71 app boots/UI scenario · 25.81% common-shard skew Optimization targets still in progress:
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
…rict-mode violation
Code Review ✅ Approved 1 resolved / 1 findingsRestores in-place reopening of resolved DQ incidents on the Test Case page by integrating the inlined incidentStatus field. Addresses the redundant type cast finding during the review process. ✅ 1 resolved✅ Quality: Redundant type cast on already-typed incidentStatus
OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|



Fixes #30455
Problem
After #30182, a resolved DQ incident renders as "No Incident" on the Test Case page. That also removed the status edit control, so a resolved incident can no longer be reopened (Resolved -> Ack) in place -- the recovery path a user needs after resolving by mistake (#30168). Reopen was only possible from the global Incident Manager list.
Fix
The Test Case page now requests and reads the inlined
incidentStatusfield (added in #30157) and, when there is no ongoingincidentId, renders the resolved incident with its edit affordance so it can be reopened in place. Reopen continues the same incident (samestateId).incidentIdsemantics are unchanged, so auto-close and the Resolved-Incidents KPI are unaffected. The DQ dashboard tab already renders this via #30157.Tests
incidentId.stateId.🤖 Generated with Claude Code
Greptile Summary
Restores resolved-incident visibility and reopening on the Test Case page.
incidentStatusfield and displays it when no activeincidentIdexists.stateId.Confidence Score: 5/5
The PR appears safe to merge, with both previously reported stale incident-state failures addressed.
No blocking failure remains.
Important Files Changed
incidentStatusalongside the existing incident fields for Test Case detail rendering.Reviews (4): Last reviewed commit: "fix(test): wrap Data Observability locat..." | Re-trigger Greptile