sillsdev / sillsdev/languageforge-lexbox

[claude] One unreachable Lexbox server hides remote projects from all servers

Open
#2,663 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
9
Forks
8
Avg merge
2d 13h
Merged PRs (30d)
49

Description

CombinedProjectsService.RemoteProjects (CombinedProjectsService.cs:54) awaits ServerProjects(...) per server in a loop with no per-server error handling. GetLexboxProjects, GetLexboxUser or UpdateProjectServerInfo throwing for one server propagates out of the whole method, so results already gathered from healthy servers are discarded.

With two servers configured and one unreachable, the user sees no remote projects at all rather than the reachable server's list.

Fix: catch per server, return what succeeded, and mark the failed server so the UI can show it as unavailable rather than empty.

Note the Platform.Bible extension currently masks this: lexicon.remoteProjects returns undefined on error and the web view keeps the last-known list (platform.bible-extension/src/web-views/select-lexicon.web-view.tsx:62-67), so on first open the section is simply absent.

Pre-existing; surfaced during review of #2585.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at CombinedProjectsService.cs:54 and trace ServerProjects, including GetLexboxProjects, GetLexboxUser, and UpdateProjectServerInfo. Compare the error behavior with platform.bible-extension/src/web-views/select-lexicon.web-view.tsx:62-67; done means healthy servers' projects remain available while a failed server is marked unavailable rather than treated as empty.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, typescript
Domain
backend, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.