Skip to content

[Wheel] Set the trunk wheel version to 0.3.15.dev0 - #18

Merged
Juhyun-Kim-Memphis merged 1 commit into
our_mainfrom
inf-522/wheel-0.3.15.dev0
Sep 21, 2026
Merged

Juhyun-Kim-Memphis merged 1 commit into
our_mainfrom
inf-522/wheel-0.3.15.dev0

Conversation

@Juhyun-Kim-Memphis

@Juhyun-Kim-Memphis Juhyun-Kim-Memphis commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

무엇을 바꾸는가

mooncake-wheel/pyproject.toml의 version을 0.3.13 → 0.3.15.dev0. 한 줄입니다. #11과 같은 형태이고, #11이 건드린 곳도 이 파일 하나뿐이었습니다.

왜

sync PR #17은 충돌하던 이 줄에서 upstream 값 0.3.13을 택했습니다(kvcache-ai#3597 이후 upstream main의 값). 그런데 our_main에는 이제 v0.3.13 릴리스 브랜치보다 새 코드와, upstream이 main에 찍은 pre-release 태그 v0.3.14-rc1(78566d45) 의 코드까지 들어 있습니다. 그래서 0.3.13은 이 트렁크가 아닌 릴리스의 버전을 주장하게 되고, 이 버전을 identity 세그먼트로 쓰는 carrier 이미지 태그도 마찬가지가 됩니다.

왜 0.3.14.dev0이 아니라 0.3.15.dev0인가

#11의 규칙은 "다음 patch의 .dev0"이었습니다. 하지만 PEP 440에서 0.3.14.dev0은 0.3.14rc1보다 아래로 정렬됩니다. 이 트렁크가 이미 포함한 pre-release보다 낮은 버전을 다는 셈입니다. 0.3.15.dev0은 이 트렁크가 포함한 모든 upstream 버전보다 위에 오는 첫 .dev0입니다.

0.3.13  <  0.3.14rc1  <  0.3.14  <  0.3.15.dev0  <  0.3.15
  • 포함한 어느 릴리스·pre-release보다도 위 → 트렁크 빌드를 릴리스로 착각할 수 없습니다.
  • 커밋마다 바뀌지 않는 정적 값 → 정확한 소스는 계속 wheel과 이미지에 박히는 MOONCAKE_COMMIT과 org.opencontainers.image.revision 라벨이 담당합니다.

이 파일이 fork에서 유일한 버전 소스인 이유

nightly의 version-stamp job은 github.repository == 'kvcache-ai/Mooncake'로 게이트돼 있어 이 fork에서는 돌지 않습니다. 그래서 fork 빌드의 버전은 이 파일 하나가 정합니다.

upstream이 0.3.15 이상을 찍으면

sync 머지에서 upstream 값을 택하고, 트렁크는 그보다 위의 다음 .dev0으로 옮깁니다.

검증

컴파일되는 코드는 바뀌지 않습니다. 이 커밋과 TCP pool 기본값 PR의 커밋을 쌓은 브랜치(inf-522/tcp-pool-default-off, 794ce2d8)로 확장 unit gate를 한 번 돌렸습니다: PASS, 로컬 Docker(linux/amd64, w-0529 점유로 BuildKit Job 대신), attest 794ce2d800e85da6c06efe30322f61820d076637, 09:07:46Z → 09:30:23Z(22분 37초), suite 9개 100% tests passed, 0 tests failed out of 9.
실제 판정(wheel 파일명과 설치 버전이 0.3.15.dev0인지)은 이 값을 소비하는 magma 쪽 carrier 빌드에서 확인합니다.

Upstream: none (carry-only)

Refs: INF-522

The sync to upstream main 7faef38 took upstream's 0.3.13, the value main
has carried since kvcache-ai#3597. That names a release this trunk is not: our_main now
contains code past both the v0.3.13 release branch and the v0.3.14-rc1
pre-release tag that upstream cut on main (78566d4), and so does every carrier
image whose identity segment is this version.

#11 moved the trunk to the next patch's .dev0 so a trunk build sorts above
the last release and below its successor. Here the next patch is not enough:
under PEP 440 0.3.14.dev0 sorts below 0.3.14rc1, a pre-release whose code this
trunk already contains. 0.3.15.dev0 is the first .dev0 that sorts above every
upstream version this trunk includes:

  0.3.13 < 0.3.14rc1 < 0.3.14 < 0.3.15.dev0 < 0.3.15

The nightly workflow that would stamp a dated version does not run here (its
version-stamp job is gated on github.repository == 'kvcache-ai/Mooncake'), so
this file stays the single version source for fork builds. When upstream sets
main to 0.3.15 or later, the sync merge keeps their value and the trunk moves
to the next .dev0 above it.

Upstream: none (carry-only)
@Juhyun-Kim-Memphis Juhyun-Kim-Memphis added upstream:carry-only 우리 고유 수정 — upstream 제출 대상 아님 Installation labels Sep 21, 2026
@Juhyun-Kim-Memphis Juhyun-Kim-Memphis self-assigned this Sep 21, 2026
@Juhyun-Kim-Memphis
Juhyun-Kim-Memphis marked this pull request as ready for review September 21, 2026 10:10
@Juhyun-Kim-Memphis
Juhyun-Kim-Memphis merged commit ab6a18f into our_main Sep 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Installation run-ci upstream:carry-only 우리 고유 수정 — upstream 제출 대상 아님

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant