fix: complete truncated updateKeepaliveLoopSummary script#125
Conversation
The Update summary comment step in agents-keepalive-loop.yml was truncated, missing the closing brace and function call. This caused a SyntaxError: Unexpected token ')' when the workflow ran. Fixes the keepalive loop failure on PR #124 and any other PRs with agent:codex labels.
There was a problem hiding this comment.
Pull request overview
This PR fixes a syntax error in the agents-keepalive-loop.yml workflow file caused by truncated JavaScript code. The Update summary comment step was missing the closing brace for the inputs object and the function call to updateKeepaliveLoopSummary, which caused PR #124's keepalive loop to fail with a SyntaxError: Unexpected token ')'.
- Adds the missing closing brace
};to complete theinputsobject definition - Adds the missing function call
await updateKeepaliveLoopSummary({ github, context, core, inputs });
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Automated Status SummaryHead SHA: 2d2a361
Coverage Overview
Coverage Trend
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeNo scope information available Tasks
Acceptance criteria
|
Summary
The
Update summary commentstep inagents-keepalive-loop.ymlwas truncated, missing:};for theinputsobjectawait updateKeepaliveLoopSummary({ github, context, core, inputs });function callThis caused a
SyntaxError: Unexpected token ')'when the workflow ran, which is why PR #124's keepalive loop failed.Evidence
From the workflow logs:
Fix
Added the missing 2 lines to complete the JavaScript code block:
Testing
Closes #124's blocking issue.
Automated Status Summary
Scope
GITHUB_STEP_SUMMARYoutput so iteration results are visible in the Actions UITasks
agent:codexlabelagents-keepalive-loop.ymlafter agent runbuildStatusBlock()inagents_pr_meta_update_body.jsto acceptagentTypeparameteragentTypeis set (CLI agent): hide workflow table, hide head SHA/required checksagent:*label):<!-- gate-summary: -->comment posting (use step summary instead)<!-- keepalive-round: N -->instruction comments (task appendix replaces this)<!-- keepalive-loop-summary -->to be the single source of truthagent:*label):<!-- gate-summary: -->commentagent_typeoutput to detect job so downstream workflows know the modeagents-pr-meta.ymlto conditionally skip gate summary for CLI agent PRsAcceptance criteria
Head SHA: 04f263d
Latest Runs: ✅ success — Gate
Required: gate: ✅ success