Why This Matters at Engineering Leadership Scale
Most engineering squads run a one-way conveyor belt: code ships, Slack celebrates, and everyone sprints straight into the next epic. Nobody checks four weeks later whether customers actually adopted what was built.
Over three to five years, "ship and forget" fills repositories with zombie features used by 0.2% of tenants. Engineers still migrate those tables during database upgrades, maintain flaky end-to-end tests in CI, patch CVEs in unused dependencies, and debug confusing support tickets.
At the Engineering Manager and Head of Engineering level, pruning unused software creates as much velocity as shipping new features. Running structured Post-Launch Impact Audits 2 to 4 weeks after General Availability (GA) closes the product learning loop and gives you objective proof to retire dead features cleanly.
Core Mental Model & Framework
Treat every live feature as an asset that must pay ongoing maintenance rent across four currencies: CI runtime, on-call alerts, support tickets, and engineer onboarding complexity.
Two to four weeks post-GA, classify every launched feature into one of four verdicts using the Post-Launch Audit & Deprecation Matrix.
| Audit Verdict | 28-Day Adoption Signal | Maintenance Rent | Required Action |
|---|---|---|---|
| Double Down | Beats North Star (>=25% target segment weekly) | Low to moderate; high ROI | Graduate from hypercare; delete release flag; fund v2 |
| Iterate & Fix | High trial (>20%), steep week-2 drop (<5%) | UX friction or latency spikes | Run 1-sprint fix; re-audit at Day 60 |
| Sunset & Deprecate | <2% active paying tenants over 30 to 90 days | High support tickets, CI flakes, or schema drag | Execute 4-step deprecation ladder & delete code |
| Archive Experiment | Feature-flagged test missed control metric | Minimal (isolated behind flag) | Flip flag to 0% immediately; delete branch inside 1 sprint |
Execute the 4-Step Safe Deprecation Ladder whenever sunsetting live functionality:
- Quantify & Align (Day 0): Pull tenant usage and support cost; get PM and Customer Success sign-off.
- Notify & Offer Migration (30 to 90 Days Notice): Email affected admins with the sunset date and supported alternative or data export.
- Soft-Disable / Scream Test (Sunset Date): Toggle the feature off via flag for 14 days while keeping data read-only.
- Hard Delete (Sunset + 14 Days): Delete UI routes, API handlers, cron workers, tests, and archive legacy tables.
Step-by-Step Implementation Tutorial
- Schedule the 28-Day Audit at Launch: When an epic hits GA, immediately create a calendar hold and Jira audit ticket dated 28 days later with the EM, PM, and Support Lead.
- Run a Standard Adoption vs. Maintenance-Rent SQL Query: Join retained tenant usage directly with support ticket volume so debates stay objective.
- Set a Quarterly Retirement Quota: Pair your 15% to 20% Engineering Health Budget with a goal to retire 1 to 2 dead features or legacy API versions per quarter.
- Partner With Customer Success on Comms: Provide a pre-written customer email and migration guide so Account Managers are never blindsided.
- Celebrate Code Deletion Publicly: Post lines deleted, CI minutes saved, and support tickets eliminated in engineering channels so simplification earns visible credit.
-- 28-Day Post-Launch Adoption vs. Maintenance Rent Audit
WITH paying AS (
SELECT COUNT(DISTINCT tenant_id) AS total_tenants
FROM billing.subscriptions WHERE status = 'active'
),
usage AS (
SELECT feature_key,
COUNT(DISTINCT tenant_id) AS tried,
COUNT(DISTINCT CASE WHEN active_weeks >= 2 THEN tenant_id END) AS retained_2w
FROM (
SELECT feature_key, tenant_id, COUNT(DISTINCT date_trunc('week', event_ts)) AS active_weeks
FROM analytics.feature_events
WHERE event_ts >= NOW() - INTERVAL '28 days'
GROUP BY 1, 2
) w GROUP BY 1
),
tickets AS (
SELECT feature_key, COUNT(*) AS tickets_28d,
COUNT(*) FILTER (WHERE severity IN ('P1','P2')) AS high_sev_28d
FROM support.tickets WHERE created_at >= NOW() - INTERVAL '28 days'
GROUP BY 1
)
SELECT u.feature_key, u.tried, u.retained_2w,
ROUND(100.0 * u.retained_2w / NULLIF(p.total_tenants, 0), 2) AS retained_pct,
COALESCE(t.tickets_28d, 0) AS support_28d, COALESCE(t.high_sev_28d, 0) AS p1_p2_28d
FROM usage u CROSS JOIN paying p
LEFT JOIN tickets t ON u.feature_key = t.feature_key
ORDER BY retained_pct ASC, support_28d DESC;# Feature Sunset Checklist
- [ ] Usage < 2% paying tenants verified over 60 days (SQL snapshot linked)
- [ ] PM & Customer Success sign-off recorded
- [ ] Affected admins notified with 30-day sunset notice + migration guide
- [ ] Soft-disabled behind flag for 14-day soak with zero open escalations
- [ ] Dead UI, API, workers, tests, and flags deleted from mainWorked Production Scenario: Before vs. After
Context: A 40-engineer enterprise workflow SaaS company carried 19 legacy and experimental features accumulated over four years (including an XML report builder, Slack v1 bot, widget marketplace, and deprecated v1 webhooks).
Before (Ship-and-Forget): Routine framework upgrades broke obscure legacy tests, CI runtime reached 24 minutes, P2 support escalations spiked every release, and engineer onboarding stretched to 7 weeks.
After (30-Day Audits + Quarterly Sunset Program): The Head of Engineering instituted 28-day post-launch audits and ran the SQL rent query across legacy modules. Six features served <0.8% of paying tenants yet generated 24% of P2 support escalations and 18% of flaky E2E failures. With 45 days notice, squads migrated the 9 active accounts to standard exports and deleted 42,000 lines of dead code and 14 cron workers over two quarters.
| Metric | Before (Zero Audits) | After (2 Quarters of Audits & Sunsets) |
|---|---|---|
| Legacy Surface Retired | 0 features in 2 years | 6 features / 42,000 LOC / 14 workers deleted |
| Monthly P2 Support Escalations | 68/month | 47/month (-31%) |
| Non-Actionable On-Call Pages | 32/month | 25/month (-22%) |
| CI E2E Suite Runtime | 24 minutes | 14.5 minutes (-40%) |
Common Failure Modes & Anti-Patterns
- Hiding UI Buttons Without Deleting Backend Code: Turning off a button while leaving dead endpoints, cron jobs, and tables intact keeps all the maintenance drag alive. Structural Fix: Never close a deprecation ticket until code, workers, flags, and tests are deleted from
main. - Holding the Platform Hostage for One Vocal Account: Paying $120K/yr in maintenance rent for one $15K/yr customer using a legacy tool drains the whole roadmap. Structural Fix: Put maintenance cost beside account ARR and offer a white-glove migration onto supported workflows.
- Blame-Heavy Audits: Punishing teams when a bet misses adoption causes PMs to hide weak metrics. Structural Fix: Praise fast kills as strong product discipline.
How to Handle Pushback in the Room
Pushback 1 (Customer Success Lead): "We cannot turn off the Legacy XML Exporter; three enterprise accounts still run scripts against it."
Calm Response: "We will not break them abruptly. Right now that module drives 14 support escalations a quarter and blocks our database upgrade for all 400 accounts. Let us give those three customers 60 days notice and dedicate two engineering days to help them move onto our supported JSON webhook."
Pushback 2 (PM): "Deleting old features pulls engineers away from Q3 roadmap bets."
Calm Response: "Keeping dead features alive is already pulling capacity away every week through slower CI, flaky tests, and P2 escalations. Spending one sprint deleting these three unused modules reclaims four developer days every month permanently."
Key Takeaways & This Week's Action Rep
- Schedule 28-day impact audits at GA: Never ship and forget major bets.
- Pair adoption directly with maintenance rent: Put tenant usage beside support tickets and incident drag in one SQL view.
- Follow the 4-Step Safe Deprecation Ladder: Quantify, notify with a migration path, soft-disable soak, then hard-delete all code.
- Reward deletion openly: Celebrate removed lines of code and reclaimed CI minutes alongside new launches.
This Week's Action Rep: Run the adoption-vs-rent SQL query across your squad's domain to find your bottom three least-used features. Review the highest-drag candidate with your PM and draft a 30-day sunset plan using the checklist above.