Skip to content

feat: highly specific and formatted error reporting#4

Merged
mosishon merged 1 commit into
mainfrom
feature/recovery-notifications-2363762929766357473
Feb 3, 2026
Merged

feat: highly specific and formatted error reporting#4
mosishon merged 1 commit into
mainfrom
feature/recovery-notifications-2363762929766357473

Conversation

@mosishon
Copy link
Copy Markdown
Owner

@mosishon mosishon commented Feb 3, 2026

  • Refactored Evaluate logic to return bullet-pointed, human-readable failures.
  • Added "Expected vs Got" details for all condition types.
  • Implemented indented sub-failure reporting for nested AND/OR groups.
  • Updated default templates to follow the requested multi-line style with mandatory timestamps.
  • Updated sample.yaml and model/detailed_reason_test.go to match the new format.
  • Added HTTP status text to status code mismatch reasons.

- Refactored `Evaluate` logic to return bullet-pointed, human-readable failures.
- Added "Expected vs Got" details for all condition types.
- Implemented indented sub-failure reporting for nested AND/OR groups.
- Updated default templates to follow the requested multi-line style with mandatory timestamps.
- Updated `sample.yaml` and `model/detailed_reason_test.go` to match the new format.
- Added HTTP status text to status code mismatch reasons.

Co-authored-by: mosishon <61285975+mosishon@users.noreply.github.com>
@mosishon mosishon merged commit e465008 into main Feb 3, 2026
2 checks passed
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.

1 participant