Skip to content

chore: sync workflow templates#736

Closed
stranske wants to merge 1 commit intomainfrom
sync/workflows-5ff88480d09c
Closed

chore: sync workflow templates#736
stranske wants to merge 1 commit intomainfrom
sync/workflows-5ff88480d09c

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: 5ff88480d09c

Changes synced from sync-manifest.yml
Copilot AI review requested due to automatic review settings March 2, 2026 02:14
@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 02:14 — with GitHub Actions Inactive
@stranske stranske temporarily deployed to agent-standard March 2, 2026 02:14 — with GitHub Actions Inactive
@stranske stranske temporarily deployed to agent-standard March 2, 2026 02:14 — with GitHub Actions Inactive
@agents-workflows-bot
Copy link
Copy Markdown
Contributor

⚠️ Action Required: Unable to determine source issue for PR #736. 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 #736 | 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 (12%, 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 02:15:12 Codex wait (missing-agent-label-transient) skipped 0 0/10 cancelled
0 2026-03-02 02:17:19 Codex wait (missing-agent-label-transient) skipped 0 0/10 cancelled
0 2026-03-02 02:18:15 Codex wait (missing-agent-label-transient) skipped 0 0/10 cancelled
0 2026-03-02 02:19:22 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 workflow templates and LangChain helper scripts from stranske/Workflows, updating the repo’s automation surface (PR health scanning) and aligning the semantic-matching utilities with the upstream template patterns.

Changes:

  • Added a new scheduled “Agents PR Health” workflow that delegates to the Workflows repo reusable workflow.
  • Simplified/standardized fallback imports in LangChain scripts (package import vs direct invocation).
  • Adjusted type hints around embedding/label/issue vector store integration points.

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 adjusts how the embedding client is typed/used.
scripts/langchain/label_matcher.py Simplifies semantic_matcher imports; tightens client_info type and renames a local variable in keyword branch.
scripts/langchain/issue_formatter.py Simplifies injection guard/task validator import fallbacks; removes a couple of local typing ignores.
scripts/langchain/issue_dedup.py Simplifies semantic_matcher imports; tightens client_info type.
scripts/langchain/integration_layer.py Simplifies label_matcher imports; replaces Any return types with specific label_matcher types.
.github/workflows/agents-pr-health.yml Adds a thin wrapper workflow to periodically scan PR health via a reusable workflow.
Comments suppressed due to low confidence (1)

scripts/langchain/semantic_matcher.py:33

  • EmbeddingClientInfo.client is annotated as object, but this module later calls resolved.client.embed_documents(...). Using object makes the type contract internally inconsistent and breaks editor/static-analysis help (and would be a mypy error if these modules stop being ignored). Consider typing this as EmbeddingAdapter, Any, or reinstating a small Protocol that defines embed_documents/embed_query so call sites are accurately constrained.
@dataclass
class EmbeddingClientInfo:
    client: object
    provider: str
    model: str
    is_fallback: bool

@stranske
Copy link
Copy Markdown
Owner Author

stranske commented Mar 2, 2026

Superseded by newer sync PR that includes all updates (PR health + configurable interval).

@stranske stranske closed this Mar 2, 2026
@stranske stranske deleted the sync/workflows-5ff88480d09c branch March 2, 2026 05:38
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