Repository navigation
Fix IncidentGroups spec for assigned incidents returning to Ack - #38265
Merged
Merged
Conversation
#37613 made Assigned -> Ack a valid transition that clears the assignee, but the spec still expected the bulk Ack to change nothing.
Code Review ✅ Approved 🟢 Low riskThe PR only updates a Playwright spec to match existing Assigned-to-Ack behavior and fixes a stale comment; runtime behavior is unchanged. Updates the IncidentGroups spec so bulk-acknowledging assigned incidents is expected to move them to Ack and clear their assignee, matching the new transition behavior. No issues found. VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
shah-harshit
enabled auto-merge (squash)
November 20, 2026 05:53
Rohit0301
approved these changes
Nov 20, 2026
Merged
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes:
Test-only fix, so no linked issue.
The nightly AUT run (openmetadata-nightly #44638993481) failed
IncidentGroups.spec.ts:373, "leaves assigned incidents as they are when acknowledging", on the first attempt and both retries.RCA: #37613 made Assigned → Ack a valid incident transition: it clears the assignee (ADR:2026-11-17-returning-incidents-to-triage-clears-assignees). It updated the bulk-entry unit tests but not this spec, which still waited for the "No incident in the selected groups can take that change" toast. The run's trace shows the bulk
PUT .../testCaseIncidentStatus/bulkreturning 200 withnumberOfRowsPassed: 2, and the assignee-filtered list empties because both incidents lose their assignee.Fix: the test now asserts the new behaviour, and is renamed to match: the bulk Ack updates both assigned incidents (
Incidents updated: 2), and each one ends upAckwith no assignee. A stale comment inplaywright/utils/incidentGroups.tsthat called the New incident "the one incident here Ack can move" is also corrected.Type of change:
High-level design:
N/A — small change.
Tests:
Use cases covered
Checks run locally
eslintandprettier --checkon the changed files: passyarn lint:playwright: 0 errorsyarn test:eslint-rulesandgenerate-playwright-rule-table.mjs --check: passPlaywright (local)
playwright/e2e/Features/AIMode/IncidentGroups.spec.ts, projectchromium, retries 0setup,entity-data-setupandentity-data-teardown; 14 passed, 2.0m)returns assigned incidents to Ack and clears their assignee✓ (42.3s)97655a03ff8openmetadata-dist2.0.0-SNAPSHOT) on MySQL 8 + Elasticsearch 9.3 (Docker); frontend: Vite dev server from this branch (localhost:3000)🤖 Generated with Claude Code