cli-reopen-manual: reopened — task was marked 'done' but has no task_runs row in (done/completed/success)
Quest: Unassigned Priority: P100 Status: completed
Fix broken links to /cell-types/ URLs that return 404.
This task is part of link quality improvements. SciDEX has redirects for entity type routes like /genes/, /proteins/, /diseases/, etc. but was missing /cell-types/ and /cell-type/.
Started: Investigated broken /cell-types/* links (15 total)
Root cause identified: Missing redirect routes for /cell-types/ and /cell-type/. Other entity type routes (genes, proteins, diseases, drugs, mechanisms, pathways, variants) already had redirects to /entity/, but cell-types was missing.
Implementation:
entity_type_redirect function:@app.get("/cell-types/{name:path}")@app.get("/cell-type/{name:path}")
Testing:
curl -L http://localhost:8000/cell-types/microglia → 200
curl -L http://localhost:8000/cell-types/astrocytes → 200
curl -L http://localhost:8000/cell-types/dendritic-spines → 200
curl -L http://localhost:8000/cell-types/mesencephalic-dopaminergic-neurons → 200Result: ✅ Fixed — All 15 broken /cell-types/ links now redirect to /entity/ and work correctly