Repository navigation
chore(ci): merge queue 로 대체된 Base Freshness 를 걷어낸다 (#1483) - #1484
Merged
Merged
Conversation
merge queue 가 최신 base 위에 merge group 을 만들어 required 를 전부 재실행하므로 base 최신성을 별도 status 로 감시할 이유가 없어졌다. required 목록에서도 이미 뺐다. 남겨 두면 해롭기까지 하다. publisher 는 develop push 마다 열린 PR 전량을 재판정하는데, 첫 큐 시도에서 8건 연속 실패하며 CI 토큰 한도를 소진했고 그 여파로 merge group 의 merge-order-guard 가 403 을 맞아 #1460 이 큐에서 방출됐다. - 워크플로 2개와 스크립트·정책 테스트 3개를 삭제한다. - screenshot-baseline-apply 의 probe 재dispatch 와 그것을 고정하던 단언을 함께 지운다. - README 의 해당 문단을 merge queue 설명으로 교체한다 — 기존 문장은 strict 활성화를 지시해 현재 설정과 정반대였다. Refs #1483
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.
🧪 CI Test Plan
{ "androidTest": { "mode": "none", "reason": ".github/ 워크플로와 Node 정책 테스트, README 만 변경 — Kotlin·Gradle·매니페스트·리소스 경계를 건드리지 않아 계측 테스트 대상이 없다", "tests": [] } }배경
#1477 로 merge queue 를 도입하면서
Base Freshness의 역할이 사라졌다. 하는 일이 "PR 이 최신 base 위에 있나" 확인인데, 큐가 최신 base 위에 merge group 을 만들어 required 를 전부 재실행한다. required 목록에서도 이미 뺐다(11건 → 10건).남겨 두면 해롭다. publisher 는
developpush 마다 열린 PR 전량을 재판정한다. 첫 큐 시도에서 이게 8건 연속 실패하며 CI 토큰 한도를 소진했고, 그 여파로 merge group 의merge-order-guard가API rate limit exceeded for installation403 을 맞아 #1460 이 큐에서 방출됐다. 지금은gh workflow disable로 publisher 만 꺼 둔 상태라 코드와 저장소 설정이 어긋나 있고, 이 PR 이 그 어긋남을 없앤다.변경
base-freshness.yml·base-freshness-probe.ymlevaluate-base-freshness.mjs·.test.mjs·base-freshness-policy.test.mjsscreenshot-baseline-apply.ymlremote-dev-workflows-policy.test.mjsREADME.mdREADME 문단은 그냥 낡은 게 아니라 현재 설정과 정반대를 지시하고 있었다 — «
Require branches to be up to date before merging도 함께 활성화해야 한다». strict 는 큐 도입과 함께 껐다.검증
로컬 실측이다.
node --test .github/scripts/*.test.mjsscripts/repository-quality.shgrep -rn "base-freshness|Base Freshness|BASE_FRESHNESS"리뷰어에게
merge_group에서 돌던Base Freshness Probejob 도 함께 사라진다. required 가 아니었고 큐가 정의상 최신 base 위에 group 을 만들므로 검증 공백은 없다. 되돌려야 하면 이 커밋을 revert 한 뒤 ruleset 의 required 목록에Base Freshness를 다시 넣고 strict 를 켜면 된다.Refs #1483