You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous file selection strategy used filesystem modification timestamps (mtime) to find the oldest uncleaned file. This is non-deterministic: mtime is not preserved when checking out code in CI, so the selection order could differ between runs or machines.
Changes Made
.github/workflows/jsweep.md
Replaced the "earliest modification timestamp" selection with a git last-commit date query:
The bundle file is available in the agent artifact in the workflow run linked above.
To create a pull request with the changes:
# Download the artifact from the workflow run
gh run download 25620793629 -n agent -D /tmp/agent-25620793629
# Fetch the bundle into a local branch
git fetch /tmp/agent-25620793629/aw-q-jsweep-deterministic-selection.bundle refs/heads/q/jsweep-deterministic-selection:refs/heads/q/jsweep-deterministic-selection-a0f0f5b9b858abc1
git checkout q/jsweep-deterministic-selection-a0f0f5b9b858abc1
# Push the branch to origin
git push origin q/jsweep-deterministic-selection-a0f0f5b9b858abc1
# Create the pull request
gh pr create --title '[q] Update jsweep file selection to use git-based deterministic ordering' --base main --head q/jsweep-deterministic-selection-a0f0f5b9b858abc1 --repo github/gh-aw
Q Workflow Optimization Report
Fixes #31295 (comment)
Problem
The previous file selection strategy used filesystem modification timestamps (
mtime) to find the oldest uncleaned file. This is non-deterministic:mtimeis not preserved when checking out code in CI, so the selection order could differ between runs or machines.Changes Made
.github/workflows/jsweep.mdReplaced the "earliest modification timestamp" selection with a git last-commit date query:
0).@ts-nocheckfiles) and Priority 2 (stalest file) now both use this ordered list as the source of truth.cleaned_filesto empty and pick from the top of the list.Expected Improvements
Validation
jsweepcompiled successfully via gh-aw MCP compile toolNote
This was originally intended as a pull request, but the git push operation failed.
Workflow Run: View run details and download bundle artifact
The bundle file is available in the
agentartifact in the workflow run linked above.To create a pull request with the changes: