Skip to content

Avoid full task hydration for Jira relation lookup (JVNAUTOSCI-2737) - #606

Merged
witbrock merged 1 commit into
mainfrom
task/JVNAUTOSCI-2737-reference-lookup
Sep 11, 2026
Merged

witbrock merged 1 commit into
mainfrom
task/JVNAUTOSCI-2737-reference-lookup

Conversation

@witbrock

Copy link
Copy Markdown
Member

Jira migration relationship repair constructed complete task responses, including text and activity lookups, when it only needed the referenced task ID. Repeated stack samples and a bounded live comparison identified this extra I/O during the estate import.

The existing external-reference resolver now supports an identity-only projection, and relationship repair selects it. The canonical source/alias selector, task-type check, organisation-first lookup and constrained legacy fallback are unchanged; other callers continue to receive full task responses.

Validation: 82 targeted tests pass, including alias/legacy-scope handling, missing/non-task records and existing import behaviour; no new Ruff findings. Both live Von and KKAT lookups returned the same IDs. Selected warm full-response reads took 0.654 and 1.667 seconds; identity reads took 0.253 and 0.639–0.728 seconds.

@witbrock
witbrock merged commit 4955b4a into main Sep 11, 2026
2 checks passed
@witbrock
witbrock deleted the task/JVNAUTOSCI-2737-reference-lookup branch September 11, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant