Repository navigation
Follow-up to #38702: drop a late linked-task load after the user picks a task - #38720
Merged
karthicksharan merged 1 commit intoNov 25, 2026
Merged
Conversation
karthicksharan
requested review from
harsh-vador
and removed request for
a team
November 25, 2026 15:25
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 |
Contributor
UI browser testsRan: all test files (no impact map from main yet) Result: ✅ 1070 passed · 154 skipped Changed code executed by these browser tests: 0 / 15 lines (0%)
|
12 of 14 tasks
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:
Follow-up to #38702 (part of #37901), merging into
feat/lifecycle-exits, notmain.Fixes the gitar-bot finding on
TaskListV1.component.tsxin #38702. When View Request links to a task that isn't on the loaded page, the list fetches it by id. That late response could replace a task the user had picked in the meantime, or fire after the list unmounted.handleTaskPick) or when the list unmounts.onTaskClick, so a stale result is dropped.Type of change:
Tests:
TaskListV1.component.test.tsx: added 2 cases, "drops a late linked task once the user has picked another" and "drops a linked task that arrives after the list has gone". Both fail without the fix and pass with it. The file now has 9 passing tests.ActivityFeedandEntityStatusBadge: 328 passed.tscare clean on changed files.🤖 Generated with Claude Code