Skip to content

Conversation

arukompas
Copy link
Contributor

Summary

Addresses the Horizon log detection issue reported in #459 by strengthening content-based detection with comprehensive test coverage.

Changes

  • Added test for old Horizon format with Failed: status
  • Added test for new Horizon format without preamble (rotated/truncated logs)
  • Added test for various duration formats (40.12ms, 2m 30s, etc.)
  • Added test for concurrent job output with garbled lines

Testing

All tests pass:

  • 7 Horizon-specific tests ✓
  • 285 total tests in suite ✓
  • No regressions

Approach

Rather than relying on filename-based detection (which can be unreliable), these tests strengthen the content-based fallback mechanism to handle real-world Horizon log variations across multiple versions.

Closes #459

arukompas and others added 2 commits October 17, 2025 16:37
- Test old format with Failed status
- Test new format without preamble (rotated logs)
- Test various duration formats and concurrent output
- Strengthen content-based detection coverage
@arukompas arukompas self-assigned this Oct 17, 2025
@arukompas arukompas merged commit 02ba4e3 into main Oct 17, 2025
25 checks passed
@arukompas arukompas deleted the test/strengthen-horizon-log-detection branch October 18, 2025 08:55
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