Skip to content

Speed up project branch loading and recover unavailable GitLab discovery - #20

Merged
b10x-bot[bot] merged 5 commits into
mainfrom
wave/projects-recovery
Sep 5, 2026
Merged

Speed up project branch loading and recover unavailable GitLab discovery#20
b10x-bot[bot] merged 5 commits into
mainfrom
wave/projects-recovery

Conversation

@b10x-bot

@b10x-bot b10x-bot Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Projects returned 502 when the provider hid repository discovery because no current GitLab connection was usable. The specific validated Describe NotFound result now returns an empty repository list, allowing Devcenter to offer normal reconnection. Authentication, transport, malformed envelopes and provider invocation failures remain errors.

Branch listing and selection repeatedly scanned the membership repository catalogue. They now describe and invoke the existing gitlab-branch-list operation for the already revalidated exact numeric project and current connection, requesting 100 branches per page until completion. Later-page failures and malformed responses cannot produce partial success. Public client contracts and materialization policy are unchanged.

Validation: regression tests failed before both repairs and passed afterward; 56 workspace-service package tests, including 17 new recovery/branch cases; the complete task check passed 59 Cargo tests plus 20 release-policy/adversary cases, formatting and full-workspace Clippy with warnings denied. The independent adversarial pass found no defect and is recorded verbatim in the owning story. Workspace runtime release 0.2.20 carries the fix independently of its unchanged client API.

@b10x-bot
b10x-bot Bot merged commit 9caeeb7 into main Sep 5, 2026
4 checks passed
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.

0 participants