Skip to content

feat: honor agent labels in auto-pilot - #1638

Merged
stranske merged 11 commits into
mainfrom
codex/pr1635-salvage
Feb 23, 2026
Merged

stranske merged 11 commits into
mainfrom
codex/pr1635-salvage

Conversation

@stranske

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 23, 2026 03:34
@stranske-keepalive

Copy link
Copy Markdown
Contributor

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

@stranske-keepalive

stranske-keepalive Bot commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

Automated Status Summary

Head SHA: 205e083
Latest Runs: ⏳ pending — Gate
Required contexts: Gate / gate, Health 45 Agents Guard / guard
Required: core tests (3.11): ⏳ pending, core tests (3.12): ⏳ pending, docker smoke: ⏳ pending, gate: ⏳ pending

Workflow / Job Result Logs
(no jobs reported) ⏳ pending

Coverage Overview

  • Coverage history entries: 1

Coverage Trend

Metric Value
Current 93.12%
Baseline 85.00%
Delta +8.12%
Minimum 70.00%
Status ✅ Pass

Top Coverage Hotspots (lowest coverage)

File Coverage Missing
src/cli_parser.py 81.8% 4
src/percentile_calculator.py 95.0% 1
src/aggregator.py 95.0% 2
src/__init__.py 100.0% 0
src/ndjson_parser.py 100.0% 0

Updated automatically; will refresh on subsequent CI/Docker completions.


Keepalive checklist

Scope

No scope information available

Tasks

  • No tasks defined

Acceptance criteria

  • No acceptance criteria defined

@agents-workflows-bot

agents-workflows-bot Bot commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

🤖 Keepalive Loop Status

PR #1638 | 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/0 complete
Timeout 45 min (default)
Timeout usage 2m elapsed (7%, 43m 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). |

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4a18cb00ad

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/agents-auto-pilot.yml Outdated

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.

Pull request overview

Updates auto-pilot to respect existing agent:* labels on issues/PRs (instead of always using the registry default), and documents the intended labeling behavior so the selected runner stays consistent across the automation stack.

Changes:

  • Document that agents:auto-pilot can be combined with an explicit agent:<name> label to pin the runner, otherwise the registry default is used.
  • Update agents-auto-pilot.yml to read the issue’s current labels and resolve the agent key from them before capability-check and create-pr steps.

Reviewed changes

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

File Description
docs/keepalive/Agents.md Adds guidance on combining agents:auto-pilot with agent:<name> and describes defaulting behavior.
docs/WORKFLOW_GUIDE.md Updates workflow docs to explain auto-pilot’s agent label routing/defaulting behavior.
.github/workflows/agents-auto-pilot.yml Resolves agentKey from existing issue labels prior to capability-check and create-pr steps.

Comment thread .github/workflows/agents-auto-pilot.yml Outdated
Comment thread .github/workflows/agents-auto-pilot.yml Outdated
Comment thread .github/workflows/agents-auto-pilot.yml Outdated
Comment thread .github/workflows/agents-auto-pilot.yml Outdated
When workflows sparse-checkout the Workflows repo and include
.github/scripts/ files individually, cone-mode includes package.json
(as an ancestor-dir file) but NOT node_modules/minimatch/ (a
subdirectory). This causes npm install to fail on the unresolvable
"file:node_modules/minimatch" dependency.

Add a pre-install step that detects and strips file: dependencies
whose targets don't exist, so npm install succeeds regardless of
whether the vendored packages were checked out.

Fixes agents-verify-to-new-pr, agents-verify-to-new-pr-autopilot,
agents-verify-to-issue-v2, and ~12 other workflows that use
sparse-checkout with setup-api-client.

https://claude.ai/code/session_012WnYCcttvFEY3FETnhVcNL
…ify-to-issue-v2 workflows

Consistent with how all other workflows in the repo handle sparse
checkouts of the Workflows repo. Without non-cone mode, package.json
(which references vendored minimatch) gets pulled in by the ancestor
directory rule, but node_modules/minimatch/ does not, causing npm
install to fail with ENOENT.

https://claude.ai/code/session_012WnYCcttvFEY3FETnhVcNL
…ify-to-issue-v2 workflows

Consistent with how all other workflows in the repo handle sparse
checkouts of the Workflows repo. Without non-cone mode, package.json
(which references vendored minimatch) gets pulled in by the ancestor
directory rule, but node_modules/minimatch/ does not, causing npm
install to fail with ENOENT.

https://claude.ai/code/session_012WnYCcttvFEY3FETnhVcNL
…ify-to-issue-v2 workflows

Consistent with how all other workflows in the repo handle sparse
checkouts of the Workflows repo. Without non-cone mode, package.json
(which references vendored minimatch) gets pulled in by the ancestor
directory rule, but node_modules/minimatch/ does not, causing npm
install to fail with ENOENT.

https://claude.ai/code/session_012WnYCcttvFEY3FETnhVcNL
…ify-to-issue-v2 workflows

Consistent with how all other workflows in the repo handle sparse
checkouts of the Workflows repo. Without non-cone mode, package.json
(which references vendored minimatch) gets pulled in by the ancestor
directory rule, but node_modules/minimatch/ does not, causing npm
install to fail with ENOENT.

https://claude.ai/code/session_012WnYCcttvFEY3FETnhVcNL
Address review feedback: the stripped package.json was never restored,
which could leak modified state into downstream steps that expect a
clean workspace. Now backs up the original before stripping and
restores it after npm install completes.

https://claude.ai/code/session_012WnYCcttvFEY3FETnhVcNL
Mirror the same backup/restore + strip logic for unresolvable file:
dependencies into the consumer-repo template copy, so synced consumer
repos also get the defense-in-depth fix.

https://claude.ai/code/session_012WnYCcttvFEY3FETnhVcNL
Previous push was empty due to shell variable truncation. This commit
contains the full action.yml with the vendored dep strip + restore fix.

https://claude.ai/code/session_012WnYCcttvFEY3FETnhVcNL
@stranske
stranske temporarily deployed to agent-high-privilege February 23, 2026 03:56 — with GitHub Actions Inactive
@stranske
stranske merged commit 9cb11fa into main Feb 23, 2026
37 checks passed
@stranske
stranske deleted the codex/pr1635-salvage branch February 23, 2026 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants