Conversation
Multi-repo tasks polled PR state for the host worktree only; member repos' PRs were invisible everywhere. Member lookups now ride inside the existing pr.refresh() cadence (same triggers, allSettled so one dead remote can't freeze the other leg), keyed by each member's live branch in its own checkout - repo_root members track live HEAD instead of a frozen recorded branch. Rows render under the Git tab PR card and as board-card mini-rows, including main-checkout tasks where the host card stays hidden; a shared on_disk_members helper keeps status/member-PR/update-all enumeration consistent (existing paths, never the host twice). The branch-chip dropdown gains an "All repos" section: pull / merge base / rebase base across host + members in one shot via task_git_update_all, each repo on its own base branch, failures surfaced per repo without aborting the batch. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Owner
Author
|
Superseded: opened against simion/termic instead (stacked on simion#351). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Multi-repo tasks only polled PR state for the host worktree — member repos' PRs/MRs were invisible on both the Git tab and the board. This adds per-member PR/CI visibility and a one-shot "update all repos" action, stacked on
azure-devops(simion#351).Per-member PR/CI
task_member_pr_statuscommand: polls each non-host member's checkout by its live branch (git branch --show-current), sorepo_rootmembers track what's actually checked out rather than a frozen recorded branch. Same remote→provider resolution and status vocabulary as the host lookup (github/gitlab/azure).pr.refresh()now fires host + member lookups together (Promise.allSettled) — a dead remote on one side can't freeze the other, and a failed member call keeps the last snapshot.repo · branch, state pill,#42/!42ref, CI chip, open-in-browser. Rendered for main-checkout tasks too (host card stays hidden there, so this is the only PR surface).+N more; board mount seeds discovery.prRelevant= host PR, or member PRs for main-checkout multi-repo tasks;MemberPrRowsruns its own tick only whenPrCardisn't mounted.setLookuplanding mid-refresh isn't clobbered by the stale response.Update all repos
task_git_update_all(id, mode): pull / merge-base / rebase-base across host + every on-disk member, each on its ownrepo_base_branch, via the existinggit_update_repo(fetch + autostash + conflict detection). Per-repo results; one failure never aborts the batch.on_disk_membershelper is the single contract for "which members are real checkouts" — skips missing paths and any legacy record pointing at the host — used bytask_git_status, member PR lookups, and update-all.Test plan
tsc -b,cargo check,cargo test— cleansetLookupraces, host-fail/member-okallSettled,prFocusEligible, Rust tests foron_disk_members+ live-HEAD member lookupsOut of scope (deliberate)
task_pr_createstays host-only), per-check CI details, remote picker, member PR background polling on unfocused tasks.Generated with Devin