Repository navigation
[2.1] Fixes #38373: invalidate about-entity cache after a task transition (backport 2.1 #38409) - #38426
Merged
Conversation
(cherry picked from commit 22db4b0)
Address review feedback on TaskDetailPanel.cache.test.tsx: keep the real TaskActivityTimeline instead of mocking it, and assert the acknowledgment event renders after the ack transition — so the test fails if the panel stops passing the refetched incident status history to the timeline, not just if the cache wiring changes. (cherry picked from commit c622089)
harsh-vador
marked this pull request as ready for review
November 23, 2026 05:34
harsh-vador
requested review from
shah-harshit
and removed request for
a team
November 23, 2026 05:34
Contributor
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
ShaileshParmar11
approved these changes
Nov 23, 2026
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:
Fixes #38373
Backport of #38409 to
2.1. After an Ack/Assign/Resolve from the Inbox task panel, the cached about-entity query is invalidated, so the incident activity timeline shows the new status without closing the panel.The commits are cherry-picked from #38409 with
-xand applied cleanly ontoorigin/2.1; the touched files are identical onmainand2.1, so the diff is the same. Kept as a draft until #38409 merges onmain; if review changes #38409, this branch picks up the same changes.Type of change:
Tests:
Unit tests
yarn test TaskDetailPanel.test.tsx TaskDetailPanel.cache.test.tsx→ 118 passed.tsc --noEmit: no new errors (the 3 it reports, inExploreSortDropdown.tsxandOMSelectWidget.tsx, are onorigin/2.1too).Backend integration tests
Playwright (UI) tests
Checklist:
🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge.Summary
Refreshes the Inbox task’s cached asset details after a successful transition so the incident timeline can show the new event without reopening the panel.
Diagram
sequenceDiagram participant User participant Panel as TaskDetailPanel participant Server participant Cache as About query participant Timeline as TaskActivityTimeline User->>Panel: Apply transition Panel->>Server: resolveTask Server-->>Panel: Success Panel->>Cache: Invalidate cached details Cache->>Server: Fetch incident history Server-->>Cache: Updated history Cache-->>Timeline: Show updated eventsReviews (1) · Last reviewed commit: "test(inbox): assert refreshed incident h..." · Reviewed by Greptile