You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GET /projects/{projectId}/branches returns branch names mismatched with @id values #20
The branch list endpoint returns branch objects where the name field is not correctly associated with the @id field. Names appear to be shuffled or rotated across the returned objects, such that each branch's @id
points to a different branch's name.
Steps to reproduce:
Create a new project (default branch is created, e.g. UUID e5d49053, name "Initial")
Create a new branch named "test01" from the default branch (new branch gets UUID f05c0f4d)
The names are swapped. Creating additional branches compounds the problem — each subsequent GET /branches
call returns names in an increasingly incorrect order.
Additional observations:
GET /projects/{projectId}/branches/{branchId} (single branch detail) always returns the correct name for
a given @id. The bug is isolated to the list endpoint.
The created timestamps in the list response also appear to be swapped along with the names, suggesting
the entire branch record (except @id) is misassociated.
The branch creation endpoint (POST /projects/{projectId}/branches) returns the correct name in its
response.
Workaround: Fetch each branch individually via GET /projects/{projectId}/branches/{branchId} using the @id
values from the list response, then use the name from each detail response.
Activity