fix: harden workflow runner monitoring#6
Conversation
Extract workflow runner prompt results defensively so monitor notifications survive OpenCode client response shape changes.
|
I want you to perform the gatekeeper checks for latest PR state check for regressions |
|
Gatekeeper review for latest PR state. Understood request: review PR #6 ruthlessly for regressions and better implementations, without modifying scope or code. VerdictNo blocking regression found. This PR is narrow, addresses the observed crash path, and passes local verification after installing dependencies. FindingsLow: Low: Regression CheckNo regression found in the main workflow-runner path. The prior crash source, assuming Better Implementation NotesThe new helper is acceptable, but it overlaps with existing Verification
Residual Risk
-- |
Reuse text-part extraction semantics before falling back to other prompt result fields, and replace the brittle monitor test delay with a poll for the notification call.
|
@CodeNomadBot |
|
Gatekeeper re-review for latest PR state. Understood request: repeat the same ruthless PR gatekeeper review on the updated PR #6 state. Assumption: review-only, no code changes requested. VerdictNo blocking regression found. The latest commit directly addresses the two low-severity issues from the prior review, and the branch passes verification. What Improved Since Prior Review
FindingsLow: Regression CheckNo regression found in the workflow-runner monitor path. The previous crash on missing Verification
Residual RiskThe dependency audit warnings observed during the prior dependency install remain outside this PR’s scope because this PR does not change dependencies. -- |
Summary
runResult.data.parts.Why
A real runtime failure showed that the monitor assumed a narrower OpenCode result shape than it should. This fix makes the delegated workflow path more resilient without changing the workflow model.
Review notes
dev.Verification
npm test— PASS, 11 tests.