Skip to content

fix(autofix): include token load balancer#1169

Merged
stranske merged 1 commit intomainfrom
fix/autofix-guard-token-load-balancer
Jan 31, 2026
Merged

fix(autofix): include token load balancer#1169
stranske merged 1 commit intomainfrom
fix/autofix-guard-token-load-balancer

Conversation

@stranske
Copy link
Copy Markdown
Owner

Add token_load_balancer.js to the autofix loop security gate sparse checkout so github-api-with-retry can load its dependency.

Copilot AI review requested due to automatic review settings January 31, 2026 08:55
@stranske stranske merged commit 24a2376 into main Jan 31, 2026
22 of 23 checks passed
@stranske stranske deleted the fix/autofix-guard-token-load-balancer branch January 31, 2026 08:55
@stranske stranske temporarily deployed to agent-high-privilege January 31, 2026 08:55 — with GitHub Actions Inactive
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

Adds token_load_balancer.js to the sparse checkout list used by the autofix loop’s security gate so that github-api-with-retry.js (and wrappers that call createTokenAwareRetry) can load its dependency during the workflow run.

Changes:

  • Include .github/scripts/token_load_balancer.js in the security-gate sparse checkout for the autofix loop workflow.
  • Mirror the same sparse-checkout update in the consumer-repo workflow template.

Reviewed changes

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

File Description
.github/workflows/agents-autofix-loop.yml Adds token_load_balancer.js to the security-gate sparse checkout so token-aware retry initialization can load.
templates/consumer-repo/.github/workflows/agents-autofix-loop.yml Applies the same sparse-checkout fix to the consumer template workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown
Contributor

Automated Status Summary

Head SHA: 923493f
Latest Runs: ⏳ pending — Gate
Required contexts: Gate / gate, Health 45 Agents Guard / Enforce agents workflow protections
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

@github-actions
Copy link
Copy Markdown
Contributor

🤖 Keepalive Loop Status

PR #1169 | Agent: Codex | Iteration 0/5

Current State

Metric Value
Iteration progress [----------] 0/5
Action wait (missing-agent-label)
Disposition skipped (transient)
Gate failure
Tasks 0/0 complete
Timeout 45 min (default)
Timeout usage 4m elapsed (10%, 41m 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). |

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