TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Track Deprecation Warnings in Prod

4 pointsby stevepike5 months ago
We built a (free) tool that tracks deprecation warnings at runtime (ruby only for now). It&#x27;s a gem you install that works like Sentry or Rollbar, but aggregates deprecation warnings instead of exceptions. Docs are at <a href="https:&#x2F;&#x2F;docs.infield.ai&#x2F;docs&#x2F;monitor-deprecation-warnings">https:&#x2F;&#x2F;docs.infield.ai&#x2F;docs&#x2F;monitor-deprecation-warnings</a><p>We built this because we rely on deprecation warnings at Infield as one piece of safely upgrading large Rails apps. Often large apps don&#x27;t have perfect test coverage of all their gem usage, or use different codepaths in staging&#x2F;prod than you on CI. There are good existing open source tools like <a href="https:&#x2F;&#x2F;github.com&#x2F;Shopify&#x2F;deprecation_toolkit">https:&#x2F;&#x2F;github.com&#x2F;Shopify&#x2F;deprecation_toolkit</a> for tracking deprecations in your CI suite but they don&#x27;t work well in prod.<p>Our tool works as an open source gem that you install (<a href="https:&#x2F;&#x2F;github.com&#x2F;infieldai&#x2F;infield-ruby">https:&#x2F;&#x2F;github.com&#x2F;infieldai&#x2F;infield-ruby</a>) which spins up a background thread that collects deprecation warnings and reports them to our API. We aggregate them there and track them over time so you can verify you&#x27;ve addressed them before you push an upgrade. It works for any deprecation that goes through ActiveSupport::Deprecation, which covers Rails and a bunch of Ruby gems but not ruby itself (that&#x27;ll come!).

no comments

no comments