-
Notifications
You must be signed in to change notification settings - Fork 0
fix(strix): preserve NIM fallback evidence #1254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -221,7 +221,8 @@ has_strix_report_failure_signal() { | |||||||||
| report_root="$newest_report_root" | ||||||||||
| fi | ||||||||||
| while IFS= read -r -d '' report_log; do | ||||||||||
| if grep -Eiq '(^|[^[:alpha:]])(Fatal|Denied|Warn|Warning|WARNING|Timeout)([^[:alpha:]]|$)' "$report_log"; then | ||||||||||
| if grep -Eiv '^[[:space:]]*[^[:alnum:]]*[[:space:]]*MODEL QUALITY WARNING[[:space:]]*[^[:alnum:]]*[[:space:]]*$' "$report_log" | | ||||||||||
| grep -Eiq '(^|[^[:alpha:]])(Fatal|Denied|Warn|Warning|WARNING|Timeout)([^[:alpha:]]|$)'; then | ||||||||||
|
Comment on lines
+224
to
+225
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔍 Banner filter only matches the single title line The exclusion regex matches only a whole line equal to the banner title plus box/padding. If the real NIM Was this helpful? React with 👍 or 👎 to provide feedback.
Comment on lines
+224
to
+225
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📝 Info: Filter regex correctly narrows to the exact heading The anchored filter only exempts the bare Was this helpful? React with 👍 or 👎 to provide feedback. |
||||||||||
| return 0 | ||||||||||
| fi | ||||||||||
| done < <(find "$report_root" -type f -name '*.log' -print0) | ||||||||||
|
|
@@ -3151,7 +3152,8 @@ is_llm_token_limit_error() { | |||||||||
| # was interrupted or incomplete. Used as a guard to prevent the | ||||||||||
| # below-threshold override from silently passing an aborted scan. | ||||||||||
| has_detected_infrastructure_error() { | ||||||||||
| if grep -Eiq '(^|[^[:alpha:]])(Fatal|Denied|Warn|Warning)([^[:alpha:]]|$)' "$STRIX_LOG"; then | ||||||||||
| if grep -Eiv '^[[:space:]]*[^[:alnum:]]*[[:space:]]*MODEL QUALITY WARNING[[:space:]]*[^[:alnum:]]*[[:space:]]*$' "$STRIX_LOG" | | ||||||||||
| grep -Eiq '(^|[^[:alpha:]])(Fatal|Denied|Warn|Warning)([^[:alpha:]]|$)'; then | ||||||||||
|
Comment on lines
+3155
to
+3156
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 Infrastructure-error guard can miss signals in large logs Under the script's
Suggested change
Was this helpful? React with 👍 or 👎 to provide feedback. |
||||||||||
| return 0 | ||||||||||
| fi | ||||||||||
|
|
||||||||||
|
|
||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Report warning-signal check can miss large log artifacts
Under
pipefail,grep -Eiqexits on first match and can kill the upstreamgrep -Eivwith SIGPIPE, so the pipeline fails despite matching. A Fatal/Warn/Timeout signal early in a large report log is then read as absent, and the artifact no longer fails the gate closed.Was this helpful? React with 👍 or 👎 to provide feedback.