Skip to content

Interactor page: show the partners without waiting for UniProt - #774

Merged
adamjohnwright merged 1 commit into
mainfrom
fix/interactor-uniprot-wait-2
Nov 2, 2026
Merged

adamjohnwright merged 1 commit into
mainfrom
fix/interactor-uniprot-wait-2

Conversation

@adamjohnwright

Copy link
Copy Markdown
Contributor

No spec: a single-PR fix. Replaces #773, rebased onto main after #772 merged; the change is the same.

The interactor page asked UniProt (a third party, used only for synonyms) in the same forkJoin as the interactions, so a slow UniProt left the page on its spinner with the interactions already loaded. That failed interactor-errors.spec.ts "shows the partners of an interactor" on every retry in #772's CI, where UniProt's request never answered.

  • UniProt is now asked separately; it fills the synonyms, and the species when the search names none, whenever it answers.
  • The test holds UniProt unanswered, so it no longer depends on a third party. Seen failing against the old component.

🤖 Generated with Claude Code

The page waited for UniProt's record, a third party asked only for
synonyms, in the same forkJoin as the interactions. When UniProt was slow
the page stayed on its spinner with the interactions already in hand,
which failed "shows the partners of an interactor" in CI on every retry.

UniProt is now asked apart and fills the synonyms (and the species, when
the search names none) whenever it answers. The test holds UniProt
unanswered, so it no longer depends on a third party; it fails against
the old component.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adamjohnwright
adamjohnwright merged commit a2828d3 into main Nov 2, 2026
8 checks passed
@adamjohnwright
adamjohnwright deleted the fix/interactor-uniprot-wait-2 branch November 2, 2026 13:36
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