Phil Skentelbery
1e2135a49a
fix: Resolve v1.1.2-rc.1 production issues - Static files and metrics
This release candidate fixes two critical production issues discovered in v1.1.2-rc.1:
1. CRITICAL: Static files returning 500 errors
- HTTP monitoring middleware was accessing response.data on streaming responses
- Fixed by checking direct_passthrough flag before accessing response data
- Static files (CSS, JS, images) now load correctly
- File: starpunk/monitoring/http.py
2. HIGH: Database metrics showing zero
- Configuration key mismatch: config set METRICS_SAMPLING_RATE (singular),
buffer read METRICS_SAMPLING_RATES (plural)
- Fixed by standardizing on singular key name
- Modified MetricsBuffer to accept both float and dict for flexibility
- Changed default sampling from 10% to 100% for better visibility
- Files: starpunk/monitoring/metrics.py, starpunk/config.py
Version: 1.1.2-rc.2
Documentation:
- Investigation report: docs/reports/2025-11-28-v1.1.2-rc.1-production-issues.md
- Architect review: docs/reviews/2025-11-28-v1.1.2-rc.1-architect-review.md
- Implementation report: docs/reports/2025-11-28-v1.1.2-rc.2-fixes.md
Testing: All monitoring tests pass (28/28)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 09:46:31 -07:00
..
2025-11-18 23:01:53 -07:00
2025-11-24 10:17:50 -07:00
2025-11-24 10:17:50 -07:00
2025-11-19 16:11:17 -07:00
2025-11-19 16:11:17 -07:00
2025-11-19 16:08:33 -07:00
2025-11-24 10:17:50 -07:00
2025-11-22 18:22:08 -07:00
2025-11-24 11:54:04 -07:00
2025-11-22 18:50:23 -07:00
2025-11-25 13:28:56 -07:00
2025-11-24 17:25:25 -07:00
2025-11-24 13:26:15 -07:00
2025-11-24 13:11:14 -07:00
2025-11-24 17:23:46 -07:00
2025-11-24 19:41:39 -07:00
2025-11-25 21:24:47 -07:00
2025-11-25 08:56:06 -07:00
2025-11-27 20:46:49 -07:00
2025-11-26 14:54:52 -07:00
2025-11-27 21:42:37 -07:00
2025-11-28 09:46:31 -07:00
2025-11-28 09:46:31 -07:00
2025-11-24 10:25:00 -07:00
2025-11-24 10:25:00 -07:00
2025-11-24 10:25:00 -07:00
2025-11-18 23:01:53 -07:00
2025-11-25 11:31:43 -07:00
2025-11-25 11:06:06 -07:00
2025-11-24 13:27:19 -07:00
2025-11-18 23:01:53 -07:00
2025-11-18 23:01:53 -07:00
2025-11-18 23:01:53 -07:00
2025-11-18 23:01:53 -07:00
2025-11-19 13:03:49 -07:00
2025-11-18 23:01:53 -07:00
2025-11-25 13:28:56 -07:00
2025-11-24 11:54:04 -07:00
2025-11-24 11:54:04 -07:00
2025-11-24 11:54:04 -07:00
2025-11-19 14:51:30 -07:00
2025-11-19 14:51:30 -07:00
2025-11-24 17:23:46 -07:00
2025-11-24 17:23:46 -07:00
2025-11-24 11:54:04 -07:00
2025-11-24 17:23:46 -07:00
2025-11-24 11:53:20 -07:00
2025-11-24 13:11:14 -07:00
2025-11-24 18:53:55 -07:00
2025-11-24 11:54:04 -07:00
2025-11-24 13:11:14 -07:00
2025-11-18 19:21:31 -07:00
2025-11-18 20:35:36 -07:00
2025-11-18 23:01:53 -07:00
2025-11-18 23:01:53 -07:00
2025-11-19 10:14:35 -07:00
2025-11-19 10:30:55 -07:00
2025-11-19 09:00:08 -07:00
2025-11-18 19:21:31 -07:00
2025-11-18 23:01:53 -07:00
2025-11-19 16:29:52 -07:00
2025-11-24 13:11:14 -07:00
2025-11-25 13:28:56 -07:00
2025-11-25 10:39:58 -07:00
2025-11-25 10:34:00 -07:00
2025-11-25 13:56:30 -07:00
2025-11-25 20:10:41 -07:00
2025-11-25 20:10:41 -07:00
2025-11-26 14:13:44 -07:00