Skip to content

chore: sync workflow templates#144

Merged
stranske merged 1 commit intomainfrom
sync/workflows-ea1ca62957ec
Jan 4, 2026
Merged

chore: sync workflow templates#144
stranske merged 1 commit intomainfrom
sync/workflows-ea1ca62957ec

Conversation

@stranske
Copy link
Copy Markdown
Owner

@stranske stranske commented Jan 3, 2026

Sync Summary

Files Updated

  • agents-keepalive-loop.yml: Keepalive loop - continues agent work until tasks complete
  • issue_scope_parser.js: Parses issue scope and requirements
  • keepalive_loop.js: Core keepalive loop logic

Files Skipped

  • pr-00-gate.yml: File exists and sync_mode is create_only
  • ci.yml: File exists and sync_mode is create_only
  • dependabot.yml: File exists and sync_mode is create_only

Review Checklist

  • CI passes with updated workflows
  • No repo-specific customizations were overwritten

Source: stranske/Workflows
Manifest: .github/sync-manifest.yml

Automated sync from stranske/Workflows
Template hash: ea1ca62957ec

Changes synced from sync-manifest.yml
Copilot AI review requested due to automatic review settings January 3, 2026 23:28
@stranske stranske added sync Automated sync from Workflows automated Automated sync from Workflows labels Jan 3, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 3, 2026

⚠️ Action Required: Unable to determine source issue for PR #144. The PR title, branch name, or body must contain the issue number (e.g. #123, branch: issue-123, or the hidden marker ).

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 3, 2026

🤖 Keepalive Loop Status

PR #144 | Agent: Codex | Iteration 0/5

Current State

Metric Value
Iteration progress [----------] 0/5
Action wait (missing-agent-label)
Disposition skipped (transient)
Gate success
Tasks 0/6 complete
Keepalive ❌ disabled
Autofix ❌ disabled

🔍 Failure Classification

| Error type | infrastructure |
| Error category | resource |
| Suggested recovery | Confirm the referenced resource exists (repo, PR, branch, workflow, or file). |

@github-actions github-actions bot added the autofix Triggers autofix on PR label Jan 3, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 3, 2026

Status | ✅ no new diagnostics
History points | 0
Timestamp | 2026-01-03 23:28:37 UTC
Report artifact | autofix-report-pr-144
Remaining | ∅
New | ∅
No additional artifacts

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR syncs workflow templates from the central Workflows repository, focusing on improving robustness and code quality in the agent keepalive loop and issue scope parsing logic.

Key changes:

  • Fixed string escaping issues in workflow by using environment variables for JSON data
  • Added defensive context validation guards to prevent undefined access errors
  • Refactored issue scope parser from regex-based to line-by-line parsing for more reliable section extraction

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/agents-keepalive-loop.yml Moved LLM completed tasks JSON data to environment variable to avoid JavaScript string escaping issues
.github/scripts/keepalive_loop.js Added context validation guards and refactored source tracking to accumulate counts incrementally rather than filtering at the end
.github/scripts/issue_scope_parser.js Replaced regex-based heading matching with line-by-line parsing and added new utility functions for list extraction and section inference

@stranske stranske merged commit 32ea13b into main Jan 4, 2026
47 of 51 checks passed
@stranske stranske deleted the sync/workflows-ea1ca62957ec branch January 4, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autofix Triggers autofix on PR automated Automated sync from Workflows sync Automated sync from Workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants