From e5bdda176c90bc49c78f7e47947100a94feddb53 Mon Sep 17 00:00:00 2001 From: Jake Faulkner Date: Wed, 21 Oct 2026 20:37:02 +1300 Subject: [PATCH] Run the AI issue solver and test improver daily; fix manual solver runs A workflow_dispatch passes inputs.issue as a string, which the reusable workflow's number input rejected with "Unexpected value '0'". Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/workflows/ai.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ai.yml b/.github/workflows/ai.yml index 7a77237..023b6e9 100644 --- a/.github/workflows/ai.yml +++ b/.github/workflows/ai.yml @@ -6,7 +6,7 @@ name: AI on: schedule: - cron: "17 13 * * 6" # Sundays: issue generator - - cron: "17 13 * * 2" # Wednesdays: issue solver and test improver + - cron: "17 13 * * *" # Daily: issue solver and test improver workflow_dispatch: inputs: run: @@ -35,17 +35,18 @@ jobs: uv-extra-args: "--all-groups --all-extras" issue-solver: - if: github.event.schedule == '17 13 * * 2' || inputs.run == 'issue-solver' + if: github.event.schedule == '17 13 * * *' || inputs.run == 'issue-solver' uses: ucgmsim/meta-ci-action/.github/workflows/ai-issue-solver.yml@v2 secrets: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} with: - issue: ${{ inputs.issue || 0 }} + # A dispatch passes the number as a string, which a number input rejects. + issue: ${{ fromJSON(inputs.issue || '0') }} system-packages: "gmt libgmt-dev ghostscript gdal-bin libgdal-dev" uv-extra-args: "--all-groups --all-extras" test-improver: - if: github.event.schedule == '17 13 * * 2' || inputs.run == 'test-improver' + if: github.event.schedule == '17 13 * * *' || inputs.run == 'test-improver' uses: ucgmsim/meta-ci-action/.github/workflows/ai-test-improver.yml@v2 secrets: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}