Skip to content

chore: sync workflow templates#776

Merged
stranske merged 1 commit intomainfrom
sync/workflows-cfae51064fd2
Mar 24, 2026
Merged

chore: sync workflow templates#776
stranske merged 1 commit intomainfrom
sync/workflows-cfae51064fd2

Conversation

@stranske
Copy link
Copy Markdown
Owner

Sync Summary

Files Updated

  • agents-keepalive-loop.yml: Keepalive loop - continues agent work until tasks complete (deprecated; replaced by agents-81-gate-followups.yml, removal no earlier than 2026-02-15)
  • agents-71-codex-belt-dispatcher.yml: Codex belt dispatcher - selects issues and creates agent branches for work
  • agents-72-codex-belt-worker.yml: Codex belt worker - executes agent on issues with full prompt and context
  • agents-73-codex-belt-conveyor.yml: Codex belt conveyor - orchestrates belt worker execution and handles completion
  • agents-autofix-loop.yml: Autofix loop - dispatches Codex when autofix can't fix Gate failures (deprecated; replaced by agents-81-gate-followups.yml, removal no earlier than 2026-02-15)
  • agents-autofix-dispatcher.yml: Autofix dispatch bridge - listens for Gate repository_dispatch events and triggers the autofix loop
  • agents-issue-optimizer.yml: Issue optimizer - LangChain-based issue formatting and optimization (Phase 1)
  • agents-guard.yml: Agents guard - enforces agents workflow protections (Health 45)
  • agents-auto-pilot.yml: Auto-pilot - end-to-end automation orchestrator (format → optimize → agent → verify)
  • agents-weekly-metrics.yml: Weekly metrics - aggregates auto-pilot, keepalive, autofix and verifier metrics into summary reports
  • maint-coverage-guard.yml: Coverage guard - daily baseline monitoring with automatic issue creation
  • maint-76-claude-code-review.yml: Claude Code review (opt-in) - runs only on labeled PRs or manual dispatch
  • reusable-pr-context.yml: Reusable PR context workflow - centralized PR data fetching via GraphQL
  • langchain_client.py: LangChain client builder - multi-provider client with slot-based fallback and configuration
  • LABELS.md: Label definitions and usage
  • WORKFLOW_USER_GUIDE.md: Workflow user guide - explains the CI/agent system for repo consumers

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
  • llm_slots.json: None

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: cfae51064fd2

Changes synced from sync-manifest.yml
@stranske stranske added sync Automated sync from Workflows automated Automated sync from Workflows labels Mar 24, 2026
Copilot AI review requested due to automatic review settings March 24, 2026 22:30
@stranske-keepalive
Copy link
Copy Markdown
Contributor

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

@stranske-keepalive
Copy link
Copy Markdown
Contributor

stranske-keepalive bot commented Mar 24, 2026

🤖 Keepalive Loop Status

PR #776 | 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/20 complete
Timeout 45 min (default)
Timeout usage 7m elapsed (16%, 38m remaining)
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). |

@stranske-keepalive
Copy link
Copy Markdown
Contributor

stranske-keepalive bot commented Mar 24, 2026

Keepalive Work Log (click to expand)
# Time (UTC) Agent Action Result Files Tasks Progress Commit Gate
0 2026-03-24 22:32:22 Codex wait (missing-agent-label-transient) skipped 0 0/20 cancelled
0 2026-03-24 22:35:30 Codex wait (missing-agent-label-transient) skipped 0 0/20 cancelled
0 2026-03-24 22:36:45 Codex wait (missing-agent-label-transient) skipped 0 0/20 cancelled
0 2026-03-24 22:37:48 Codex wait (missing-agent-label-transient) skipped 0 0/20 success

@stranske stranske merged commit dd51b94 into main Mar 24, 2026
94 of 107 checks passed
@stranske stranske deleted the sync/workflows-cfae51064fd2 branch March 24, 2026 22:33
@stranske stranske mentioned this pull request Mar 24, 2026
2 tasks
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

Syncs this repository’s workflow templates (and related docs/helpers) with the upstream stranske/Workflows baseline, primarily by updating pinned GitHub Action SHAs and aligning documentation references.

Changes:

  • Updated multiple GitHub Actions workflow files to newer pinned SHAs for third-party actions (e.g., create-github-app-token, setup-node, download-artifact, cache, claude-code-action).
  • Refactored tools/langchain_client.py to inline the optional langchain_anthropic import instead of using a helper.
  • Updated workflow documentation references (labels guide, user guide) to match current workflow naming/behavior.

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tools/langchain_client.py Refactors optional Anthropic client import handling used by LangChain client builders.
docs/LABELS.md Updates workflow references for issue intake labeling to the current workflow file/name.
WORKFLOW_USER_GUIDE.md Adjusts documentation about a legacy maintenance workflow’s trigger/usage.
.github/workflows/reusable-pr-context.yml Updates pinned SHA for actions/create-github-app-token.
.github/workflows/maint-coverage-guard.yml Updates pinned SHAs for create-github-app-token and download-artifact.
.github/workflows/maint-76-claude-code-review.yml Updates pinned SHA for anthropics/claude-code-action.
.github/workflows/agents-weekly-metrics.yml Updates pinned SHA for actions/create-github-app-token.
.github/workflows/agents-keepalive-loop.yml Updates pinned SHAs for actions/setup-node and create-github-app-token.
.github/workflows/agents-issue-optimizer.yml Updates pinned SHA for actions/create-github-app-token.
.github/workflows/agents-guard.yml Updates pinned SHA for actions/create-github-app-token.
.github/workflows/agents-autofix-loop.yml Updates pinned SHA for actions/create-github-app-token.
.github/workflows/agents-autofix-dispatcher.yml Updates pinned SHA for actions/create-github-app-token.
.github/workflows/agents-auto-pilot.yml Updates pinned SHAs for create-github-app-token, setup-node, and actions/cache.
.github/workflows/agents-73-codex-belt-conveyor.yml Updates pinned SHA for actions/create-github-app-token.
.github/workflows/agents-72-codex-belt-worker.yml Updates pinned SHA for actions/create-github-app-token.
.github/workflows/agents-71-codex-belt-dispatcher.yml Updates pinned SHA for actions/create-github-app-token.

Comment on lines +219 to 223
try:
from langchain_anthropic import ChatAnthropic
except ImportError:
ChatAnthropic = None # noqa: N806

Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

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

The try/except import of ChatAnthropic is now duplicated here and again in build_chat_clients(). Consider centralizing this into a small helper (like the removed _load_chat_anthropic) so future provider-import changes only need to be made in one place.

Copilot uses AI. Check for mistakes.
Comment on lines +339 to +342
try:
from langchain_anthropic import ChatAnthropic
except ImportError:
ChatAnthropic = None # noqa: N806
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

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

Reassigning the imported ChatAnthropic symbol to None (and suppressing N806) makes the control flow harder to follow and forces lint exceptions. Prefer importing into a differently-named local (e.g., a chat_anthropic_cls variable) and checking is None explicitly; this avoids reusing the class name for an optional value.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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