Repository navigation
Remove code the #1093, #1107 and #1111 merges made obsolete - #1130
Merged
Merged
Conversation
…, and drop the device-facts cache sessionsModel and the Sessions panel take their rows from the one builder the pane headers use. The pane header reads the device list and connection rows as its own selectors instead of a module-level cache.
…trip already prove adapters.rs asserted the role mapping parse_codex_line already tests; the events round trip above it fails on a changed role.
A node project whose origin names no GitHub repository now reads available with no reason, as github::no_github_remote answers a local project, so its checkout card draws no sentence for it. failure_category stays no_github_remote, which the Local-issues default and the board read.
hide-host kept its own origin parser and file reader beside hide_project::git::Config. Config now carries each remote with its name; origin is looked up there and the host's copy is gone. An include still leaves the full remote list unknown while an origin the file itself names is found, and the origin name matches exactly.
read_project measures through describe_within since the worktree read was bounded; the test of a missing worktree now calls describe_within beside the code it covers.
…1014 # Conflicts: # herdr-core/src/runtime/issues.rs
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
오늘 머지된 #1093, #1107, #1111이 쓸모없게 만든 코드를 걷어내고, 같은 일을 하던 두 군데를 한 곳으로 합쳤습니다.
화면과 동작은 그대로이고, 하나만 다릅니다: 원격 기기의 프로젝트가 GitHub 저장소를 갖지 않을 때, 이제 이 컴퓨터의 프로젝트와 똑같이 아무것도 그리지 않습니다.
전에는 기기 프로젝트의 체크아웃 카드에만 "origin이 GitHub 저장소를 가리키지 않는다"는 문장이 따로 떴습니다.
Review
available, 사유 없음)으로 맞췄습니다. 웹이unavailable_reason을 카드에 그리기 때문에 문장 하나가 사라지는 변화입니다.failure_category는 그대로라 로컬 이슈 기본값은 같습니다.hide-project/src/lib.rs- origin을 읽는 규칙 둘을 그대로 지켰습니다.include는 파일이 직접 적은 origin을 가리지 못하고(목록 전체만 "알 수 없음"), 이름 비교는 정확히origin이라"Origin"은 다른 remote입니다.hide-host/src/worktrees.rs- 자체 origin 파서와 읽기 상한 256 KiB가 사라지고 hide-project의 1 MiB 상한을 따릅니다.ProjectWorktreesSnapshot.repository가 이 값을 씁니다.web/src/PaneHeaderBand.tsx- 모듈 전역 캐시 대신 필드별 selector와useMemo를 썼습니다. 세션 목록의 행 목록은 헤더와 같은 단일 슬롯 캐시를 공유합니다(둘 다 스토어의agents와status.remote를 넘김).Evidence
PaneHeaderBand/AgentSessions테스트(렌더 횟수 테스트 포함);cargo fmt-check,lint; hide-project, hide-host, herdr-core 전체 테스트(새 테스트a_node_repository_without_a_github_remote_draws_no_reason, origin 규칙 둘을 hide-project로 옮긴 테스트); 정책 스크립트 4종과 attribution 검사.hided통합 테스트(connect_build,mobile,node_session_activity)가 실행마다 다르게 1~2개 실패했고, 단독 실행에서는 모두 통과했습니다. 이 변경과 닿는 코드가 아니며 원인은 찾지 못했습니다. herdr-core lib 테스트 하나도 첫 전체 실행에서 한 번 실패하고 재실행에서 통과했습니다.usage_ledger쪽fail_with정리(A4)는 호출부 11곳의 로그 모양이 바뀌어 이번에는 하지 않았습니다.