← Back to Pull requests

Rewrite goals ping job #2469

Closed
unknown closed this pull request without merging on Aug 07, 2026 06:54 UTC
View on GitHub
unknown unknown commented on Jul 29, 2026 21:39 UTC
Author

Run the job every week, allow goals to be on custom reporting schedules (weekly, biweekly, 4-weekly deadlines), DM owners with an aggregate of all their goals that need updates (instead of sending to goal topics), and report any errors to a dedicated topic.

Solves part of #2454

Examples

<details><summary>Direct message</summary>

Hi @Ferris Rustoevsky!

> This is your reminder to post updates for the following goals:

> + Improve everything ever ([goals#123](../../rust-project-goals/issues/123))

- latest update: 2026-07-28, 17:34

- next weekly cycle starts 2026-08-06, 14:00

> + Allow safely thinking about unsafe code ([goals#231](../../rust-project-goals/issues/231))

- latest update: 2026-07-27, 12:25

- next biweekly cycle starts 2026-08-13, 14:00

> + Save turbofish from extinction ([goals#312](../../rust-project-goals/issues/312))

- goal started: 2026-06-01, 21:12 (no updates so far)

- next 4-week cycle starts 2026-08-27, 14:00

> Some questions to guide you (you don't have to follow this):

> + What has happened since your last update?

+ Are there any relevant PRs, issues, docs, or discussions to link?

+ Are you blocked on any issue, PR, or team?

+ Do you need help or feedback? Where should people look?

+ What do you plan to work on before the next update?

> Even if there's little to say, a brief message provides reassurance that the goal is still alive.

> Please leave your updates as comments on the tracking issues. Thanks! <3

> ---

> Note: Two- and four-week goals are pinged weekly until an update is posted for the current reporting period.

> By default, the reporting period is 4 weeks. If you'd like to post updates more often, you can override the period per goal by labeling the issue with R-every-week, R-every-2-weeks, or R-every-4-weeks.

</details>

<details><summary>Report (topic)</summary>

Hi @T-goals!

> Weekly run finished.

> 2 owners were notified about 3 goals:

+ Weekly reports: 1 (next cycle: 2026-08-06, 14:00)

+ Biweekly reports: 1 (next cycle: 2026-08-13, 14:00)

+ Four-week reports: 1 (next cycle: 2026-08-27, 14:00)

> 5 errors happened in the process.

> ---

> The following goals have no owner assigned:

> + Unify the target specification (goals#501)

> Please assign an owner and reach out to them!

> ---

> The following goals have more than one owner assigned:

> + goals#502: @_Bob and @_NotBob

> A goal should have exactly one owner. All owners with a Zulip account were still notified separately.

> ---

> The following goal owners were not pinged because they don't have a Zulip account specified in the team repo:

> + goals#503: @_Bob

- @_NotBob got notified on Zulip.

> Please make sure to register their zulip-id and reach out to them!

> ---

> The following assignees could not be found in the team repo, so Triagebot could not look up their Zulip accounts:

> + goals#504: @unknown-user

- Nobody was notified on Zulip.

> Please check the assignee usernames and their entries in the team repo.

> ---

> The following goals have conflicting reporting period labels:

> + goals#505: R-every-week, R-every-4-weeks (R-every-week was used)

> Unlabeled goals use the default period of 4 weeks.

> Until next week! <3

</details>

<details><summary>Goal accepted</summary>

Goal Allow safely thinking about unsafe code ([goals#231](../../rust-project-goals/issues/231)) has been accepted. It's owned by @Ferris Rustoevsky.

</details>

Diff: 472 lines (+354 / -118) across 5 files Reviewer: nxsaken Review duration: 12075m
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.46) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.46 · 472 lines diff across 5 files
0.46
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.368
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #2469"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 45.7% (MEDIUM) · Higher = larger blast radius
45.7%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 18.1% · Safe to merge
18.1%