[PR #1786] [CLOSED] serve: scope watchdog diagnostics to the current engine run #3670

Closed
opened 2026-11-07 15:29:57 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1786
Author: @CC-David-CC
Created: 10/10/2026
Status: ❌ Closed

Base: main ← Head: fix/hip-watchdog-diagnostics-1705


📝 Commits (4)

  • 86bf88e fix: preserve watchdog diagnosis with long HIP traces
  • 14aebb4 fix(serve): scope watchdog lookup to the current engine run
  • a948516 Merge current main and retain run-scoped watchdog diagnostics
  • cee82f6 Merge Strata v0.1.43 into fix/hip-watchdog-diagnostics-1705

📊 Changes

3 files changed (+139 additions, -17 deletions)

View changed files

📝 docs/AMD_HIP.md (+15 -4)
📝 serve/server.py (+34 -13)
📝 serve/test_server.py (+90 -0)

📄 Description

Upstream now searches the last 256 KB of the engine log for a watchdog, fixing the usual long-trace case. This follow-up searches the current engine run in reverse, so an older run's watchdog cannot explain a new exit and a trace longer than 256 KB cannot hide the current cause.

Preserves server-stop and current-error handling. Adds regressions for prior-run attribution, trace length, reverse-read boundaries, missing trailing newlines, and diagnostic precedence. Documents the reported HIP runtime workaround without claiming it fixes hangs or reboots. No native engine or inference default changes remain in the diff.

Validation on current main 61b3fb5d: 8 focused EngineDeath tests passed; the full serving suite ran 696 tests successfully, with 15 skips. git diff --check passed.

Related: #1705 and #872. #1931 adds separate opt-in HIP runtime stability controls. A stability-profile run validates its specific runtime configuration; it is not evidence that this diagnostics PR fixes the underlying failure.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/1786 **Author:** [@CC-David-CC](https://github.com/CC-David-CC) **Created:** 10/10/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/hip-watchdog-diagnostics-1705` --- ### 📝 Commits (4) - [`86bf88e`](https://github.com/Niko1221/Strata/commit/86bf88eaadf7aeda48baee933569db80d9f4ee53) fix: preserve watchdog diagnosis with long HIP traces - [`14aebb4`](https://github.com/Niko1221/Strata/commit/14aebb4f8852c6858e67a48c9cbc2c4c50424968) fix(serve): scope watchdog lookup to the current engine run - [`a948516`](https://github.com/Niko1221/Strata/commit/a948516c3d5e98a763479d26042b5d871936ca5c) Merge current main and retain run-scoped watchdog diagnostics - [`cee82f6`](https://github.com/Niko1221/Strata/commit/cee82f60c50257fe7ebeeeab6abbbf9057be3158) Merge Strata v0.1.43 into fix/hip-watchdog-diagnostics-1705 ### 📊 Changes **3 files changed** (+139 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `docs/AMD_HIP.md` (+15 -4) 📝 `serve/server.py` (+34 -13) 📝 `serve/test_server.py` (+90 -0) </details> ### 📄 Description Upstream now searches the last 256 KB of the engine log for a watchdog, fixing the usual long-trace case. This follow-up searches the current engine run in reverse, so an older run's watchdog cannot explain a new exit and a trace longer than 256 KB cannot hide the current cause. Preserves server-stop and current-error handling. Adds regressions for prior-run attribution, trace length, reverse-read boundaries, missing trailing newlines, and diagnostic precedence. Documents the reported HIP runtime workaround without claiming it fixes hangs or reboots. No native engine or inference default changes remain in the diff. Validation on current main 61b3fb5d: 8 focused EngineDeath tests passed; the full serving suite ran 696 tests successfully, with 15 skips. git diff --check passed. Related: #1705 and #872. #1931 adds separate opt-in HIP runtime stability controls. A stability-profile run validates its specific runtime configuration; it is not evidence that this diagnostics PR fixes the underlying failure. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:29:57 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3670
No description provided.