Skip to content

Commit 9f2fd5a

Browse files
Copilotpelikhan
andauthored
fix: normalize sessionEnd steering state return
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/294ea110-b23b-4a05-a10c-438f596a35c9 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent 8c6cbdf commit 9f2fd5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

actions/setup/js/copilot_steering_hook.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ function handleSteeringEvent(eventName, payload, env = process.env) {
228228
} catch {
229229
// best-effort cleanup only
230230
}
231-
return { state: priorState, decision: null };
231+
return { state: createInitialState(timestamp), decision: null };
232232
}
233233

234234
const result = computeSteeringDecision(priorState, config, timestamp);

0 commit comments

Comments
 (0)