사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/posthog/ai-plugin --skill checking-deploy-timing시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
Checking when something was deployed
PostHog's CI writes a deploy marker into the project as an annotation every time a commit ships to an environment. These annotations are hidden_in_user_interface: true, so they don't show in the UI and are easy to forget — but they are the source of truth for "when did this go out". Always check them when staff ask about deploy timing, rather than inferring from when a metric or event volume changed (that conflates a capture change with a query/code change).
The deploy annotations
List them with posthog:annotations-list using {"search": "deploy"}. Each deploy marker looks like:
content:Deployed PostHog/posthog@<sha> to <env>— env isprod-us,prod-eu, ordevcreation_type:GITscope:organizationhidden_in_user_interface:truedate_marker: the deploy time (UTC)
They're returned newest-first; paginate with offset if you need to go further back.
Workflow
- Find the change's merge commit. Identify the PR (e.g.
gh search prs --repo PostHog/posthog --author <user> "<keywords>"), thengh pr view <n> --repo PostHog/posthog --json number,title,mergedAt,mergeCommit,state. Note the merge commit SHA andmergedAt. - List the target environment's deploys around the merge, oldest-first. Match the region the user asked about (
prod-usfor "the US",prod-eufor "the EU"). The annotations come back newest-first, so don't just take the first... to <env>match on page 1 — that's the most recent deploy. Paginate (withoffset) until you reach markers aroundmergedAt, then consider that environment's deploys in chronological order, starting with the first whosedate_markeris aftermergedAt. Check them earliest-first in step 3. - Confirm the deployed commit actually contains the merge commit. A later
date_markeris necessary but not sufficient — a deploy can fire just after the merge yet build a slightly older commit. Verify ancestry:
gh api repos/PostHog/posthog/compare/<merge_sha>...<deployed_sha> --jq '{status,ahead_by,behind_by}'behind_by: 0 with status ahead or identical means the deployed commit includes the merge — that's your answer. If behind_by > 0, this deploy predates the change; move to the next newer deploy of that environment (the next one chronologically) and re-check. The first deploy that passes is the one that shipped the change.
- Report the deploy time (and PR/commit) for the region asked about. Mention other regions if relevant —
prod-usandprod-euusually deploy minutes apart but not simultaneously.
Notes
- "Live in the US" =
prod-us; "the EU" =prod-eu.devis the internal staging environment, not customer-facing. - For a query-runner / read-path change, the new behaviour applies retroactively to all data once deployed — so you can't time it from event volume, only from the deploy annotation. For a capture change, event volume for the new property is a secondary cross-check, but the annotation is still the authoritative deploy time.





