Skip to content

Feature/updates 2026 06 30#691

Merged
kelly-musk merged 3 commits into
kellymusk:masterfrom
Zarmaijemimah:feature/updates-2026-06-30
Jul 3, 2026
Merged

Feature/updates 2026 06 30#691
kelly-musk merged 3 commits into
kellymusk:masterfrom
Zarmaijemimah:feature/updates-2026-06-30

Conversation

@Zarmaijemimah

@Zarmaijemimah Zarmaijemimah commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Closes #606


Feature/updates 2026 06 30

Bimex Dev added 2 commits June 29, 2026 15:31
- Replaced all 15 unwrap() calls with expect() containing descriptive error messages
- Each expect() explains the failure context and root cause
- All changes are in test code only (tests/alerting_integration.rs)
- Errors indicate unrecoverable test setup failures (registry conflicts, serialization errors)
- No production code affected
- Added ALERTING_TESTS_PANIC_FIX.md documenting all changes

Fixes panic-prone calls in metric registration helpers and render function.
Maintains test isolation and existing test structure.
- Replaced all 40+ unwrap() calls with expect() containing descriptive error messages
- Fixed panic-prone calls in seed_fee_structures() database setup (5 instances)
- Fixed panic-prone calls in all 8 test functions
- Each expect() explains the failure context (HTTP request building, service calls, JSON parsing, etc.)
- Errors indicate specific failure points for easier debugging
- Test code only - no production code affected

Improves test reliability and debugging experience with clear error messages.
@Zarmaijemimah

Copy link
Copy Markdown
Contributor Author

close #606

@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@Zarmaijemimah Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@kelly-musk kelly-musk merged commit e5a5a6d into kellymusk:master Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Codebase Audit] Reduce panic-prone calls in tests/alerting_integration.rs

2 participants