Skip to content

chore: sync workflow templates#740

Merged
stranske merged 1 commit intomainfrom
sync/workflows-28ebb03f8da4
Mar 2, 2026
Merged

chore: sync workflow templates#740
stranske merged 1 commit intomainfrom
sync/workflows-28ebb03f8da4

Conversation

@stranske
Copy link
Copy Markdown
Owner

@stranske stranske commented Mar 2, 2026

Sync Summary

Files Updated

  • agents-pr-health.yml: PR health scanner - periodic conflict resolution and failing check re-dispatch
  • issue_formatter.py: Issue formatter - converts raw text to AGENT_ISSUE_TEMPLATE format
  • issue_dedup.py: Issue deduplication - finds similar open issues
  • semantic_matcher.py: Semantic matcher - vector similarity for issues/labels
  • label_matcher.py: Label matcher - suggests labels based on semantic matching
  • integration_layer.py: Integration layer - coordinates LangChain components

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: 28ebb03f8da4

Changes synced from sync-manifest.yml
Copilot AI review requested due to automatic review settings March 2, 2026 04:37
@stranske stranske added sync Automated sync from Workflows automated Automated sync from Workflows labels Mar 2, 2026
@stranske stranske temporarily deployed to agent-standard March 2, 2026 04:37 — with GitHub Actions Inactive
@stranske stranske temporarily deployed to agent-standard March 2, 2026 04:37 — with GitHub Actions Inactive
@stranske stranske temporarily deployed to agent-standard March 2, 2026 04:37 — with GitHub Actions Inactive
@agents-workflows-bot
Copy link
Copy Markdown
Contributor

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

@agents-workflows-bot
Copy link
Copy Markdown
Contributor

agents-workflows-bot bot commented Mar 2, 2026

🤖 Keepalive Loop Status

PR #740 | 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/10 complete
Timeout 45 min (default)
Timeout usage 5m elapsed (13%, 40m 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). |

@agents-workflows-bot
Copy link
Copy Markdown
Contributor

agents-workflows-bot bot commented Mar 2, 2026

Keepalive Work Log (click to expand)
# Time (UTC) Agent Action Result Files Tasks Progress Commit Gate
0 2026-03-02 04:40:09 Codex wait (missing-agent-label-transient) skipped 0 0/10
0 2026-03-02 04:41:01 Codex wait (missing-agent-label-transient) skipped 0 0/10 cancelled
0 2026-03-02 04:42:56 Codex wait (missing-agent-label-transient) skipped 0 0/10 success

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/script templates with the upstream stranske/Workflows defaults, mainly affecting the LangChain-based automation utilities and adding the PR health workflow wrapper.

Changes:

  • Added the scheduled/dispatchable Agents PR Health workflow that delegates to the upstream reusable workflow.
  • Simplified intra-package import fallbacks in the LangChain helper scripts (semantic matcher, label matcher, issue dedup, integration layer, issue formatter).
  • Adjusted some type annotations across the LangChain helpers (notably embedding client plumbing).

Reviewed changes

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

Show a summary per file
File Description
scripts/langchain/semantic_matcher.py Removes the embedding client Protocol and loosens embedding client typing used by downstream helpers.
scripts/langchain/label_matcher.py Simplifies semantic_matcher imports; tightens client_info annotation; minor variable rename in keyword fallback branch.
scripts/langchain/issue_formatter.py Simplifies injection/task-validator imports and removes a couple of type-ignore annotations.
scripts/langchain/issue_dedup.py Simplifies semantic_matcher imports and tightens client_info annotation.
scripts/langchain/integration_layer.py Simplifies label_matcher imports and replaces Any return/collection types with concrete label_matcher types.
.github/workflows/agents-pr-health.yml Adds a thin wrapper workflow that schedules/runs PR health checks via upstream reusable workflow.
Comments suppressed due to low confidence (1)

scripts/langchain/semantic_matcher.py:33

  • EmbeddingClientInfo.client is typed as object, but this module (and callers like label_matcher/issue_dedup) treat it as a LangChain embeddings client (needs embed_documents/embed_query). Using object removes the interface contract and makes it easy to pass an incompatible client that will only fail at runtime. Consider restoring a small Protocol (or using LangChain’s Embeddings type) for client so the expected methods are explicit.
class EmbeddingClientInfo:
    client: object
    provider: str
    model: str
    is_fallback: bool

@stranske stranske merged commit 1acfdfc into main Mar 2, 2026
94 of 105 checks passed
@stranske stranske deleted the sync/workflows-28ebb03f8da4 branch March 2, 2026 05:40
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