Repository navigation
fix: name a gh too old for Hide's GitHub reads and keep the repository when the PR list fails - #2164
Merged
Merged
Conversation
…y when the PR list fails Hide asks gh for fields only newer releases know: gh 2.58.0 refused closingIssuesReferences, every pull request read on that machine failed, the repository's identity was dropped with it, and a mission then refused a worker on another machine without saying why. - hide_node_link::gh::MINIMUM_VERSION (2.72.0) is the oldest gh whose fields and flags cover every allowed command line. Each read pass asks gh --version before auth status and refuses an older release as the new `outdated` failure category, which the GitHub row, the PR list, the phone, Memory and the backlog name as "update gh". - The rust lane runs every allowed command line against that release offline (scripts/fetch-gh.sh, hide-host gh tests), so a field a newer gh added fails CI until the minimum moves with it. - A failed pull request list keeps the issues and the repository identity read beside it. - mission_machine_no_repository names what to fix when GitHub's read failed.
This was referenced Nov 7, 2026
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
맥북의 gh 2.58.0이 Hide가 요청하는 PR 필드(
closingIssuesReferences)를 몰라서, 그 맥북의 PR 읽기가 매번 실패했습니다.실패할 때 저장소 id까지 함께 버려져서, 미션이 다른 기기 워커를 이유를 말하지 않고 거부했습니다.
MINIMUM_VERSION)에 정했습니다. GitHub를 읽을 때마다 버전을 먼저 확인하고, 기준보다 낮으면 "gh가 오래됐어요. 업데이트하세요"라고 알립니다.PR 목록에서 gh가 2.72.0보다 오래됐을 때 보이는 줄(한국어, 다크). 설정의 GitHub 줄과 폰 PR 화면도 같은 문구를 씁니다.
Review
--version실패,DEV빌드)에는 막지 않습니다. 진단만 남기고 기존처럼auth status가 판정합니다. e2e의 가짜 gh 15개가--version을 모르는 것도 이 덕분에 그대로 통과합니다.herdr-core/src/github.rsread_project- failure path. PR 목록이 실패하면 이제issues_read=true와 저장소 id를 싣습니다. 이전 PR 목록을 오래된 값으로 남기는 처리는 기존keep_previous_reads가 합니다.contracts/snapshot-wire-enums.json,web/src/snapshot.ts- snapshot wire.GithubFailureCategory와BacklogFailure에outdated가 추가됩니다..github/workflows/pr.yml,scripts/fetch-gh.sh- rust lane에 gh 2.72.0을 받아(고정 digest) 검사하는 단계가 추가됩니다.hide-host가 계획될 때만 돕니다.missions.md에도 반영해야 할까요? 공개 쪽hided/assets/mission/help.md에는 반영했습니다.Evidence
closingIssuesReferences를 모르고, 2.72.0, 2.73.0, 2.76.0, 2.95.0은 Hide의 모든 필드를 압니다.auth status로 넘김, 실패한 PR 목록에서 저장소 id 유지, 미션 거부 이유). 모두 통과했습니다.test_ci_plan94개, 정책 검사(workstation identity, harness anchor, readers off lock, attribution)가 통과했습니다.scene=pr-list&gh=outdated)에서 실제 컴포넌트로 캡처했습니다.worktree_control.rs의 테스트 2개: pid 4294967294를 읽지 못함(invalid input parameter).hide-host/src/kit.rs의 테스트 2개:current_runs,!folder.exists().추가 증거
같은 상태(영어, 라이트).
Verification record