Repository navigation
ci: install agy from its pinned release file, not the latest-only installer - #1744
Merged
Merged
Conversation
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.
Related: #1738
Summary
agy의 설치 스크립트는 최신 릴리스만 설치합니다. 그래서 agy가 릴리스하는 날마다 고정 버전이 CI의 agy 설치를 모두 깼습니다.
이제 CI는 설치 스크립트를 쓰지 않고, 고정한 릴리스 파일을 직접 받아 sha512를 확인한 뒤 설치합니다. 새 릴리스가 나와도 고정 버전은 그대로 설치됩니다.
고정 버전 올리기는 canary가 읽은 agy 항목(버전, 시스템별
url,sha512)을 그대로 복사하는 일이 됩니다.스크린샷 없음: 화면 변경 없음 (CI 설치 경로만 바뀜)
Review
scripts/install-agent-clis.pyagy()- 압축 파일에서antigravity를 꺼내agy로 씁니다. 설치 스크립트의 마지막 단계agy install은 건너뜁니다(--help로 보면 셸 PATH와 alias만 고칩니다)..github/workflows/agy-contract.yml- 예전에는 그날의 최신 agy를 받았고, 이제는 고정 버전을 받습니다. 최신 버전은 매일 canary가 잽니다.scripts/agent_journey/latest.py- canary가 macOS arm64, Linux x64, Windows x64 manifest 세 개를 읽습니다. 셋의 버전이 다르거나 url/sha512가 없으면 실패합니다.scripts/install-agy.sh를 지웠습니다. 표의pinned메모와 그것을 읽던 코드도 지웠습니다. 로컬 fake journey에서 agy가 빠지는 이유는 "설치가 버전을 못 고름"에서 "API key 환경 변수가 증명되지 않음"으로 바뀌었습니다(hide-agent-adapter/src/declarations.rs).contracts/README.md):python3 scripts/agent-cli-latest.py <out.json>이 쓴 표에서 agy 항목을 복사합니다.Evidence
agy()를 돌리면 sha512 확인을 통과하고, 설치된agy --version은1.4.8입니다.scripts/tests전체 655개 통과, 정책 구조 검사 7개 통과.agent-journey.json은export_journey_contract로 다시 만들었습니다.agent CLIs·agy contractlane이 확인합니다. macOS의 실제 설치는 nightlylane=agydispatch로 확인합니다.Verification record