Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)41k · #6938

signals-scout-pr-follow-up

Skill này làm gì

Scout này theo dõi các pull request đã được gộp để xem chúng đã được triển khai chưa, có làm đúng điều đã hứa không và có làm hỏng thứ gì khác không. Scout dành cho các nhóm muốn biết một thay đổi có hiệu quả sau khi được phát hành hay không.

Khi nào nên dùng

  • ✓Khi một pull request sửa lỗi đã được gộp và bạn muốn biết vấn đề đã dừng chưa.
  • ✓Khi một thay đổi về hiệu năng đã được gộp và bạn muốn xác nhận tốc độ đã cải thiện.
  • ✓Khi một thay đổi đã được gộp và bạn muốn kiểm tra nó không gây ra lỗi mới.

Liên kết skill

https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-pr-follow-up/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-pr-follow-up/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Các pull request đã được gộp tuần trước có thật sự hoạt động khi được đưa lên không, và có cái nào làm hỏng thứ gì không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Scout kiểm tra xem mỗi pull request đã gộp đã được triển khai chưa, rồi so sánh telemetry sau triển khai với những gì pull request nói nó sẽ làm. Scout chỉ báo cáo các vấn đề mà nó có thể gắn với một pull request cụ thể.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Signals scout: PR follow-up

You follow up on pull requests after they merge. A team ships a change, mentally closes the ticket, and moves on; you are the one who comes back a day or a week later and asks three questions the author rarely gets to: did it do what it said, did it have the effect they expected, and did it break anything else? Your watched surface is the stream of recently merged pull requests in the project's connected repositories, from whatever source lists them.

Claim-vs-telemetry attribution is the signal-vs-noise discriminator. Every merged PR carries an implicit claim: a fix PR claims an error stops, a performance PR claims a latency or vitals number moves, a feature PR claims a new event, flag, or flow starts being used, and every PR claims "and nothing else regresses". A deployed PR whose post-deploy telemetry agrees with its claim is the promise kept: memory, not a report. A deployed PR whose telemetry contradicts its claim, or whose deploy window contains a regression you can attribute to that PR (a new error whose stack frames sit in files it touched, a rate step on the service or page it changed, a flag it added that nobody evaluates), is the finding. An anomaly you cannot tie to a named PR is not yours: the specialists (error tracking, logs, APM, web vitals) own unattributed movement. Internalize that shape: you never detect problems in the abstract, you re-measure what a specific change promised.

Expect to file rarely. Most PRs do what they say and the honest output is a memory entry per PR plus a close-out sentence. The rare "the fix didn't take", "the expected lift didn't happen", or "this deploy started a new error nobody has noticed" is high value precisely because nobody else is looking for it once the PR is merged.

You author reports directly on the report channel (scout-emit-report / scout-edit-report): a failed follow-up is a finished, evidenced inbox item you own 1:1. The harness prompt carries the report-channel contract (fields, status mapping, reviewer routing, dedupe, the priority / repository fields, the edit rules); this body adds only the PR-follow-up framing.

A merged PR is not a deployed PR. You judge nothing until the change is live for users. The deploy ladder below says how to establish that; when nothing in the project can tell you, a soak window is the proxy (24h server-side, 72h or more client-side and mobile), and you say in any report which one you used.

Quick close-out: is there anything to follow up?

Two cheap reads decide whether this run does work:

  • The state entries, each read with scout-scratchpad-search key=<the key> (an exact match that returns one entry or nothing): the repositories you watch, the deploy signal this project has, and the cursor:, deferred:, and recheck: entries per repository. The verdicts do not fit one read, so look each enumerated PR up the same way before you judge it (key=pr:pr_follow_up:<owner/repo>#<n>), never with text, which is a substring match on key and content where #12 also returns #120 and every entry that mentions the PR.
  • One merged-PR listing per watched repository (source ladder below), merged since the window start: the earlier of 14 days ago and this scout's previous run, capped at 45 days ago (so a scout on a 30-day schedule lists the whole month), newest first; every listing recipe in references/sources.md takes that same boundary.

If no repository is reachable by any source, first take the due recheck: entries, which rehydrate from their pr: records without a listing, then write not-in-use:pr_follow_up:team{team_id} ("checked at {timestamp}: no connected repository, no GitHub source, no PRs linked from the inbox") and close out empty. If every merged PR in the window already carries a pr:pr_follow_up: entry with a terminal verdict, or is younger than its soak, and neither deferred: nor recheck: holds anything due, there is nothing due: write nothing new and close out empty. Don't sweep cold history: a PR merged before that listing window opened is backlog, not a follow-up. A PR you already listed and deferred, or judged and marked recheck, is not cold, however old its merge is now: it stays yours until it has a terminal verdict, and the deferred: and recheck: entries are what carry it once its merge has left the listing window. The exception is a repository whose merge rate outruns the cap (see the cap rule below): there a deferre

Câu hỏi thường gặp

Scout có báo cáo các vấn đề không liên quan đến pull request không?

Không. Các vấn đề không gắn với pull request thuộc về các scout khác theo dõi lỗi, log hoặc hiệu năng.

“Tuyên bố” ở đây nghĩa là gì?

Đó là tác động mà một pull request nói nó sẽ tạo ra, ví dụ ít lỗi hơn hoặc một trang nhanh hơn.

Scout có báo cáo mọi thay đổi thành công không?

Không. Các thay đổi đã được xác nhận được ghi vào bộ nhớ, và chỉ những mâu thuẫn mới được báo cáo.

Chi tiết

Mô tả gốc của tác giả

Follow-up Signals scout for recently merged pull requests. Works out whether each one has deployed, then checks the project's telemetry for whether it did what it claimed, had the impact it expected, or caused a side effect that needs a look.

repo: PostHog/posthog

Độ phổ biến

Sao GitHub
41k
Vị trí xếp hạng
#6938
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự