chore: SessionStart 부트스트랩 훅을 startup·resume 에만 건다 - #64
Open
m-a-king wants to merge 1 commit into
Open
Conversation
- SessionStart 는 clear·compact 에도 발동해 /clear 마다 infra 설치기가 통째로 돌아 몇 초씩 기다렸다. 그때는 디스크의 자산이 그대로라 다시 깔 게 없다 - resume 은 새 프로세스로 옛 세션을 열 때 startup 대신 오는 값이라 빼면 그 경로가 설치를 못 받으므로 남긴다 - 정본 템플릿(infra workspace-init.sh)도 같은 matcher 를 갖도록 TeamPiKi/infra#77 에서 고쳤다 Claude-Session: https://claude.ai/code/session_01Lng75FcSaVLFy7bsp8tKQ9
|
Discord 스레드 연동용 메타데이터입니다. discord-pr-bot 워크플로가 자동 생성하며, 수정·삭제하면 PR 과 Discord 알림 연동이 끊깁니다. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Situation
SessionStart 훅은 startup 외에 clear·compact 에도 발동한다. 그래서
/clear마다 infra install.sh 가 통째로 다시 돌아 몇 초씩 기다려야 했다(piki 워크스페이스에서 6.6초 실측).Task
/clear·compact 에서는 디스크의 자산이 그대로라 다시 깔 게 없다. 그 경로의 재실행을 끊는다.
Action
.claude/settings.json의 SessionStart 훅에"matcher": "startup|resume"을 추가했다. resume 은 새 프로세스로 옛 세션을 열 때 startup 대신 오는 값이라 빼면--resume세션이 영영 설치를 못 받으므로 남겼다. 정본 템플릿(infraworkspace/workspace-init.sh)도 TeamPiKi/infra#77 에서 같은 matcher 를 갖도록 고쳤다.Result
https://claude.ai/code/session_01Lng75FcSaVLFy7bsp8tKQ9