Repository navigation
Description
Summary
A visible, unarchived tenant lane thread can be absent from the BB app's thread list until the operator opens that exact thread through a direct thread link. After the direct open, the thread appears in the list.
Native thread identity and native list reads are already correct, so the observed shape is an app list bootstrap/filter/subscription invalidation defect rather than a visibility mutation.
BB CLI: 0.39.0.
Observed evidence
Two independently reported examples in one project:
thr_8n32y4ujbs:idle,visibility=visible,archivedAt=null,deletedAt=nullthr_s5843imarf:active,visibility=visible,archivedAt=null,deletedAt=null
Both exact records are returned by:
bb thread show <thread-id> --json
bb thread list --project proj_7iaaqem8z3 --include-hidden --jsonThe complete project list contained 30 threads at verification time and included both targets. This is not a large-list boundary.
Operator observation:
- Open the project in the BB app.
- Inspect its thread list; the visible lane thread is absent.
- Open the exact thread through a direct
bb://thread/<id>link. - Return to the project thread list; the same thread now appears.
All 29 tenant records present during the original audit had correct native visibility flags. No native visibility repair occurred between absence and appearance.
Expected
Every visible, unarchived, undeleted thread returned by the project's native thread-list authority should be represented by the app list's documented filtering/progressive-disclosure state without requiring the thread to be opened first.
If the list intentionally paginates or progressively discloses items, the UI should expose that state and permit discovery; opening an exact thread must not be the cache-insertion mechanism.
Suggested investigation
- Compare initial project/sidebar bootstrap rows with the cache after opening an exact thread.
- Check project-id filtering, recent-thread pagination, and subscription invalidation for plugin-originated managed-worktree lanes.
- Verify whether direct open inserts the fetched detail record into a list cache that was incomplete or filtered at bootstrap.
- Cover both active and idle visible lanes and a project with roughly 30 threads.
Acceptance
- A visible active or idle thread returned by the native project list is discoverable before direct open.
- Direct opening a thread does not change whether it qualifies for list membership.
- Pagination/progressive disclosure remains explicit and can reveal every qualifying thread.
- A regression test exercises initial list bootstrap followed by direct detail open and proves membership is unchanged.
⚠ Agent-generated: An AI agent independently verified the native records and CLI list membership. The before/after app observation was reported by the operator and tenant director; please verify the UI reproduction.
Activity
SawyerHood commentedon Aug 24, 2026
---Auto-Generated---
Reproduction & root-cause report: https://get-bb.github.io/reports/issues/2326.html
threadsByProject, bucket bythread.projectIdinstead ofcreateSidebarProjectIdResolverso a cross-project child renders as a root in its own project group (buildThreadTreeItems already treats a thread whose parent is outside the bucket as a root); reuse the existing ThreadRowcrossProjectIdmarker in the reverse direction ("child of in ") and keep the resolver only for the selected-thread expansion effect (expanding the thread's own project group). Separately, make hidden children explicit: when a collapsed parent gai…bb thread show <id> --json | jq .parentThreadIdand the parent's projectId plus the operator's sidebar collapse state. All alternative causes the issue suggested…The report is self-contained: copy-paste repro steps with the test or script inline, expected vs actual output, screenshots where the bug is visual, and code permalinks at the base commit. It was independently re-executed by a second agent (see its Verification section).
vadikhq commentedon Oct 29, 2026
CI route for the #2326 fix
A local fix is ready for this issue: visible active and idle lanes stay in their own project before and after detail navigation. The focused suite passed 66 tests, and an isolated UI check confirmed the same project membership before and after actual detail requests.
Our contribution environment permits only self-hosted Actions execution. At main
3bacfac9ed69d42392076e5b3da2815bec822cd8,.github/workflows/pr-gate.ymlusesubuntu-latestonpull_request_target. Run 40889094216 confirms the GitHub Actions runner group. Main CI run 40830282104 shows existing Blacksmith scale sets for Linux, Windows and macOS.Is there a supported contribution or maintenance route that can apply a self-hosted PR Gate without first running the existing hosted gate? If so, please confirm:
issues: writeandpull-requests: write, and how it is isolated from untrusted PR workloads.No CI settings have been changed, no workflow has been started, and no PR has been opened for this local fix. This request does not ask for a hosted exception or a branch-protection bypass.