Safe, aggregate-only production reports (Bugsnag / Scout / Heroku) for maintainers
メンテナーはふだん 18 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 領域
- devops, observability, security
調査の方向性
Start by checking the existing production monitoring scripts and documentation under bin/ and doc/, then review the Bugsnag, Scout APM, and Heroku read-only API options named in the issue. Define an allow-list for each report and use recorded responses containing fake PII to verify sensitive fields never appear. Done means the aggregate reports, absence-of-PII specs, and maintainer setup docs are in place.
索引モデルが issue の本文から書いたものです。
説明
Problem
Today, production signal reaches contributors only as Discord bot posts (#bot-bugsnag, #bot-scout, #prod-app-performance). Each Bugsnag post links to an event most contributors can't open. The same error repeats for days without anyone seeing the count or trend (e.g. the CSRF errors in #7243). Raw Heroku logs and Bugsnag events can include youth data (see #7263), so we can't just hand out access or paste them into issues or AI tools.
Proposal: aggregate-only, read-only scripts maintainers can run and share
Add bin/prod-report (or three small scripts) that use read-only credentials and print only aggregates that are safe to paste into a GitHub issue:
- Bugsnag (Data Access API, read-only collaborator token in
BUGSNAG_DATA_TOKEN): open error groups from the last N days, with error class, message, controller#action, event count, users affected (count only), and first/last seen. No event metadata, request params, user emails, or URLs. - Scout APM (API key with read-only access): top endpoints by time consumed, p95, and allocations, plus memory-bloat endpoints (helps #7218).
- Heroku (
heroku logs/ log drain): counts of platform error codes (H12,R14,H10…) and 5xx counts by dyno and hour. Routerpath=values are reduced to the route pattern (/casa_cases/:id).
Each script should:
- Fail closed: if a field isn't on its allow-list, it isn't printed
- Have a spec feeding a recorded API response with fake PII and asserting it's absent from the output
- Be documented in
doc/with how to get the read-only token (maintainers only)
Stretch
- Weekly scheduled run posting the summary to a pinned GitHub issue or Discord, replacing per-event Bugsnag pings with trends
- Then disable Discord embeds for Bugsnag (#5390)
- 主要言語
- Ruby
- スター
- 382
- フォーク
- 547
- 平均マージ
- 10日 19時間
- マージ済み PR(30日)
- 20
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rubyforgood/casa のほかの issue
-
Difficulty: Easy Good First Issue Help Wanted 🧹 Linting
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rubyforgood/casa#7265 · コメント 2 件 ·
メンテナーはふだん 18 日以内に返信
-
Stale bot marks Help Wanted / Good First Issue issues as abandoned対応中かも @KoushikSagarr が今日担当しました。 オープンgithub_actions Good First Issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rubyforgood/casa#7262 · コメント 1 件 ·
メンテナーはふだん 18 日以内に返信
-
Bug: Reassigned cases are listed under "Not Assigned" in the Assign a new case dropdown再び着手できるかも @Anandb71 が 9 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
rubyforgood/casa#7241 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 18 日以内に返信
-
⛓️ Security Difficulty: Intermediate Help Wanted
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
rubyforgood/casa#7263 ·
メンテナーはふだん 18 日以内に返信
-
🏗️ Deployment 📈 Performance Improvement Help Wanted
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
rubyforgood/casa#7218 ·
メンテナーはふだん 18 日以内に返信
rubyforgood/casa の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
heartcombo/simple_form#1874 ·
-
Category: OneSwap Status: Accepted
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
OpenNebula/one#8237 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
AllYourBot/hostedgpt#882 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
greenelab/lab-website-template#357 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
open-feature/ruby-sdk-contrib#283 ·
メンテナーはふだん 1 日以内に返信