Repository navigation
Backlog
Labels
priority: mediumMedium prioritystatus: triageHas not been triaged by admintype: bugSomething isn't workingworkload: hoursLikely takes hours to resolve
Description
Left over from #121, done in part by #137 (merged to move fast; review findings below).
Problems
- Docs are wrong:
docs/operator-guide/deployment.md(around lines 231-232) still says the service-info page accepts only URLs without a port whose path ends with/ga4gh/wes/v1. Since fix: shared one registry client and URL check #137 the same rule applies everywhere: https, no userinfo; query, fragment and trailing slashes are dropped. - TES ids on the WES info page:
getWesServiceInfono longer checks the entry type, so a TES id loads that service's/service-infoand shows it as WES info. - Null registry entries:
servers.find((item) => item.id === id)throws on anullentry (ends in a 502); this predates fix: shared one registry client and URL check #137. - No size limit on the WES probe and the service-info request (fix: share one registry client and URL check #121 asks for
maxContentLengthonaxiosBase; fix: shared one registry client and URL check #137 sets it only for the registry read). - Error shapes:
/api/tasks/get-tes-serversand/api/workflows/get-wes-serversanswer{error: string}with a 502; the auth routes undersrc/app/auth/api/*still use other shapes ({error: true, user: null},{message}). - Dead login hint: the TES selector (
src/app/dashboard/tasks/_components/tes-server-list.tsx) still shows "Login to fetch TES servers from registry." on a 401, which the route no longer returns.
Expected
- The deployment guide describes the shared URL rule.
- The WES info page returns 404 unless
type.artifactiswesorwes-gateway. - Lookups guard against
nullentries (item?.id). maxContentLengthfor all outgoing requests (axiosBase).- One error body shape,
{error: string}, for all of Krini's own API routes, documented. - The TES selector shows the login hint only for Krini's own 401, or the branch is removed.
- Unit tests for every change; coverage stays at 100%.
Metadata
Metadata
Assignees
Labels
priority: mediumMedium prioritystatus: triageHas not been triaged by admintype: bugSomething isn't workingworkload: hoursLikely takes hours to resolve
Activity