Skip to content

ci: install agy from its pinned release file, not the latest-only installer - #1744

Merged
yansfil merged 1 commit into
mainfrom
ci/agy-pinned-archive
Oct 27, 2026
Merged

yansfil merged 1 commit into
mainfrom
ci/agy-pinned-archive

Conversation

@yansfil

@yansfil yansfil commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Related: #1738

Summary

agy의 설치 스크립트는 최신 릴리스만 설치합니다. 그래서 agy가 릴리스하는 날마다 고정 버전이 CI의 agy 설치를 모두 깼습니다.
이제 CI는 설치 스크립트를 쓰지 않고, 고정한 릴리스 파일을 직접 받아 sha512를 확인한 뒤 설치합니다. 새 릴리스가 나와도 고정 버전은 그대로 설치됩니다.
고정 버전 올리기는 canary가 읽은 agy 항목(버전, 시스템별 url, sha512)을 그대로 복사하는 일이 됩니다.

스크린샷 없음: 화면 변경 없음 (CI 설치 경로만 바뀜)

Review

  • 조심해서 볼 파일: scripts/install-agent-clis.py agy() - 압축 파일에서 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

  • 확인한 것: 이전 파일을 지금도 받을 수 있습니다. 1.1.14, 1.2.12, 1.4.2, 1.4.7 파일이 HTTP 200을 답했습니다(요청 편지에서 확인한 사실).
  • 확인한 것: 세 manifest(2026-10-27)의 url과 sha512를 표에 그대로 적었습니다. macOS 파일로 실제 agy()를 돌리면 sha512 확인을 통과하고, 설치된 agy --version은 1.4.8입니다.
  • 확인한 것: scripts/tests 전체 655개 통과, 정책 구조 검사 7개 통과.
  • 확인한 것: 테스트를 더했습니다.
    • 시스템 하나에 url이나 sha512가 없는 agy 항목은 거부합니다.
    • sha512가 다른 파일은 설치하지 않습니다.
    • canary가 세 시스템의 파일을 담고, 버전이 엇갈린 manifest는 거부합니다.
  • 확인한 것: agent-journey.json은 export_journey_contract로 다시 만들었습니다.
  • 확인하지 못한 것: Linux와 Windows의 실제 설치. 이 PR의 agent CLIs·agy contract lane이 확인합니다. macOS의 실제 설치는 nightly lane=agy dispatch로 확인합니다.
Verification record

@yansfil
yansfil merged commit 76a2fe4 into main Oct 27, 2026
50 checks passed
@yansfil
yansfil deleted the ci/agy-pinned-archive branch October 27, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant