Skip to content

Comments

Fix auto-test workflow: enforce --max-configs limit, don't skip result steps on timeout#5

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-workflow-git-action-errors
Draft

Fix auto-test workflow: enforce --max-configs limit, don't skip result steps on timeout#5
Copilot wants to merge 2 commits intomainfrom
copilot/fix-workflow-git-action-errors

Conversation

Copy link

Copilot AI commented Feb 6, 2026

The "Auto Test & Update Subscriptions" workflow fails on every run. --max-configs 500 is parsed but never enforced, so all ~10k configs are queued and the 25-minute timeout always fires. When it does, Generate Statistics / Update badge / Commit steps are skipped, discarding all results found during the run.

Changes

  • core/cli_runner.py — Check app_state.max_configs in _process_source() before queuing each config:
    max_configs = self.app_state.max_configs
    for uri in configs:
        if max_configs > 0 and self.config_queue.qsize() >= max_configs:
            break
  • .github/workflows/auto-test.yml — Add continue-on-error: true on the test step; add if: always() on Generate Statistics, Update badge data, and Commit steps so results are saved regardless of timeout
  • Both workflow files — Update actions/checkout v3→v4, actions/setup-python v4→v5
Original prompt

fix workflow, git action errors.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

… run on timeout

- cli_runner.py: Actually enforce max_configs limit when queuing configs
- auto-test.yml: Add continue-on-error for test step, if: always() for
  subsequent steps so results are saved even on timeout
- Update actions/checkout v3->v4 and actions/setup-python v4->v5

Co-authored-by: Shayanthn <199501394+Shayanthn@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix workflow for Git Action errors Fix auto-test workflow: enforce --max-configs limit, don't skip result steps on timeout Feb 6, 2026
Copilot AI requested a review from Shayanthn February 6, 2026 17:22
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