Skip to content

Reduce Daily Go Test Parallelizer batch size - #79739

Merged
pelikhan merged 3 commits into
mainfrom
copilot/workflow-health-fix
Nov 21, 2026
Merged

pelikhan merged 3 commits into
mainfrom
copilot/workflow-health-fix

Conversation

@gh-aw-bot

@gh-aw-bot gh-aw-bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

The dashboard flagged repeated conclusion failures in Daily Go Test Parallelizer and Auditor. An inspected parallelizer run stopped at its instructed budget checkpoint before validation; a newer Auditor run succeeded.

  • Bound per-run work: Reduce the selected test-file batch from 10 to 3 to give analysis and validation more room within the workflow budget.
  • Preserve rotation: Keep the existing batch selection and completed-analysis cursor behavior unchanged.

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@gh-aw-bot gh-aw-bot changed the title [WIP] Fix untracked critical workflow in workflow health dashboard Reduce Daily Go Test Parallelizer batch size Nov 21, 2026
@pelikhan
pelikhan marked this pull request as ready for review November 21, 2026 15:50
Copilot AI adaptive review requested due to automatic review settings November 21, 2026 15:50

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

A critical active finding remains because the workflow-contract test still expects “at most 10 files” while the workflow now says “at most 3 files,” causing the test to fail until the expectation is updated.

1 open issue
What changed in this PR

This PR reduces the Daily Go Test Parallelizer’s per-run analysis batch from 10 to 3 test files, giving analysis and validation more room within the workflow budget while preserving rotation and completed-analysis cursor behavior.

Changes:

  • Updates the workflow instructions to process at most three test files per run.
  • Regenerates the lock metadata and admission hashes.
  • Requires updating the workflow contract test that still expects the old limit of 10 files.
File Description
.github/​workflows/​daily-go-test-parallelizer.md Reduces the selected test-file batch size from 10 to 3 while preserving the existing rotation and completed-analysis cursor behavior.
.github/​workflows/​daily-go-test-parallelizer.lock.yml Updates the generated workflow body and admission hashes to reflect the authored workflow change.

Review effort: Lite (adaptive)

2. Read `/tmp/gh-aw/cache-memory/go-test-parallelizer/state.json` when it exists. It has this shape:
`{"last_file":"path/to/file_test.go"}`.
3. Rotate the sorted list to start after `last_file`, wrapping to the first path. If the cache is absent, malformed, or names a removed file, start from the first path. Partition the rotated list into non-overlapping batches of at most 10 files; do not wrap within a batch.
3. Rotate the sorted list to start after `last_file`, wrapping to the first path. If the cache is absent, malformed, or names a removed file, start from the first path. Partition the rotated list into non-overlapping batches of at most 3 files; do not wrap within a batch.

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.

Updated the batch-size contract to three files and aligned the credit/turn limit assertion with main (25 credits/60 turns). Build, workflow recompile, and final validation passed; commit 1010993f includes the fix.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator Author

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Review (.github/workflows/daily-go-test-parallelizer.md:81): address unresolved feedback - Review comment

Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering.

Structured data
{
  "completed_task": 0,
  "head": "e0f94c7c94cae11de2d40c8016237dbddf1e15cd",
  "kind": "requested",
  "schema_version": "1",
  "state": "67cb162445765188a7fcda2de0a6d883f381d75a13ff798f580cac261dba0b4e",
  "work": [
    "8414b9bb824d0f71193eabdd1fc4d67854a4f8f49a08cb04a7c5c0b05b7e2622"
  ],
  "workflow": "pr-sous-chef"
}

Generated by 👨🍳 PR Sous Chef · pi · routed: haiku55 xhigh · ~2 AIC · ⌖ ~2 AIC · ⊞ 7K · ◷
Comment /souschef to run again

…th-fix

# Conflicts:
#	.github/workflows/daily-go-test-parallelizer.lock.yml
#	.github/workflows/daily-go-test-parallelizer.md

Co-authored-by: copilot-swe-agent[bot] <[email protected]>

Copilot AI commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:...

Merged the latest main and addressed the workflow contract feedback in commit 1010993f. Build and final validation completed.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator Author

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Fix failing check Unit tests (H-J) (FAILURE): Check run.

Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering.

Structured data
{
  "completed_task": 0,
  "head": "1010993fe5eb6f717e3719c1709413ce491875a8",
  "kind": "requested",
  "schema_version": "1",
  "state": "4cd1f02d9ad2691bfddbab5827de5b0b80632ccead1ebb7fefad257d39f53a18",
  "work": [
    "e9f0bbf86aad828b3407e5cb9efe7dcd1062159916bbe36628e73b7671c89e10"
  ],
  "workflow": "pr-sous-chef"
}

Generated by 👨🍳 PR Sous Chef · pi · routed: haiku55 xhigh · ~2 AIC · ⌖ ~2 AIC · ⊞ 7K · ◷
Comment /souschef to run again

@pelikhan
pelikhan merged commit e53237f into main Nov 21, 2026
70 of 72 checks passed
@pelikhan
pelikhan deleted the copilot/workflow-health-fix branch November 21, 2026 17:25
Copilot stopped work on behalf of gh-aw-bot due to an error November 21, 2026 17:26
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.

[workflow-health] Dashboard 2026-11-21: 1 untracked Critical workflow, Auditor still failing

4 participants