Skip to content

chore: sync workflow templates - #1777

Closed
stranske wants to merge 1 commit into
mainfrom
sync/workflows-candidate
Closed

stranske wants to merge 1 commit into
mainfrom
sync/workflows-candidate

Conversation

@stranske

@stranske stranske commented Sep 4, 2026 •

Copy link
Copy Markdown
Owner

Sync Summary

Files Updated

  • registry.yml: Agent registry - source of truth for agent keys and runner workflow mapping
  • langchain_client.py: LangChain client builder - multi-provider client with slot-based fallback and configuration
  • model_registry.json: Model registry - available LLM models and their capabilities

Review Checklist

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

Source: stranske/Workflows
Source SHA: b06c6d16c3162a624c179a4c4f2080ec3c14876e
Template hash: cc42027b499d
Consumer-sync plan ID: sha256:cc42027b499da197001528ff067de0cf12bd366135137c0ff0c2614f8dd909e6
Plan scope: source-delta
Scope base SHA: 0b65b95a362ae4643aaa0326bdc06b1b47f814b7
Sync phase: canary
Sync branch: sync/workflows-candidate
Consumer repo: stranske/trip-planner
Manifest: .github/sync-manifest.yml

autofix: false

@stranske stranske added sync Automated sync from Workflows automated Automated sync from Workflows labels Sep 4, 2026
Copilot AI lite review requested due to automatic review settings September 4, 2026 01:49
@stranske stranske added the sync:delivery-staging Generated delivery is mutable and must not merge label Sep 4, 2026
@netlify

netlify Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for stranske-trip-planner canceled.

Name Link
🔨 Latest commit 0840de8
🔍 Latest deploy log https://app.netlify.com/projects/stranske-trip-planner/deploys/6a9b4e4fb3c4a60008d7d872

@coderabbitai

coderabbitai Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Excluded labels (none allowed) (7)
  • sync
  • workflow:source-sync
  • workflow:source-maintenance
  • consumer-sync
  • integration-sync
  • workflows-sync
  • template-sync

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Essentials

Run ID: 2e8ce684-cf35-429e-a4a2-77de9a8ea9da

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Several workflows now pass GitHub App IDs into actions/create-github-app-token’s client-id input, which can break App token minting and downstream automation.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR syncs workflow templates and shared automation scripts from stranske/Workflows into stranske/trip-planner, updating the repo’s agent orchestration, keepalive/autofix flows, coverage guard, and issue/label automation utilities.

Changes:

  • Updates multiple GitHub Actions workflows (agents, keepalive, coverage guard, reusable PR context) and related scripts to match the upstream template set.
  • Enhances coverage guard behavior (warn-drop threshold, recovery messaging) and improves artifact/run discovery logic in the workflow.
  • Refines automation helpers (label matching diversity + safer auto-apply, deliberate-break parsing, issue-format validation rules, GitHub API retry + rate-limit incident logging, delegation policy routing).
File summaries
File Description
tools/langchain_client.py Improves provider-model fallback behavior when a provider is selected but models aren’t explicitly configured.
tools/coverage_guard.py Adds warn-drop breach logic and clearer recovery/closure thresholds for baseline coverage issues.
scripts/langchain/label_matcher.py Improves keyword scoring, adds diverse match limiting, and introduces safer auto-apply selection with a margin rule.
scripts/check_deliberate_break.py Makes fallback test-name extraction more robust and prefers explicit markers across the full PR body.
.github/workflows/reusable-pr-context.yml Syncs PR-context token minting behavior (but currently miswires GitHub App identifiers).
.github/workflows/maint-coverage-guard.yml Major improvements to run/artifact discovery and guard reporting; also updates token minting wiring.
.github/workflows/agents-weekly-metrics.yml Adds timestamping to tracker issue updates and updates token minting wiring.
.github/workflows/agents-keepalive-sweep.yml Adds mode split for consolidated vs non-consolidated repos and refines PR eligibility criteria.
.github/workflows/agents-keepalive-loop-reporter.yml Updates reporter token minting wiring and keeps failure/cancel summaries.
.github/workflows/agents-issue-optimizer.yml Tightens retry counting, improves format-validation reporting on failure, and updates token minting wiring.
.github/workflows/agents-issue-format-guard.yml Adds closed trigger handling and safer pause-label cleanup logic.
.github/workflows/agents-guard.yml Syncs guard workflow updates and token minting wiring.
.github/workflows/agents-autofix-dispatcher.yml Updates legacy autofix dispatch bridge and token minting wiring.
.github/workflows/agents-auto-pilot.yml Syncs orchestrator workflow updates and token minting wiring.
.github/workflows/agents-auto-label.yml Uses new label-matcher helpers to reduce same-family spam and apply safer auto-label logic.
.github/workflows/agents-81-gate-followups.yml Adds delegation source output + Cursor/Gemini support and updates token minting wiring.
.github/workflows/agents-73-codex-belt-conveyor.yml Syncs belt conveyor wiring and token minting input changes.
.github/workflows/agents-72-codex-belt-worker.yml Syncs belt worker wiring and token minting input changes.
.github/workflows/agents-71-codex-belt-dispatcher.yml Adds rate-limit preflight and stages retry helpers; updates token minting input changes.
.github/scripts/sync_tracker_state/index.js Tightens open-PR detection by ensuring head repo matches (avoids cross-fork false positives).
.github/scripts/keepalive_loop.js Adds delegation-source plumbing, runner availability checks, and route-weights support for agent:auto.
.github/scripts/issue_format.py Expands “concrete target” detection and improves error reporting clarity for invalid tasks/criteria.
.github/scripts/github-api-with-retry.js Adds rate-limit incident logging and improves rate-limit status calculation and reporting.
.github/scripts/agent_delegation_policy.js Adds route-weights fetching/selection and exports delegation-source metadata.
Review details

Suppressed comments (1)

.github/workflows/agents-81-gate-followups.yml:556

  • This uses client-id with WORKFLOWS_APP_ID, but WORKFLOWS_APP_ID is a GitHub App ID (not a client ID). With actions/create-github-app-token v3 this can prevent minting a Workflows App token; use app-id here (or switch to WORKFLOWS_APP_CLIENT_ID).
          client-id: ${{ env.WORKFLOWS_APP_ID }}
  • Files reviewed: 24/24 changed files
  • Comments generated: 4
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@stranske

stranske commented Sep 4, 2026

Copy link
Copy Markdown
Owner Author

Maint 71 auto-resolved bot review thread(s) on manifest-synced content.

  • .github/workflows/agents-81-gate-followups.yml → upstream stranske/Workflows/templates/consumer-repo/.github/workflows/agents-81-gate-followups.yml
  • .github/workflows/agents-keepalive-loop-reporter.yml → upstream stranske/Workflows/templates/consumer-repo/.github/workflows/agents-keepalive-loop-reporter.yml
  • .github/workflows/maint-coverage-guard.yml → upstream stranske/Workflows/templates/consumer-repo/.github/workflows/maint-coverage-guard.yml
  • .github/workflows/reusable-pr-context.yml → upstream stranske/Workflows/templates/consumer-repo/.github/workflows/reusable-pr-context.yml
    Upstream tracking issue: #3343

@stranske stranske added the sync:delivery-ready Generated delivery is sealed to its exact reviewed head label Sep 4, 2026
@stranske stranske removed the sync:delivery-ready Generated delivery is sealed to its exact reviewed head label Sep 4, 2026
@stranske
stranske force-pushed the sync/workflows-candidate branch from 740f872 to 6be7555 Compare September 4, 2026 10:53
@stranske stranske added the sync:delivery-ready Generated delivery is sealed to its exact reviewed head label Sep 4, 2026
@stranske stranske removed the sync:delivery-ready Generated delivery is sealed to its exact reviewed head label Sep 4, 2026
@stranske
stranske force-pushed the sync/workflows-candidate branch from 6be7555 to 70b1943 Compare September 4, 2026 14:37
@stranske stranske added the sync:delivery-ready Generated delivery is sealed to its exact reviewed head label Sep 4, 2026
@stranske stranske added sync:delivery-ready Generated delivery is sealed to its exact reviewed head and removed sync:delivery-ready Generated delivery is sealed to its exact reviewed head labels Sep 4, 2026
@stranske stranske removed the sync:delivery-ready Generated delivery is sealed to its exact reviewed head label Sep 4, 2026
@stranske
stranske force-pushed the sync/workflows-candidate branch from 70b1943 to bc68ce9 Compare September 4, 2026 22:31
Automated sync from stranske/Workflows
Template hash: cc42027b499d

Changes synced from sync-manifest.yml
Consumer-sync plan ID: sha256:cc42027b499da197001528ff067de0cf12bd366135137c0ff0c2614f8dd909e6
Plan scope: source-delta
Scope base SHA: 0b65b95a362ae4643aaa0326bdc06b1b47f814b7
Source commit: b06c6d16c3162a624c179a4c4f2080ec3c14876e
@stranske
stranske force-pushed the sync/workflows-candidate branch from bc68ce9 to 0840de8 Compare September 4, 2026 23:03
@stranske

stranske commented Sep 4, 2026

Copy link
Copy Markdown
Owner Author

Closing this generated delivery as no longer current.
delivery_reason: plan_mismatch
delivery_disposition: superseded
next_command: close-or-refresh-delivery

This branch was previously deployed

1 inactive deployment
agent-standard — 0840de88 Deployed Sep 4, 2026 by stranske via Merge automerge-labelled agent PRs #10587
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:delivery-staging Generated delivery is mutable and must not merge sync Automated sync from Workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants