From a4d6d047bcc289b5b050eb2deb7936f2b73e09a9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 14 Jun 2026 18:12:09 +0000 Subject: [PATCH 1/8] Add semantic cache-miss detection before daily AIC fallback Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .../js/restore_aic_usage_cache_fallback.cjs | 2 +- .../compiler_activation_job_builder.go | 19 ++++++++++++++++++- .../daily_aic_workflow_guardrail_test.go | 9 +++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/actions/setup/js/restore_aic_usage_cache_fallback.cjs b/actions/setup/js/restore_aic_usage_cache_fallback.cjs index 98494bc74d9..4b241e06fd1 100644 --- a/actions/setup/js/restore_aic_usage_cache_fallback.cjs +++ b/actions/setup/js/restore_aic_usage_cache_fallback.cjs @@ -4,7 +4,7 @@ /** * restore_aic_usage_cache_fallback.cjs * - * Called from the activation job when actions/cache/restore has a cache miss. + * Called from the activation job only when actions/cache/restore reports a cache miss. * Downloads the most recent `aic-usage-cache` artifact from the same workflow's * recent runs to populate the local cache file without requiring the artifact to * have been saved on the current branch. diff --git a/pkg/workflow/compiler_activation_job_builder.go b/pkg/workflow/compiler_activation_job_builder.go index 6765a350376..ebbe1952bf9 100644 --- a/pkg/workflow/compiler_activation_job_builder.go +++ b/pkg/workflow/compiler_activation_job_builder.go @@ -345,6 +345,23 @@ func (c *Compiler) buildActivationDailyAICGuardrailStep(data *WorkflowData) []st steps = append(steps, fmt.Sprintf(" key: %s${{ github.run_id }}\n", cacheKeyPrefix)) steps = append(steps, fmt.Sprintf(" restore-keys: %s\n", cacheKeyPrefix)) steps = append(steps, " path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl\n") + // actions/cache/restore "cache-hit" semantics: + // - "true": exact key hit + // - "false": restore-keys hit (cache restored) + // - "": cache miss (nothing restored) + // + // We only want to run the artifact fallback on true misses. Treating + // cache-hit != 'true' as a miss would be incorrect because the cache key + // includes run_id, so exact hits are not expected across runs/branches. + steps = append(steps, " - name: Detect daily AIC usage cache miss\n") + steps = append(steps, " id: detect-daily-aic-cache-miss\n") + steps = append(steps, fmt.Sprintf(" if: %s\n", maxDailyAICreditsConfiguredIfExpr)) + steps = append(steps, " run: |\n") + steps = append(steps, " if [ -z \"${{ steps.restore-daily-aic-cache.outputs.cache-hit }}\" ]; then\n") + steps = append(steps, " echo \"cache_miss=true\" >> \"$GITHUB_OUTPUT\"\n") + steps = append(steps, " else\n") + steps = append(steps, " echo \"cache_miss=false\" >> \"$GITHUB_OUTPUT\"\n") + steps = append(steps, " fi\n") // Artifact-based fallback for cross-branch cache misses. // GitHub Actions actions/cache is branch-scoped: caches written by the conclusion job // on one PR branch are invisible to the activation job running on a different PR branch. @@ -353,7 +370,7 @@ func (c *Compiler) buildActivationDailyAICGuardrailStep(data *WorkflowData) []st // The fallback script is a no-op when the cache file already exists. steps = append(steps, " - name: Restore daily AIC usage cache (artifact fallback)\n") steps = append(steps, " id: restore-daily-aic-cache-fallback\n") - steps = append(steps, fmt.Sprintf(" if: %s\n", maxDailyAICreditsConfiguredIfExpr)) + steps = append(steps, fmt.Sprintf(" if: %s && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true'\n", maxDailyAICreditsConfiguredIfExpr)) steps = append(steps, " continue-on-error: true\n") steps = append(steps, fmt.Sprintf(" uses: %s\n", getCachedActionPin("actions/github-script", data))) steps = append(steps, " with:\n") diff --git a/pkg/workflow/daily_aic_workflow_guardrail_test.go b/pkg/workflow/daily_aic_workflow_guardrail_test.go index 9536fed3060..e33e2d28bd8 100644 --- a/pkg/workflow/daily_aic_workflow_guardrail_test.go +++ b/pkg/workflow/daily_aic_workflow_guardrail_test.go @@ -166,6 +166,15 @@ Guardrail test workflow` if !strings.Contains(activationSection, "id: restore-daily-aic-cache-fallback") { t.Fatal("expected activation job to include the artifact-based AIC cache fallback step") } + if !strings.Contains(activationSection, "id: detect-daily-aic-cache-miss") { + t.Fatal("expected activation job to include a cache-miss detection step before fallback") + } + if !strings.Contains(activationSection, `if [ -z "${{ steps.restore-daily-aic-cache.outputs.cache-hit }}" ]; then`) { + t.Fatal("expected cache-miss detection to treat empty cache-hit output as a true miss") + } + if !strings.Contains(activationSection, "steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true'") { + t.Fatal("expected artifact fallback step to run only when cache-miss detection reports a miss") + } if !strings.Contains(lockStr, "id: upload-daily-aic-cache") { t.Fatal("expected conclusion job to include the AIC usage cache artifact upload step") } From a09e2c12f6c3a6cbb9f33b7fbc6ed414d6445f67 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 14 Jun 2026 18:19:02 +0000 Subject: [PATCH 2/8] Refine daily AIC cache-miss detection semantics Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/workflow/compiler_activation_job_builder.go | 4 +++- pkg/workflow/daily_aic_workflow_guardrail_test.go | 5 ++++- .../TestWasmGolden_AllEngines/claude.golden | 13 ++++++++++++- .../testdata/TestWasmGolden_AllEngines/codex.golden | 13 ++++++++++++- .../TestWasmGolden_AllEngines/copilot.golden | 13 ++++++++++++- .../TestWasmGolden_AllEngines/gemini.golden | 13 ++++++++++++- .../testdata/TestWasmGolden_AllEngines/pi.golden | 13 ++++++++++++- .../basic-copilot.golden | 13 ++++++++++++- .../playwright-cli-mode.golden | 13 ++++++++++++- .../smoke-copilot.golden | 13 ++++++++++++- .../with-imports.golden | 13 ++++++++++++- 11 files changed, 115 insertions(+), 11 deletions(-) diff --git a/pkg/workflow/compiler_activation_job_builder.go b/pkg/workflow/compiler_activation_job_builder.go index ebbe1952bf9..ea38986f438 100644 --- a/pkg/workflow/compiler_activation_job_builder.go +++ b/pkg/workflow/compiler_activation_job_builder.go @@ -356,8 +356,10 @@ func (c *Compiler) buildActivationDailyAICGuardrailStep(data *WorkflowData) []st steps = append(steps, " - name: Detect daily AIC usage cache miss\n") steps = append(steps, " id: detect-daily-aic-cache-miss\n") steps = append(steps, fmt.Sprintf(" if: %s\n", maxDailyAICreditsConfiguredIfExpr)) + steps = append(steps, " env:\n") + steps = append(steps, " GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }}\n") steps = append(steps, " run: |\n") - steps = append(steps, " if [ -z \"${{ steps.restore-daily-aic-cache.outputs.cache-hit }}\" ]; then\n") + steps = append(steps, " if [ -z \"$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT\" ]; then\n") steps = append(steps, " echo \"cache_miss=true\" >> \"$GITHUB_OUTPUT\"\n") steps = append(steps, " else\n") steps = append(steps, " echo \"cache_miss=false\" >> \"$GITHUB_OUTPUT\"\n") diff --git a/pkg/workflow/daily_aic_workflow_guardrail_test.go b/pkg/workflow/daily_aic_workflow_guardrail_test.go index e33e2d28bd8..68609ca4cf8 100644 --- a/pkg/workflow/daily_aic_workflow_guardrail_test.go +++ b/pkg/workflow/daily_aic_workflow_guardrail_test.go @@ -169,7 +169,10 @@ Guardrail test workflow` if !strings.Contains(activationSection, "id: detect-daily-aic-cache-miss") { t.Fatal("expected activation job to include a cache-miss detection step before fallback") } - if !strings.Contains(activationSection, `if [ -z "${{ steps.restore-daily-aic-cache.outputs.cache-hit }}" ]; then`) { + if !strings.Contains(activationSection, "GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }}") { + t.Fatal("expected cache-miss detection to pass cache-hit output via env for template-injection safety") + } + if !strings.Contains(activationSection, `if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then`) { t.Fatal("expected cache-miss detection to treat empty cache-hit output as a true miss") } if !strings.Contains(activationSection, "steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true'") { diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden index 2790ccfbd77..2a6d0c64a16 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden @@ -96,9 +96,20 @@ jobs: key: agentic-workflow-usage-workflow-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflow- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden index f14642fc629..461a0500e03 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden @@ -96,9 +96,20 @@ jobs: key: agentic-workflow-usage-workflow-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflow- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden index 5f6d276438a..377b4140f40 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden @@ -96,9 +96,20 @@ jobs: key: agentic-workflow-usage-workflow-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflow- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden index 99f28165121..b8ff42caa45 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden @@ -94,9 +94,20 @@ jobs: key: agentic-workflow-usage-workflow-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflow- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden index 7d38c161d40..c4ebe6d1cd5 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden @@ -95,9 +95,20 @@ jobs: key: agentic-workflow-usage-workflow-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflow- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden index 943e1cc6e94..3d2f8e79296 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden @@ -96,9 +96,20 @@ jobs: key: agentic-workflow-usage-basiccopilot-${{ github.run_id }} restore-keys: agentic-workflow-usage-basiccopilot- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden index 7dc231e19fd..cb0e753b27d 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden @@ -96,9 +96,20 @@ jobs: key: agentic-workflow-usage-playwrightclimode-${{ github.run_id }} restore-keys: agentic-workflow-usage-playwrightclimode- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden index 0df87ec66db..ce689665634 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden @@ -111,9 +111,20 @@ jobs: key: agentic-workflow-usage-smokecopilot-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecopilot- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden index fb40c4a0277..0845260241c 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden @@ -96,9 +96,20 @@ jobs: key: agentic-workflow-usage-withimports-${{ github.run_id }} restore-keys: agentic-workflow-usage-withimports- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: From 56612f7971ec9b25fc647b641a983325a535bcf3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 14 Jun 2026 18:23:55 +0000 Subject: [PATCH 3/8] Use semantic cache miss detection for daily AIC fallback Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/workflow/compiler_activation_job_builder.go | 15 ++++++--------- pkg/workflow/daily_aic_workflow_guardrail_test.go | 7 +++++-- .../TestWasmGolden_AllEngines/claude.golden | 3 ++- .../TestWasmGolden_AllEngines/codex.golden | 3 ++- .../TestWasmGolden_AllEngines/copilot.golden | 3 ++- .../TestWasmGolden_AllEngines/gemini.golden | 3 ++- .../testdata/TestWasmGolden_AllEngines/pi.golden | 3 ++- .../basic-copilot.golden | 3 ++- .../playwright-cli-mode.golden | 3 ++- .../smoke-copilot.golden | 3 ++- .../with-imports.golden | 3 ++- 11 files changed, 29 insertions(+), 20 deletions(-) diff --git a/pkg/workflow/compiler_activation_job_builder.go b/pkg/workflow/compiler_activation_job_builder.go index ea38986f438..d53d8e03e59 100644 --- a/pkg/workflow/compiler_activation_job_builder.go +++ b/pkg/workflow/compiler_activation_job_builder.go @@ -345,21 +345,18 @@ func (c *Compiler) buildActivationDailyAICGuardrailStep(data *WorkflowData) []st steps = append(steps, fmt.Sprintf(" key: %s${{ github.run_id }}\n", cacheKeyPrefix)) steps = append(steps, fmt.Sprintf(" restore-keys: %s\n", cacheKeyPrefix)) steps = append(steps, " path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl\n") - // actions/cache/restore "cache-hit" semantics: - // - "true": exact key hit - // - "false": restore-keys hit (cache restored) - // - "": cache miss (nothing restored) - // - // We only want to run the artifact fallback on true misses. Treating - // cache-hit != 'true' as a miss would be incorrect because the cache key - // includes run_id, so exact hits are not expected across runs/branches. + // Detect true cache misses while accounting for branch-scoped action caches. + // The primary key includes run_id, so exact hits are not expected across runs. + // We treat a restore as a hit when cache-matched-key is present, and as a miss + // when no matched key is available. steps = append(steps, " - name: Detect daily AIC usage cache miss\n") steps = append(steps, " id: detect-daily-aic-cache-miss\n") steps = append(steps, fmt.Sprintf(" if: %s\n", maxDailyAICreditsConfiguredIfExpr)) steps = append(steps, " env:\n") steps = append(steps, " GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }}\n") + steps = append(steps, " GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }}\n") steps = append(steps, " run: |\n") - steps = append(steps, " if [ -z \"$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT\" ]; then\n") + steps = append(steps, " if [ -z \"$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT\" ] || { [ \"$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT\" = \"false\" ] && [ -z \"$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY\" ]; }; then\n") steps = append(steps, " echo \"cache_miss=true\" >> \"$GITHUB_OUTPUT\"\n") steps = append(steps, " else\n") steps = append(steps, " echo \"cache_miss=false\" >> \"$GITHUB_OUTPUT\"\n") diff --git a/pkg/workflow/daily_aic_workflow_guardrail_test.go b/pkg/workflow/daily_aic_workflow_guardrail_test.go index 68609ca4cf8..f82e83f33b2 100644 --- a/pkg/workflow/daily_aic_workflow_guardrail_test.go +++ b/pkg/workflow/daily_aic_workflow_guardrail_test.go @@ -172,8 +172,11 @@ Guardrail test workflow` if !strings.Contains(activationSection, "GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }}") { t.Fatal("expected cache-miss detection to pass cache-hit output via env for template-injection safety") } - if !strings.Contains(activationSection, `if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then`) { - t.Fatal("expected cache-miss detection to treat empty cache-hit output as a true miss") + if !strings.Contains(activationSection, "GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }}") { + t.Fatal("expected cache-miss detection to pass cache-matched-key output via env") + } + if !strings.Contains(activationSection, `if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then`) { + t.Fatal("expected cache-miss detection to treat missing matched key as a true miss") } if !strings.Contains(activationSection, "steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true'") { t.Fatal("expected artifact fallback step to run only when cache-miss detection reports a miss") diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden index 2a6d0c64a16..710709679d4 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden @@ -101,8 +101,9 @@ jobs: if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then echo "cache_miss=true" >> "$GITHUB_OUTPUT" else echo "cache_miss=false" >> "$GITHUB_OUTPUT" diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden index 461a0500e03..080081f2b67 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden @@ -101,8 +101,9 @@ jobs: if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then echo "cache_miss=true" >> "$GITHUB_OUTPUT" else echo "cache_miss=false" >> "$GITHUB_OUTPUT" diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden index 377b4140f40..264bd072550 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden @@ -101,8 +101,9 @@ jobs: if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then echo "cache_miss=true" >> "$GITHUB_OUTPUT" else echo "cache_miss=false" >> "$GITHUB_OUTPUT" diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden index b8ff42caa45..46dca18bd2f 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden @@ -99,8 +99,9 @@ jobs: if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then echo "cache_miss=true" >> "$GITHUB_OUTPUT" else echo "cache_miss=false" >> "$GITHUB_OUTPUT" diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden index c4ebe6d1cd5..0303d6f06bb 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden @@ -100,8 +100,9 @@ jobs: if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then echo "cache_miss=true" >> "$GITHUB_OUTPUT" else echo "cache_miss=false" >> "$GITHUB_OUTPUT" diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden index 3d2f8e79296..d22644b55da 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden @@ -101,8 +101,9 @@ jobs: if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then echo "cache_miss=true" >> "$GITHUB_OUTPUT" else echo "cache_miss=false" >> "$GITHUB_OUTPUT" diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden index cb0e753b27d..57ea351b841 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden @@ -101,8 +101,9 @@ jobs: if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then echo "cache_miss=true" >> "$GITHUB_OUTPUT" else echo "cache_miss=false" >> "$GITHUB_OUTPUT" diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden index ce689665634..c1d893ac075 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden @@ -116,8 +116,9 @@ jobs: if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then echo "cache_miss=true" >> "$GITHUB_OUTPUT" else echo "cache_miss=false" >> "$GITHUB_OUTPUT" diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden index 0845260241c..9f0fc2488a8 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden @@ -101,8 +101,9 @@ jobs: if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ]; then + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then echo "cache_miss=true" >> "$GITHUB_OUTPUT" else echo "cache_miss=false" >> "$GITHUB_OUTPUT" From 89027a84b62835f2d0210fcd38e3378cd07820df Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 14 Jun 2026 18:34:15 +0000 Subject: [PATCH 4/8] Add draft ADR-39266 for branch-aware cache-miss semantics Co-Authored-By: Claude Opus 4.8 (1M context) --- ...ncode-branch-aware-cache-miss-semantics.md | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/adr/39266-encode-branch-aware-cache-miss-semantics.md diff --git a/docs/adr/39266-encode-branch-aware-cache-miss-semantics.md b/docs/adr/39266-encode-branch-aware-cache-miss-semantics.md new file mode 100644 index 00000000000..18cb86067df --- /dev/null +++ b/docs/adr/39266-encode-branch-aware-cache-miss-semantics.md @@ -0,0 +1,39 @@ +# ADR-39266: Encode Branch-Aware Cache-Miss Semantics for Daily AIC Fallback + +**Date**: 2026-06-14 +**Status**: Draft + +## Context + +The daily AI-credits (AIC) guardrail relies on a usage cache restored via `actions/cache/restore` in the activation job. GitHub Actions caches are branch-scoped: a cache written by the conclusion job on one PR branch is invisible to the activation job running on a different branch. To cover this gap, an artifact-based fallback (`restore_aic_usage_cache_fallback.cjs`) downloads the most recent usage artifact when the cache is missing. Previously, "miss" was inferred from `cache-hit != 'true'`, but the primary cache key embeds `${{ github.run_id }}`, so an exact hit never recurs across runs — meaning `cache-hit` alone is unreliable and produced both false misses (needless fallback downloads) and false hits. + +## Decision + +We will detect daily AIC cache misses **semantically** from the restore step's actual outputs rather than from exact-hit status alone. The compiler (`compiler_activation_job_builder.go`) now emits a dedicated `detect-daily-aic-cache-miss` step that classifies a miss using both `cache-hit` and `cache-matched-key`: a restore that matched any key (including a restore-key prefix match) is treated as a hit, and only the absence of a matched key is treated as a true miss. The artifact fallback step then runs **only** when this detection reports `cache_miss == 'true'`. Step outputs are passed into shell logic via environment variables to remain template-injection-safe. + +## Alternatives Considered + +### Alternative 1: Keep `cache-hit != 'true'` as the miss signal +Continue gating the fallback on the existing exact-hit boolean. Rejected because the run-id-scoped primary key guarantees `cache-hit` is effectively always `false`, so this signal cannot distinguish a genuine miss from a restore-key prefix hit — yielding false positives and false negatives. + +### Alternative 2: Always run the artifact fallback unconditionally +Drop miss detection and let the fallback script (a no-op when the cache file already exists) run every time. Rejected because it incurs unnecessary artifact lookups/downloads on every activation even when the restore already populated the file, adding latency and API load without changing the outcome. + +## Consequences + +### Positive +- Miss detection reflects the real restore result, eliminating both unnecessary fallback downloads and missed fallback opportunities. +- Behavior is correct under branch-scoped cache visibility, including cross-PR-branch activation. +- Step-output interpolation is passed through env vars, preserving the template-injection-safe pattern. + +### Negative +- Adds an extra generated workflow step, increasing the activation job's surface area and maintenance cost. +- The shell detection logic is embedded as Go string literals in the compiler, which is harder to read and modify than a standalone script. + +### Neutral +- Correctness now depends on `actions/cache/restore`'s `cache-matched-key` semantics for restore-key prefix matches. +- Golden workflow fixtures across all engines were regenerated to include the new activation-step sequence. + +--- + +*This is a DRAFT ADR generated by the [Design Decision Gate](https://github.com/github/gh-aw/actions/runs/27507998081) workflow. The PR author must review, complete, and finalize this document before the PR can merge.* From 277207650d553170a37c2ad93cd2fe4d4092f281 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 14 Jun 2026 20:38:10 +0000 Subject: [PATCH 5/8] Fix if: condition to use single ${{ }} wrapper for fallback step Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/ab-testing-advisor.lock.yml | 14 +++++++++++++- .github/workflows/ace-editor.lock.yml | 14 +++++++++++++- .../workflows/agent-performance-analyzer.lock.yml | 14 +++++++++++++- .github/workflows/agent-persona-explorer.lock.yml | 14 +++++++++++++- .github/workflows/agentic-token-audit.lock.yml | 14 +++++++++++++- .github/workflows/agentic-token-optimizer.lock.yml | 14 +++++++++++++- .../workflows/agentic-token-trend-audit.lock.yml | 14 +++++++++++++- .github/workflows/ai-moderator.lock.yml | 14 +++++++++++++- .github/workflows/api-consumption-report.lock.yml | 14 +++++++++++++- .github/workflows/approach-validator.lock.yml | 14 +++++++++++++- .github/workflows/archie.lock.yml | 14 +++++++++++++- .github/workflows/architecture-guardian.lock.yml | 14 +++++++++++++- .github/workflows/artifacts-summary.lock.yml | 14 +++++++++++++- .github/workflows/audit-workflows.lock.yml | 14 +++++++++++++- .github/workflows/auto-triage-issues.lock.yml | 14 +++++++++++++- .github/workflows/avenger.lock.yml | 14 +++++++++++++- .github/workflows/aw-failure-investigator.lock.yml | 14 +++++++++++++- .github/workflows/blog-auditor.lock.yml | 14 +++++++++++++- .github/workflows/bot-detection.lock.yml | 14 +++++++++++++- .github/workflows/brave.lock.yml | 14 +++++++++++++- .github/workflows/breaking-change-checker.lock.yml | 14 +++++++++++++- .github/workflows/changeset.lock.yml | 14 +++++++++++++- .github/workflows/chaos-pr-bundle-fuzzer.lock.yml | 14 +++++++++++++- .github/workflows/ci-coach.lock.yml | 14 +++++++++++++- .github/workflows/ci-doctor.lock.yml | 14 +++++++++++++- .../claude-code-user-docs-review.lock.yml | 14 +++++++++++++- .github/workflows/cli-consistency-checker.lock.yml | 14 +++++++++++++- .github/workflows/cli-version-checker.lock.yml | 14 +++++++++++++- .github/workflows/cloclo.lock.yml | 14 +++++++++++++- .github/workflows/code-scanning-fixer.lock.yml | 14 +++++++++++++- .github/workflows/code-simplifier.lock.yml | 14 +++++++++++++- .../codex-github-remote-mcp-test.lock.yml | 14 +++++++++++++- .github/workflows/commit-changes-analyzer.lock.yml | 14 +++++++++++++- .github/workflows/constraint-solving-potd.lock.yml | 14 +++++++++++++- .github/workflows/contribution-check.lock.yml | 14 +++++++++++++- .github/workflows/copilot-agent-analysis.lock.yml | 14 +++++++++++++- .../workflows/copilot-cli-deep-research.lock.yml | 14 +++++++++++++- .github/workflows/copilot-opt.lock.yml | 14 +++++++++++++- .../workflows/copilot-pr-merged-report.lock.yml | 14 +++++++++++++- .github/workflows/copilot-pr-nlp-analysis.lock.yml | 14 +++++++++++++- .../workflows/copilot-pr-prompt-analysis.lock.yml | 14 +++++++++++++- .../workflows/copilot-session-insights.lock.yml | 14 +++++++++++++- .github/workflows/craft.lock.yml | 14 +++++++++++++- .../daily-agent-of-the-day-blog-writer.lock.yml | 14 +++++++++++++- .../daily-agentrx-trace-optimizer.lock.yml | 14 +++++++++++++- .../daily-ambient-context-optimizer.lock.yml | 14 +++++++++++++- .../workflows/daily-architecture-diagram.lock.yml | 14 +++++++++++++- .../workflows/daily-assign-issue-to-user.lock.yml | 14 +++++++++++++- ...ily-astrostylelite-markdown-spellcheck.lock.yml | 14 +++++++++++++- .../daily-aw-cross-repo-compile-check.lock.yml | 14 +++++++++++++- .../daily-awf-spec-compiler-surfacing.lock.yml | 14 +++++++++++++- .github/workflows/daily-byok-ollama-test.lock.yml | 14 +++++++++++++- .../daily-cache-strategy-analyzer.lock.yml | 14 +++++++++++++- .github/workflows/daily-caveman-optimizer.lock.yml | 14 +++++++++++++- .github/workflows/daily-choice-test.lock.yml | 14 +++++++++++++- .github/workflows/daily-cli-performance.lock.yml | 14 +++++++++++++- .github/workflows/daily-cli-tools-tester.lock.yml | 14 +++++++++++++- .github/workflows/daily-code-metrics.lock.yml | 14 +++++++++++++- .../workflows/daily-community-attribution.lock.yml | 14 +++++++++++++- .github/workflows/daily-compiler-quality.lock.yml | 14 +++++++++++++- .../daily-compiler-threat-spec-optimizer.lock.yml | 14 +++++++++++++- .github/workflows/daily-credit-limit-test.lock.yml | 14 +++++++++++++- .github/workflows/daily-doc-healer.lock.yml | 14 +++++++++++++- .github/workflows/daily-doc-updater.lock.yml | 14 +++++++++++++- .github/workflows/daily-experiment-report.lock.yml | 14 +++++++++++++- .github/workflows/daily-fact.lock.yml | 14 +++++++++++++- .github/workflows/daily-file-diet.lock.yml | 14 +++++++++++++- .github/workflows/daily-firewall-report.lock.yml | 14 +++++++++++++- .../workflows/daily-formal-spec-verifier.lock.yml | 14 +++++++++++++- .github/workflows/daily-function-namer.lock.yml | 14 +++++++++++++- .github/workflows/daily-geo-optimizer.lock.yml | 14 +++++++++++++- .github/workflows/daily-hippo-learn.lock.yml | 14 +++++++++++++- .github/workflows/daily-issues-report.lock.yml | 14 +++++++++++++- .../workflows/daily-malicious-code-scan.lock.yml | 14 +++++++++++++- .../daily-mcp-concurrency-analysis.lock.yml | 14 +++++++++++++- .github/workflows/daily-model-inventory.lock.yml | 14 +++++++++++++- .../daily-multi-device-docs-tester.lock.yml | 14 +++++++++++++- .github/workflows/daily-news.lock.yml | 14 +++++++++++++- .../workflows/daily-observability-report.lock.yml | 14 +++++++++++++- .../workflows/daily-performance-summary.lock.yml | 14 +++++++++++++- .github/workflows/daily-regulatory.lock.yml | 14 +++++++++++++- .../workflows/daily-reliability-review.lock.yml | 14 +++++++++++++- .../daily-rendering-scripts-verifier.lock.yml | 14 +++++++++++++- .github/workflows/daily-repo-chronicle.lock.yml | 14 +++++++++++++- .../daily-safe-output-integrator.lock.yml | 14 +++++++++++++- .../workflows/daily-safe-output-optimizer.lock.yml | 14 +++++++++++++- .../daily-safe-outputs-conformance.lock.yml | 14 +++++++++++++- .../daily-safeoutputs-git-simulator.lock.yml | 14 +++++++++++++- .github/workflows/daily-secrets-analysis.lock.yml | 14 +++++++++++++- .../daily-security-observability.lock.yml | 14 +++++++++++++- .github/workflows/daily-security-red-team.lock.yml | 14 +++++++++++++- .github/workflows/daily-semgrep-scan.lock.yml | 14 +++++++++++++- .github/workflows/daily-sentrux-report.lock.yml | 14 +++++++++++++- .github/workflows/daily-skill-optimizer.lock.yml | 14 +++++++++++++- .github/workflows/daily-spdd-spec-planner.lock.yml | 14 +++++++++++++- .../workflows/daily-syntax-error-quality.lock.yml | 14 +++++++++++++- .../daily-team-evolution-insights.lock.yml | 14 +++++++++++++- .github/workflows/daily-team-status.lock.yml | 14 +++++++++++++- .../daily-testify-uber-super-expert.lock.yml | 14 +++++++++++++- .../daily-token-consumption-report.lock.yml | 14 +++++++++++++- ...y-windows-terminal-integration-builder.lock.yml | 14 +++++++++++++- .github/workflows/daily-workflow-updater.lock.yml | 14 +++++++++++++- .../dataflow-pr-discussion-dataset.lock.yml | 14 +++++++++++++- .github/workflows/dead-code-remover.lock.yml | 14 +++++++++++++- .github/workflows/deep-report.lock.yml | 14 +++++++++++++- .github/workflows/delight.lock.yml | 14 +++++++++++++- .github/workflows/dependabot-burner.lock.yml | 14 +++++++++++++- .github/workflows/dependabot-campaign.lock.yml | 14 +++++++++++++- .github/workflows/dependabot-go-checker.lock.yml | 14 +++++++++++++- .github/workflows/dependabot-repair.lock.yml | 14 +++++++++++++- .github/workflows/dependabot-worker.lock.yml | 14 +++++++++++++- .../workflows/deployment-incident-monitor.lock.yml | 14 +++++++++++++- .github/workflows/design-decision-gate.lock.yml | 14 +++++++++++++- .github/workflows/designer-drift-audit.lock.yml | 14 +++++++++++++- .github/workflows/dev-hawk.lock.yml | 14 +++++++++++++- .github/workflows/dev.lock.yml | 14 +++++++++++++- .../workflows/developer-docs-consolidator.lock.yml | 14 +++++++++++++- .github/workflows/dictation-prompt.lock.yml | 14 +++++++++++++- .github/workflows/discussion-task-miner.lock.yml | 14 +++++++++++++- .github/workflows/docs-noob-tester.lock.yml | 14 +++++++++++++- .github/workflows/draft-pr-cleanup.lock.yml | 14 +++++++++++++- .github/workflows/duplicate-code-detector.lock.yml | 14 +++++++++++++- .../workflows/example-permissions-warning.lock.yml | 14 +++++++++++++- .../workflows/example-workflow-analyzer.lock.yml | 14 +++++++++++++- .github/workflows/firewall-escape.lock.yml | 14 +++++++++++++- .github/workflows/firewall.lock.yml | 14 +++++++++++++- .github/workflows/functional-pragmatist.lock.yml | 14 +++++++++++++- .../github-mcp-structural-analysis.lock.yml | 14 +++++++++++++- .github/workflows/github-mcp-tools-report.lock.yml | 14 +++++++++++++- .../workflows/github-remote-mcp-auth-test.lock.yml | 14 +++++++++++++- .github/workflows/glossary-maintainer.lock.yml | 14 +++++++++++++- .github/workflows/go-fan.lock.yml | 14 +++++++++++++- .github/workflows/go-logger.lock.yml | 14 +++++++++++++- .github/workflows/go-pattern-detector.lock.yml | 14 +++++++++++++- .github/workflows/gpclean.lock.yml | 14 +++++++++++++- .github/workflows/grumpy-reviewer.lock.yml | 14 +++++++++++++- .github/workflows/hippo-embed.lock.yml | 14 +++++++++++++- .github/workflows/hourly-ci-cleaner.lock.yml | 14 +++++++++++++- .github/workflows/instructions-janitor.lock.yml | 14 +++++++++++++- .github/workflows/issue-arborist.lock.yml | 14 +++++++++++++- .github/workflows/issue-monster.lock.yml | 14 +++++++++++++- .github/workflows/issue-triage-agent.lock.yml | 14 +++++++++++++- .github/workflows/jsweep.lock.yml | 14 +++++++++++++- .github/workflows/layout-spec-maintainer.lock.yml | 14 +++++++++++++- .github/workflows/lint-monster.lock.yml | 14 +++++++++++++- .github/workflows/linter-miner.lock.yml | 14 +++++++++++++- .github/workflows/lockfile-stats.lock.yml | 14 +++++++++++++- .../workflows/mattpocock-skills-reviewer.lock.yml | 14 +++++++++++++- .github/workflows/mcp-inspector.lock.yml | 14 +++++++++++++- .github/workflows/mergefest.lock.yml | 14 +++++++++++++- .github/workflows/metrics-collector.lock.yml | 14 +++++++++++++- .github/workflows/necromancer.lock.yml | 14 +++++++++++++- .github/workflows/notion-issue-summary.lock.yml | 14 +++++++++++++- .github/workflows/objective-impact-report.lock.yml | 14 +++++++++++++- .github/workflows/org-health-report.lock.yml | 14 +++++++++++++- .github/workflows/outcome-collector.lock.yml | 14 +++++++++++++- .github/workflows/pdf-summary.lock.yml | 14 +++++++++++++- .github/workflows/plan.lock.yml | 14 +++++++++++++- .github/workflows/poem-bot.lock.yml | 14 +++++++++++++- .../workflows/pr-code-quality-reviewer.lock.yml | 14 +++++++++++++- .github/workflows/pr-description-caveman.lock.yml | 14 +++++++++++++- .github/workflows/pr-nitpick-reviewer.lock.yml | 14 +++++++++++++- .github/workflows/pr-sous-chef.lock.yml | 14 +++++++++++++- .github/workflows/pr-triage-agent.lock.yml | 14 +++++++++++++- .../workflows/prompt-clustering-analysis.lock.yml | 14 +++++++++++++- .github/workflows/python-data-charts.lock.yml | 14 +++++++++++++- .github/workflows/q.lock.yml | 14 +++++++++++++- .github/workflows/refactoring-cadence.lock.yml | 14 +++++++++++++- .github/workflows/refiner.lock.yml | 14 +++++++++++++- .github/workflows/release.lock.yml | 14 +++++++++++++- .github/workflows/repo-audit-analyzer.lock.yml | 14 +++++++++++++- .github/workflows/repo-tree-map.lock.yml | 14 +++++++++++++- .../workflows/repository-quality-improver.lock.yml | 14 +++++++++++++- .github/workflows/research.lock.yml | 14 +++++++++++++- .github/workflows/ruflo-backed-task.lock.yml | 14 +++++++++++++- .github/workflows/safe-output-health.lock.yml | 14 +++++++++++++- .../workflows/schema-consistency-checker.lock.yml | 14 +++++++++++++- .github/workflows/schema-feature-coverage.lock.yml | 14 +++++++++++++- .github/workflows/scout.lock.yml | 14 +++++++++++++- .github/workflows/security-compliance.lock.yml | 14 +++++++++++++- .github/workflows/security-review.lock.yml | 14 +++++++++++++- .../workflows/semantic-function-refactor.lock.yml | 14 +++++++++++++- .github/workflows/sergo.lock.yml | 14 +++++++++++++- .github/workflows/slide-deck-maintainer.lock.yml | 14 +++++++++++++- .github/workflows/smoke-agent-all-merged.lock.yml | 14 +++++++++++++- .github/workflows/smoke-agent-all-none.lock.yml | 14 +++++++++++++- .../workflows/smoke-agent-public-approved.lock.yml | 14 +++++++++++++- .github/workflows/smoke-agent-public-none.lock.yml | 14 +++++++++++++- .../workflows/smoke-agent-scoped-approved.lock.yml | 14 +++++++++++++- .github/workflows/smoke-antigravity.lock.yml | 14 +++++++++++++- .github/workflows/smoke-call-workflow.lock.yml | 14 +++++++++++++- .github/workflows/smoke-ci.lock.yml | 14 +++++++++++++- .github/workflows/smoke-claude.lock.yml | 14 +++++++++++++- .github/workflows/smoke-codex.lock.yml | 14 +++++++++++++- .../workflows/smoke-copilot-aoai-apikey.lock.yml | 14 +++++++++++++- .../workflows/smoke-copilot-aoai-entra.lock.yml | 14 +++++++++++++- .github/workflows/smoke-copilot-arm.lock.yml | 14 +++++++++++++- .github/workflows/smoke-copilot-sdk.lock.yml | 14 +++++++++++++- .github/workflows/smoke-copilot.lock.yml | 14 +++++++++++++- .../workflows/smoke-create-cross-repo-pr.lock.yml | 14 +++++++++++++- .github/workflows/smoke-crush.lock.yml | 14 +++++++++++++- .github/workflows/smoke-gemini.lock.yml | 14 +++++++++++++- .github/workflows/smoke-multi-pr.lock.yml | 14 +++++++++++++- .github/workflows/smoke-opencode.lock.yml | 14 +++++++++++++- .github/workflows/smoke-otel-backends.lock.yml | 14 +++++++++++++- .github/workflows/smoke-pi.lock.yml | 14 +++++++++++++- .github/workflows/smoke-project.lock.yml | 14 +++++++++++++- .github/workflows/smoke-service-ports.lock.yml | 14 +++++++++++++- .github/workflows/smoke-temporary-id.lock.yml | 14 +++++++++++++- .github/workflows/smoke-test-tools.lock.yml | 14 +++++++++++++- .../workflows/smoke-update-cross-repo-pr.lock.yml | 14 +++++++++++++- .../smoke-workflow-call-with-inputs.lock.yml | 14 +++++++++++++- .github/workflows/smoke-workflow-call.lock.yml | 14 +++++++++++++- .github/workflows/spec-enforcer.lock.yml | 14 +++++++++++++- .github/workflows/spec-extractor.lock.yml | 14 +++++++++++++- .github/workflows/spec-librarian.lock.yml | 14 +++++++++++++- .github/workflows/stale-pr-cleanup.lock.yml | 14 +++++++++++++- .github/workflows/stale-repo-identifier.lock.yml | 14 +++++++++++++- .github/workflows/static-analysis-report.lock.yml | 14 +++++++++++++- .github/workflows/step-name-alignment.lock.yml | 14 +++++++++++++- .github/workflows/sub-issue-closer.lock.yml | 14 +++++++++++++- .github/workflows/super-linter.lock.yml | 14 +++++++++++++- .github/workflows/technical-doc-writer.lock.yml | 14 +++++++++++++- .github/workflows/terminal-stylist.lock.yml | 14 +++++++++++++- .../test-create-pr-error-handling.lock.yml | 14 +++++++++++++- .github/workflows/test-dispatcher.lock.yml | 14 +++++++++++++- .../workflows/test-project-url-default.lock.yml | 14 +++++++++++++- .github/workflows/test-quality-sentinel.lock.yml | 14 +++++++++++++- .github/workflows/test-workflow.lock.yml | 14 +++++++++++++- .github/workflows/tidy.lock.yml | 14 +++++++++++++- .github/workflows/typist.lock.yml | 14 +++++++++++++- .github/workflows/ubuntu-image-analyzer.lock.yml | 14 +++++++++++++- .../uk-ai-operational-resilience.lock.yml | 14 +++++++++++++- .github/workflows/unbloat-docs.lock.yml | 14 +++++++++++++- .github/workflows/update-astro.lock.yml | 14 +++++++++++++- .github/workflows/video-analyzer.lock.yml | 14 +++++++++++++- .../workflows/visual-regression-checker.lock.yml | 14 +++++++++++++- .github/workflows/weekly-blog-post-writer.lock.yml | 14 +++++++++++++- .../workflows/weekly-editors-health-check.lock.yml | 14 +++++++++++++- .github/workflows/weekly-issue-summary.lock.yml | 14 +++++++++++++- .../weekly-safe-outputs-spec-review.lock.yml | 14 +++++++++++++- .github/workflows/workflow-generator.lock.yml | 14 +++++++++++++- .github/workflows/workflow-health-manager.lock.yml | 14 +++++++++++++- .github/workflows/workflow-normalizer.lock.yml | 14 +++++++++++++- .../workflows/workflow-skill-extractor.lock.yml | 14 +++++++++++++- pkg/workflow/compiler_activation_job_builder.go | 2 +- .../TestWasmGolden_AllEngines/claude.golden | 2 +- .../TestWasmGolden_AllEngines/codex.golden | 2 +- .../TestWasmGolden_AllEngines/copilot.golden | 2 +- .../TestWasmGolden_AllEngines/gemini.golden | 2 +- .../testdata/TestWasmGolden_AllEngines/pi.golden | 2 +- .../basic-copilot.golden | 2 +- .../playwright-cli-mode.golden | 2 +- .../smoke-copilot.golden | 2 +- .../with-imports.golden | 2 +- 255 files changed, 3195 insertions(+), 255 deletions(-) diff --git a/.github/workflows/ab-testing-advisor.lock.yml b/.github/workflows/ab-testing-advisor.lock.yml index f9bc998662d..aceb6ce45cf 100644 --- a/.github/workflows/ab-testing-advisor.lock.yml +++ b/.github/workflows/ab-testing-advisor.lock.yml @@ -170,9 +170,21 @@ jobs: key: agentic-workflow-usage-abtestingadvisor-${{ github.run_id }} restore-keys: agentic-workflow-usage-abtestingadvisor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/ace-editor.lock.yml b/.github/workflows/ace-editor.lock.yml index 3ce9d913bbf..eff74b1ce8d 100644 --- a/.github/workflows/ace-editor.lock.yml +++ b/.github/workflows/ace-editor.lock.yml @@ -171,9 +171,21 @@ jobs: key: agentic-workflow-usage-aceeditor-${{ github.run_id }} restore-keys: agentic-workflow-usage-aceeditor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/agent-performance-analyzer.lock.yml b/.github/workflows/agent-performance-analyzer.lock.yml index a7edd5e9deb..ed7f737033a 100644 --- a/.github/workflows/agent-performance-analyzer.lock.yml +++ b/.github/workflows/agent-performance-analyzer.lock.yml @@ -170,9 +170,21 @@ jobs: key: agentic-workflow-usage-agentperformanceanalyzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-agentperformanceanalyzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/agent-persona-explorer.lock.yml b/.github/workflows/agent-persona-explorer.lock.yml index c553d16fb62..124c5c1cb03 100644 --- a/.github/workflows/agent-persona-explorer.lock.yml +++ b/.github/workflows/agent-persona-explorer.lock.yml @@ -170,9 +170,21 @@ jobs: key: agentic-workflow-usage-agentpersonaexplorer-${{ github.run_id }} restore-keys: agentic-workflow-usage-agentpersonaexplorer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/agentic-token-audit.lock.yml b/.github/workflows/agentic-token-audit.lock.yml index 3ab53576647..e5abda3d29d 100644 --- a/.github/workflows/agentic-token-audit.lock.yml +++ b/.github/workflows/agentic-token-audit.lock.yml @@ -154,9 +154,21 @@ jobs: key: agentic-workflow-usage-agentictokenaudit-${{ github.run_id }} restore-keys: agentic-workflow-usage-agentictokenaudit- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/agentic-token-optimizer.lock.yml b/.github/workflows/agentic-token-optimizer.lock.yml index d1406810495..1cf57da4199 100644 --- a/.github/workflows/agentic-token-optimizer.lock.yml +++ b/.github/workflows/agentic-token-optimizer.lock.yml @@ -150,9 +150,21 @@ jobs: key: agentic-workflow-usage-agentictokenoptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-agentictokenoptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/agentic-token-trend-audit.lock.yml b/.github/workflows/agentic-token-trend-audit.lock.yml index b467800e37f..4e121394c80 100644 --- a/.github/workflows/agentic-token-trend-audit.lock.yml +++ b/.github/workflows/agentic-token-trend-audit.lock.yml @@ -151,9 +151,21 @@ jobs: key: agentic-workflow-usage-agentictokentrendaudit-${{ github.run_id }} restore-keys: agentic-workflow-usage-agentictokentrendaudit- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/ai-moderator.lock.yml b/.github/workflows/ai-moderator.lock.yml index ee19743f98e..5c8dcceb21d 100644 --- a/.github/workflows/ai-moderator.lock.yml +++ b/.github/workflows/ai-moderator.lock.yml @@ -202,9 +202,21 @@ jobs: key: agentic-workflow-usage-aimoderator-${{ github.run_id }} restore-keys: agentic-workflow-usage-aimoderator- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/api-consumption-report.lock.yml b/.github/workflows/api-consumption-report.lock.yml index adb1547a014..7f1443df707 100644 --- a/.github/workflows/api-consumption-report.lock.yml +++ b/.github/workflows/api-consumption-report.lock.yml @@ -175,9 +175,21 @@ jobs: key: agentic-workflow-usage-apiconsumptionreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-apiconsumptionreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/approach-validator.lock.yml b/.github/workflows/approach-validator.lock.yml index 389abb09d0f..56e1a3823ca 100644 --- a/.github/workflows/approach-validator.lock.yml +++ b/.github/workflows/approach-validator.lock.yml @@ -181,9 +181,21 @@ jobs: key: agentic-workflow-usage-approachvalidator-${{ github.run_id }} restore-keys: agentic-workflow-usage-approachvalidator- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/archie.lock.yml b/.github/workflows/archie.lock.yml index f3ce61b9589..30cf1a0b4e7 100644 --- a/.github/workflows/archie.lock.yml +++ b/.github/workflows/archie.lock.yml @@ -174,9 +174,21 @@ jobs: key: agentic-workflow-usage-archie-${{ github.run_id }} restore-keys: agentic-workflow-usage-archie- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/architecture-guardian.lock.yml b/.github/workflows/architecture-guardian.lock.yml index 8a9f44242c3..d05727b95ae 100644 --- a/.github/workflows/architecture-guardian.lock.yml +++ b/.github/workflows/architecture-guardian.lock.yml @@ -174,9 +174,21 @@ jobs: key: agentic-workflow-usage-architectureguardian-${{ github.run_id }} restore-keys: agentic-workflow-usage-architectureguardian- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/artifacts-summary.lock.yml b/.github/workflows/artifacts-summary.lock.yml index a920e6b396d..30bf89e8c3c 100644 --- a/.github/workflows/artifacts-summary.lock.yml +++ b/.github/workflows/artifacts-summary.lock.yml @@ -165,9 +165,21 @@ jobs: key: agentic-workflow-usage-artifactssummary-${{ github.run_id }} restore-keys: agentic-workflow-usage-artifactssummary- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/audit-workflows.lock.yml b/.github/workflows/audit-workflows.lock.yml index d6a3346a452..d2afbb2185e 100644 --- a/.github/workflows/audit-workflows.lock.yml +++ b/.github/workflows/audit-workflows.lock.yml @@ -175,9 +175,21 @@ jobs: key: agentic-workflow-usage-auditworkflows-${{ github.run_id }} restore-keys: agentic-workflow-usage-auditworkflows- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/auto-triage-issues.lock.yml b/.github/workflows/auto-triage-issues.lock.yml index aa9d7b436f9..6e7bde5e4f4 100644 --- a/.github/workflows/auto-triage-issues.lock.yml +++ b/.github/workflows/auto-triage-issues.lock.yml @@ -175,9 +175,21 @@ jobs: key: agentic-workflow-usage-autotriageissues-${{ github.run_id }} restore-keys: agentic-workflow-usage-autotriageissues- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/avenger.lock.yml b/.github/workflows/avenger.lock.yml index 23c078a6d5f..e67eac8da03 100644 --- a/.github/workflows/avenger.lock.yml +++ b/.github/workflows/avenger.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-avenger-${{ github.run_id }} restore-keys: agentic-workflow-usage-avenger- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/aw-failure-investigator.lock.yml b/.github/workflows/aw-failure-investigator.lock.yml index 1b313c359a7..b1684d2dac6 100644 --- a/.github/workflows/aw-failure-investigator.lock.yml +++ b/.github/workflows/aw-failure-investigator.lock.yml @@ -175,9 +175,21 @@ jobs: key: agentic-workflow-usage-awfailureinvestigator-${{ github.run_id }} restore-keys: agentic-workflow-usage-awfailureinvestigator- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/blog-auditor.lock.yml b/.github/workflows/blog-auditor.lock.yml index 12f738cfd02..129d61c2822 100644 --- a/.github/workflows/blog-auditor.lock.yml +++ b/.github/workflows/blog-auditor.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-blogauditor-${{ github.run_id }} restore-keys: agentic-workflow-usage-blogauditor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/bot-detection.lock.yml b/.github/workflows/bot-detection.lock.yml index 013528a2f99..62b24417bd5 100644 --- a/.github/workflows/bot-detection.lock.yml +++ b/.github/workflows/bot-detection.lock.yml @@ -165,9 +165,21 @@ jobs: key: agentic-workflow-usage-botdetection-${{ github.run_id }} restore-keys: agentic-workflow-usage-botdetection- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/brave.lock.yml b/.github/workflows/brave.lock.yml index 3a7152ba840..013c34e8132 100644 --- a/.github/workflows/brave.lock.yml +++ b/.github/workflows/brave.lock.yml @@ -173,9 +173,21 @@ jobs: key: agentic-workflow-usage-brave-${{ github.run_id }} restore-keys: agentic-workflow-usage-brave- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/breaking-change-checker.lock.yml b/.github/workflows/breaking-change-checker.lock.yml index 2f1b4e4756b..ab3e5921e12 100644 --- a/.github/workflows/breaking-change-checker.lock.yml +++ b/.github/workflows/breaking-change-checker.lock.yml @@ -172,9 +172,21 @@ jobs: key: agentic-workflow-usage-breakingchangechecker-${{ github.run_id }} restore-keys: agentic-workflow-usage-breakingchangechecker- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/changeset.lock.yml b/.github/workflows/changeset.lock.yml index 91f7c954021..86708c1d1e9 100644 --- a/.github/workflows/changeset.lock.yml +++ b/.github/workflows/changeset.lock.yml @@ -185,9 +185,21 @@ jobs: key: agentic-workflow-usage-changeset-${{ github.run_id }} restore-keys: agentic-workflow-usage-changeset- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml b/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml index 7c1ebc1ed61..b3579fcbc3a 100644 --- a/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml +++ b/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml @@ -164,9 +164,21 @@ jobs: key: agentic-workflow-usage-chaosprbundlefuzzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-chaosprbundlefuzzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/ci-coach.lock.yml b/.github/workflows/ci-coach.lock.yml index 3221b0e5cb3..9c2e040e291 100644 --- a/.github/workflows/ci-coach.lock.yml +++ b/.github/workflows/ci-coach.lock.yml @@ -170,9 +170,21 @@ jobs: key: agentic-workflow-usage-cicoach-${{ github.run_id }} restore-keys: agentic-workflow-usage-cicoach- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.yml index 48b6c7bd9c5..b76490588e4 100644 --- a/.github/workflows/ci-doctor.lock.yml +++ b/.github/workflows/ci-doctor.lock.yml @@ -182,9 +182,21 @@ jobs: key: agentic-workflow-usage-cidoctor-${{ github.run_id }} restore-keys: agentic-workflow-usage-cidoctor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/claude-code-user-docs-review.lock.yml b/.github/workflows/claude-code-user-docs-review.lock.yml index aaf0b79b930..94d07f79f67 100644 --- a/.github/workflows/claude-code-user-docs-review.lock.yml +++ b/.github/workflows/claude-code-user-docs-review.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-claudecodeuserdocsreview-${{ github.run_id }} restore-keys: agentic-workflow-usage-claudecodeuserdocsreview- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/cli-consistency-checker.lock.yml b/.github/workflows/cli-consistency-checker.lock.yml index 7a41cb89d70..9f200b23dc6 100644 --- a/.github/workflows/cli-consistency-checker.lock.yml +++ b/.github/workflows/cli-consistency-checker.lock.yml @@ -162,9 +162,21 @@ jobs: key: agentic-workflow-usage-cliconsistencychecker-${{ github.run_id }} restore-keys: agentic-workflow-usage-cliconsistencychecker- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/cli-version-checker.lock.yml b/.github/workflows/cli-version-checker.lock.yml index da2869897d6..49c370038c9 100644 --- a/.github/workflows/cli-version-checker.lock.yml +++ b/.github/workflows/cli-version-checker.lock.yml @@ -166,9 +166,21 @@ jobs: key: agentic-workflow-usage-cliversionchecker-${{ github.run_id }} restore-keys: agentic-workflow-usage-cliversionchecker- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/cloclo.lock.yml b/.github/workflows/cloclo.lock.yml index 60c8a0c39e8..79a4b5f5c43 100644 --- a/.github/workflows/cloclo.lock.yml +++ b/.github/workflows/cloclo.lock.yml @@ -188,9 +188,21 @@ jobs: key: agentic-workflow-usage-cloclo-${{ github.run_id }} restore-keys: agentic-workflow-usage-cloclo- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/code-scanning-fixer.lock.yml b/.github/workflows/code-scanning-fixer.lock.yml index 145a6766c61..a1809bab355 100644 --- a/.github/workflows/code-scanning-fixer.lock.yml +++ b/.github/workflows/code-scanning-fixer.lock.yml @@ -170,9 +170,21 @@ jobs: key: agentic-workflow-usage-codescanningfixer-${{ github.run_id }} restore-keys: agentic-workflow-usage-codescanningfixer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/code-simplifier.lock.yml b/.github/workflows/code-simplifier.lock.yml index 3b9f61a17a5..9b035765bb8 100644 --- a/.github/workflows/code-simplifier.lock.yml +++ b/.github/workflows/code-simplifier.lock.yml @@ -175,9 +175,21 @@ jobs: key: agentic-workflow-usage-codesimplifier-${{ github.run_id }} restore-keys: agentic-workflow-usage-codesimplifier- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/codex-github-remote-mcp-test.lock.yml b/.github/workflows/codex-github-remote-mcp-test.lock.yml index 394f97d3270..928d80ef959 100644 --- a/.github/workflows/codex-github-remote-mcp-test.lock.yml +++ b/.github/workflows/codex-github-remote-mcp-test.lock.yml @@ -161,9 +161,21 @@ jobs: key: agentic-workflow-usage-codexgithubremotemcptest-${{ github.run_id }} restore-keys: agentic-workflow-usage-codexgithubremotemcptest- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/commit-changes-analyzer.lock.yml b/.github/workflows/commit-changes-analyzer.lock.yml index 0f7d88bfcef..6a8efcbb133 100644 --- a/.github/workflows/commit-changes-analyzer.lock.yml +++ b/.github/workflows/commit-changes-analyzer.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-commitchangesanalyzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-commitchangesanalyzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/constraint-solving-potd.lock.yml b/.github/workflows/constraint-solving-potd.lock.yml index eae13b61d94..be5bf5f65c1 100644 --- a/.github/workflows/constraint-solving-potd.lock.yml +++ b/.github/workflows/constraint-solving-potd.lock.yml @@ -163,9 +163,21 @@ jobs: key: agentic-workflow-usage-constraintsolvingpotd-${{ github.run_id }} restore-keys: agentic-workflow-usage-constraintsolvingpotd- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/contribution-check.lock.yml b/.github/workflows/contribution-check.lock.yml index 784c1de2a08..ea5d0b3d756 100644 --- a/.github/workflows/contribution-check.lock.yml +++ b/.github/workflows/contribution-check.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-contributioncheck-${{ github.run_id }} restore-keys: agentic-workflow-usage-contributioncheck- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/copilot-agent-analysis.lock.yml b/.github/workflows/copilot-agent-analysis.lock.yml index d1f93231495..006664d5d36 100644 --- a/.github/workflows/copilot-agent-analysis.lock.yml +++ b/.github/workflows/copilot-agent-analysis.lock.yml @@ -174,9 +174,21 @@ jobs: key: agentic-workflow-usage-copilotagentanalysis-${{ github.run_id }} restore-keys: agentic-workflow-usage-copilotagentanalysis- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/copilot-cli-deep-research.lock.yml b/.github/workflows/copilot-cli-deep-research.lock.yml index adbcd2a9f68..b582b9da994 100644 --- a/.github/workflows/copilot-cli-deep-research.lock.yml +++ b/.github/workflows/copilot-cli-deep-research.lock.yml @@ -164,9 +164,21 @@ jobs: key: agentic-workflow-usage-copilotclideepresearch-${{ github.run_id }} restore-keys: agentic-workflow-usage-copilotclideepresearch- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/copilot-opt.lock.yml b/.github/workflows/copilot-opt.lock.yml index 118dcd21c63..fa22edeb91a 100644 --- a/.github/workflows/copilot-opt.lock.yml +++ b/.github/workflows/copilot-opt.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-copilotopt-${{ github.run_id }} restore-keys: agentic-workflow-usage-copilotopt- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/copilot-pr-merged-report.lock.yml b/.github/workflows/copilot-pr-merged-report.lock.yml index 506de23b4aa..58207c01551 100644 --- a/.github/workflows/copilot-pr-merged-report.lock.yml +++ b/.github/workflows/copilot-pr-merged-report.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-copilotprmergedreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-copilotprmergedreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/copilot-pr-nlp-analysis.lock.yml b/.github/workflows/copilot-pr-nlp-analysis.lock.yml index 00c1890dd6f..037f6ff8d85 100644 --- a/.github/workflows/copilot-pr-nlp-analysis.lock.yml +++ b/.github/workflows/copilot-pr-nlp-analysis.lock.yml @@ -172,9 +172,21 @@ jobs: key: agentic-workflow-usage-copilotprnlpanalysis-${{ github.run_id }} restore-keys: agentic-workflow-usage-copilotprnlpanalysis- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/copilot-pr-prompt-analysis.lock.yml b/.github/workflows/copilot-pr-prompt-analysis.lock.yml index d140132bf3a..7d741ba6b2a 100644 --- a/.github/workflows/copilot-pr-prompt-analysis.lock.yml +++ b/.github/workflows/copilot-pr-prompt-analysis.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-copilotprpromptanalysis-${{ github.run_id }} restore-keys: agentic-workflow-usage-copilotprpromptanalysis- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/copilot-session-insights.lock.yml b/.github/workflows/copilot-session-insights.lock.yml index eecc612d541..47dbf8fc9d9 100644 --- a/.github/workflows/copilot-session-insights.lock.yml +++ b/.github/workflows/copilot-session-insights.lock.yml @@ -175,9 +175,21 @@ jobs: key: agentic-workflow-usage-copilotsessioninsights-${{ github.run_id }} restore-keys: agentic-workflow-usage-copilotsessioninsights- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/craft.lock.yml b/.github/workflows/craft.lock.yml index a42372d54bd..ec396c49afc 100644 --- a/.github/workflows/craft.lock.yml +++ b/.github/workflows/craft.lock.yml @@ -171,9 +171,21 @@ jobs: key: agentic-workflow-usage-craft-${{ github.run_id }} restore-keys: agentic-workflow-usage-craft- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml b/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml index 5aa66456603..7087f20f170 100644 --- a/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml +++ b/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml @@ -175,9 +175,21 @@ jobs: key: agentic-workflow-usage-dailyagentofthedayblogwriter-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyagentofthedayblogwriter- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-agentrx-trace-optimizer.lock.yml b/.github/workflows/daily-agentrx-trace-optimizer.lock.yml index 3b2c02b27d5..9dfd15a74e9 100644 --- a/.github/workflows/daily-agentrx-trace-optimizer.lock.yml +++ b/.github/workflows/daily-agentrx-trace-optimizer.lock.yml @@ -172,9 +172,21 @@ jobs: key: agentic-workflow-usage-dailyagentrxtraceoptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyagentrxtraceoptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-ambient-context-optimizer.lock.yml b/.github/workflows/daily-ambient-context-optimizer.lock.yml index 0d4ca53e137..bc9bef431a4 100644 --- a/.github/workflows/daily-ambient-context-optimizer.lock.yml +++ b/.github/workflows/daily-ambient-context-optimizer.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-dailyambientcontextoptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyambientcontextoptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-architecture-diagram.lock.yml b/.github/workflows/daily-architecture-diagram.lock.yml index a017eba87fe..3adbbb7f795 100644 --- a/.github/workflows/daily-architecture-diagram.lock.yml +++ b/.github/workflows/daily-architecture-diagram.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-dailyarchitecturediagram-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyarchitecturediagram- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-assign-issue-to-user.lock.yml b/.github/workflows/daily-assign-issue-to-user.lock.yml index c5b6dc1bae7..efa7a298f36 100644 --- a/.github/workflows/daily-assign-issue-to-user.lock.yml +++ b/.github/workflows/daily-assign-issue-to-user.lock.yml @@ -162,9 +162,21 @@ jobs: key: agentic-workflow-usage-dailyassignissuetouser-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyassignissuetouser- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml b/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml index 00846a4cf32..7b7706cf3e9 100644 --- a/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml +++ b/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-dailyastrostylelitemarkdownspellcheck-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyastrostylelitemarkdownspellcheck- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml b/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml index 830efd5ca74..46989095939 100644 --- a/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml +++ b/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml @@ -166,9 +166,21 @@ jobs: key: agentic-workflow-usage-dailyawcrossrepocompilecheck-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyawcrossrepocompilecheck- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml b/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml index ec3c99b471d..ee7a3f699d6 100644 --- a/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml +++ b/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml @@ -165,9 +165,21 @@ jobs: key: agentic-workflow-usage-dailyawfspeccompilersurfacing-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyawfspeccompilersurfacing- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-byok-ollama-test.lock.yml b/.github/workflows/daily-byok-ollama-test.lock.yml index 7e2788d2098..73b3f40348b 100644 --- a/.github/workflows/daily-byok-ollama-test.lock.yml +++ b/.github/workflows/daily-byok-ollama-test.lock.yml @@ -144,9 +144,21 @@ jobs: key: agentic-workflow-usage-dailybyokollamatest-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailybyokollamatest- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-cache-strategy-analyzer.lock.yml b/.github/workflows/daily-cache-strategy-analyzer.lock.yml index 9d3f7cad693..1a3a6598428 100644 --- a/.github/workflows/daily-cache-strategy-analyzer.lock.yml +++ b/.github/workflows/daily-cache-strategy-analyzer.lock.yml @@ -174,9 +174,21 @@ jobs: key: agentic-workflow-usage-dailycachestrategyanalyzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycachestrategyanalyzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-caveman-optimizer.lock.yml b/.github/workflows/daily-caveman-optimizer.lock.yml index 6fe8e9421cd..60269ef1260 100644 --- a/.github/workflows/daily-caveman-optimizer.lock.yml +++ b/.github/workflows/daily-caveman-optimizer.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-dailycavemanoptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycavemanoptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-choice-test.lock.yml b/.github/workflows/daily-choice-test.lock.yml index 268eda2f519..c8cb8fdb4a4 100644 --- a/.github/workflows/daily-choice-test.lock.yml +++ b/.github/workflows/daily-choice-test.lock.yml @@ -165,9 +165,21 @@ jobs: key: agentic-workflow-usage-dailychoicetest-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailychoicetest- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-cli-performance.lock.yml b/.github/workflows/daily-cli-performance.lock.yml index 986b91bd8a4..eab61fa40b3 100644 --- a/.github/workflows/daily-cli-performance.lock.yml +++ b/.github/workflows/daily-cli-performance.lock.yml @@ -196,9 +196,21 @@ jobs: key: agentic-workflow-usage-dailycliperformance-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycliperformance- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-cli-tools-tester.lock.yml b/.github/workflows/daily-cli-tools-tester.lock.yml index d951337966a..be1484b5000 100644 --- a/.github/workflows/daily-cli-tools-tester.lock.yml +++ b/.github/workflows/daily-cli-tools-tester.lock.yml @@ -170,9 +170,21 @@ jobs: key: agentic-workflow-usage-dailyclitoolstester-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyclitoolstester- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-code-metrics.lock.yml b/.github/workflows/daily-code-metrics.lock.yml index 29c5e5c0435..ed5588ff91d 100644 --- a/.github/workflows/daily-code-metrics.lock.yml +++ b/.github/workflows/daily-code-metrics.lock.yml @@ -173,9 +173,21 @@ jobs: key: agentic-workflow-usage-dailycodemetrics-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycodemetrics- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-community-attribution.lock.yml b/.github/workflows/daily-community-attribution.lock.yml index c8a49f58c98..f2e655b8517 100644 --- a/.github/workflows/daily-community-attribution.lock.yml +++ b/.github/workflows/daily-community-attribution.lock.yml @@ -170,9 +170,21 @@ jobs: key: agentic-workflow-usage-dailycommunityattribution-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycommunityattribution- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-compiler-quality.lock.yml b/.github/workflows/daily-compiler-quality.lock.yml index 9bbb299da50..a833c6edd87 100644 --- a/.github/workflows/daily-compiler-quality.lock.yml +++ b/.github/workflows/daily-compiler-quality.lock.yml @@ -172,9 +172,21 @@ jobs: key: agentic-workflow-usage-dailycompilerquality-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycompilerquality- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml b/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml index 970fcd2101e..1892c8b4206 100644 --- a/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml +++ b/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-dailycompilerthreatspecoptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycompilerthreatspecoptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-credit-limit-test.lock.yml b/.github/workflows/daily-credit-limit-test.lock.yml index 7b46bba5dc8..5f62586fd5f 100644 --- a/.github/workflows/daily-credit-limit-test.lock.yml +++ b/.github/workflows/daily-credit-limit-test.lock.yml @@ -146,9 +146,21 @@ jobs: key: agentic-workflow-usage-dailycreditlimittest-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycreditlimittest- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-doc-healer.lock.yml b/.github/workflows/daily-doc-healer.lock.yml index 9f3457ef42f..9413a5600cd 100644 --- a/.github/workflows/daily-doc-healer.lock.yml +++ b/.github/workflows/daily-doc-healer.lock.yml @@ -172,9 +172,21 @@ jobs: key: agentic-workflow-usage-dailydochealer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailydochealer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-doc-updater.lock.yml b/.github/workflows/daily-doc-updater.lock.yml index 0723a232d5f..0d2149ec961 100644 --- a/.github/workflows/daily-doc-updater.lock.yml +++ b/.github/workflows/daily-doc-updater.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-dailydocupdater-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailydocupdater- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-experiment-report.lock.yml b/.github/workflows/daily-experiment-report.lock.yml index 33d362d4256..7d4caeb7ea1 100644 --- a/.github/workflows/daily-experiment-report.lock.yml +++ b/.github/workflows/daily-experiment-report.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-dailyexperimentreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyexperimentreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-fact.lock.yml b/.github/workflows/daily-fact.lock.yml index 86e3f5b7ed3..c8c764691bd 100644 --- a/.github/workflows/daily-fact.lock.yml +++ b/.github/workflows/daily-fact.lock.yml @@ -172,9 +172,21 @@ jobs: key: agentic-workflow-usage-dailyfact-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyfact- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-file-diet.lock.yml b/.github/workflows/daily-file-diet.lock.yml index 4161007f2e2..e50d992d985 100644 --- a/.github/workflows/daily-file-diet.lock.yml +++ b/.github/workflows/daily-file-diet.lock.yml @@ -176,9 +176,21 @@ jobs: key: agentic-workflow-usage-dailyfilediet-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyfilediet- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-firewall-report.lock.yml b/.github/workflows/daily-firewall-report.lock.yml index 30519540d63..bd0f47dcd37 100644 --- a/.github/workflows/daily-firewall-report.lock.yml +++ b/.github/workflows/daily-firewall-report.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-dailyfirewallreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyfirewallreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-formal-spec-verifier.lock.yml b/.github/workflows/daily-formal-spec-verifier.lock.yml index 276473415b1..83a82feca08 100644 --- a/.github/workflows/daily-formal-spec-verifier.lock.yml +++ b/.github/workflows/daily-formal-spec-verifier.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-dailyformalspecverifier-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyformalspecverifier- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-function-namer.lock.yml b/.github/workflows/daily-function-namer.lock.yml index 8b9f93dff39..328edac084d 100644 --- a/.github/workflows/daily-function-namer.lock.yml +++ b/.github/workflows/daily-function-namer.lock.yml @@ -173,9 +173,21 @@ jobs: key: agentic-workflow-usage-dailyfunctionnamer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyfunctionnamer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-geo-optimizer.lock.yml b/.github/workflows/daily-geo-optimizer.lock.yml index fb9c4cda83b..026242748e2 100644 --- a/.github/workflows/daily-geo-optimizer.lock.yml +++ b/.github/workflows/daily-geo-optimizer.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-dailygeooptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailygeooptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-hippo-learn.lock.yml b/.github/workflows/daily-hippo-learn.lock.yml index e6e8535f251..06a7f736c2d 100644 --- a/.github/workflows/daily-hippo-learn.lock.yml +++ b/.github/workflows/daily-hippo-learn.lock.yml @@ -165,9 +165,21 @@ jobs: key: agentic-workflow-usage-dailyhippolearn-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyhippolearn- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-issues-report.lock.yml b/.github/workflows/daily-issues-report.lock.yml index 7845d8ca6c9..f9d31739f43 100644 --- a/.github/workflows/daily-issues-report.lock.yml +++ b/.github/workflows/daily-issues-report.lock.yml @@ -176,9 +176,21 @@ jobs: key: agentic-workflow-usage-dailyissuesreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyissuesreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-malicious-code-scan.lock.yml b/.github/workflows/daily-malicious-code-scan.lock.yml index 13e3a18d50d..1a97222fde7 100644 --- a/.github/workflows/daily-malicious-code-scan.lock.yml +++ b/.github/workflows/daily-malicious-code-scan.lock.yml @@ -166,9 +166,21 @@ jobs: key: agentic-workflow-usage-dailymaliciouscodescan-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailymaliciouscodescan- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-mcp-concurrency-analysis.lock.yml b/.github/workflows/daily-mcp-concurrency-analysis.lock.yml index f5c296c9628..de65e3fdced 100644 --- a/.github/workflows/daily-mcp-concurrency-analysis.lock.yml +++ b/.github/workflows/daily-mcp-concurrency-analysis.lock.yml @@ -170,9 +170,21 @@ jobs: key: agentic-workflow-usage-dailymcpconcurrencyanalysis-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailymcpconcurrencyanalysis- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-model-inventory.lock.yml b/.github/workflows/daily-model-inventory.lock.yml index 51a90273fe4..a6ba60e8b98 100644 --- a/.github/workflows/daily-model-inventory.lock.yml +++ b/.github/workflows/daily-model-inventory.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-dailymodelinventory-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailymodelinventory- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-multi-device-docs-tester.lock.yml b/.github/workflows/daily-multi-device-docs-tester.lock.yml index 05158eeb819..0b50ff4fdc7 100644 --- a/.github/workflows/daily-multi-device-docs-tester.lock.yml +++ b/.github/workflows/daily-multi-device-docs-tester.lock.yml @@ -171,9 +171,21 @@ jobs: key: agentic-workflow-usage-dailymultidevicedocstester-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailymultidevicedocstester- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-news.lock.yml b/.github/workflows/daily-news.lock.yml index fd61f27a98f..3c1b179f107 100644 --- a/.github/workflows/daily-news.lock.yml +++ b/.github/workflows/daily-news.lock.yml @@ -174,9 +174,21 @@ jobs: key: agentic-workflow-usage-dailynews-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailynews- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-observability-report.lock.yml b/.github/workflows/daily-observability-report.lock.yml index 4e28026fe93..912062e1aa1 100644 --- a/.github/workflows/daily-observability-report.lock.yml +++ b/.github/workflows/daily-observability-report.lock.yml @@ -173,9 +173,21 @@ jobs: key: agentic-workflow-usage-dailyobservabilityreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyobservabilityreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-performance-summary.lock.yml b/.github/workflows/daily-performance-summary.lock.yml index a16b843981f..4337b6db40f 100644 --- a/.github/workflows/daily-performance-summary.lock.yml +++ b/.github/workflows/daily-performance-summary.lock.yml @@ -172,9 +172,21 @@ jobs: key: agentic-workflow-usage-dailyperformancesummary-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyperformancesummary- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-regulatory.lock.yml b/.github/workflows/daily-regulatory.lock.yml index a0b85656beb..eddcccde4c0 100644 --- a/.github/workflows/daily-regulatory.lock.yml +++ b/.github/workflows/daily-regulatory.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-dailyregulatory-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyregulatory- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-reliability-review.lock.yml b/.github/workflows/daily-reliability-review.lock.yml index 03a34c441a7..f6c0b2c1f6a 100644 --- a/.github/workflows/daily-reliability-review.lock.yml +++ b/.github/workflows/daily-reliability-review.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-dailyreliabilityreview-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyreliabilityreview- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-rendering-scripts-verifier.lock.yml b/.github/workflows/daily-rendering-scripts-verifier.lock.yml index 3b762c02bac..89aa61d18e3 100644 --- a/.github/workflows/daily-rendering-scripts-verifier.lock.yml +++ b/.github/workflows/daily-rendering-scripts-verifier.lock.yml @@ -180,9 +180,21 @@ jobs: key: agentic-workflow-usage-dailyrenderingscriptsverifier-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyrenderingscriptsverifier- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-repo-chronicle.lock.yml b/.github/workflows/daily-repo-chronicle.lock.yml index e4db5a517b3..281a9d4e4fb 100644 --- a/.github/workflows/daily-repo-chronicle.lock.yml +++ b/.github/workflows/daily-repo-chronicle.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-dailyrepochronicle-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyrepochronicle- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-safe-output-integrator.lock.yml b/.github/workflows/daily-safe-output-integrator.lock.yml index f7c7572262a..35306178326 100644 --- a/.github/workflows/daily-safe-output-integrator.lock.yml +++ b/.github/workflows/daily-safe-output-integrator.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-dailysafeoutputintegrator-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysafeoutputintegrator- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-safe-output-optimizer.lock.yml b/.github/workflows/daily-safe-output-optimizer.lock.yml index ac812361ced..778dc4215de 100644 --- a/.github/workflows/daily-safe-output-optimizer.lock.yml +++ b/.github/workflows/daily-safe-output-optimizer.lock.yml @@ -180,9 +180,21 @@ jobs: key: agentic-workflow-usage-dailysafeoutputoptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysafeoutputoptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-safe-outputs-conformance.lock.yml b/.github/workflows/daily-safe-outputs-conformance.lock.yml index 2fdcf140b22..0bdc0f9e5fb 100644 --- a/.github/workflows/daily-safe-outputs-conformance.lock.yml +++ b/.github/workflows/daily-safe-outputs-conformance.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-dailysafeoutputsconformance-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysafeoutputsconformance- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-safeoutputs-git-simulator.lock.yml b/.github/workflows/daily-safeoutputs-git-simulator.lock.yml index 73a54d5b636..869b63ae696 100644 --- a/.github/workflows/daily-safeoutputs-git-simulator.lock.yml +++ b/.github/workflows/daily-safeoutputs-git-simulator.lock.yml @@ -148,9 +148,21 @@ jobs: key: agentic-workflow-usage-dailysafeoutputsgitsimulator-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysafeoutputsgitsimulator- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-secrets-analysis.lock.yml b/.github/workflows/daily-secrets-analysis.lock.yml index 14aa95b9025..a0718c481f9 100644 --- a/.github/workflows/daily-secrets-analysis.lock.yml +++ b/.github/workflows/daily-secrets-analysis.lock.yml @@ -166,9 +166,21 @@ jobs: key: agentic-workflow-usage-dailysecretsanalysis-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysecretsanalysis- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-security-observability.lock.yml b/.github/workflows/daily-security-observability.lock.yml index 09eb5137966..90fcd1f788f 100644 --- a/.github/workflows/daily-security-observability.lock.yml +++ b/.github/workflows/daily-security-observability.lock.yml @@ -180,9 +180,21 @@ jobs: key: agentic-workflow-usage-dailysecurityobservability-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysecurityobservability- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-security-red-team.lock.yml b/.github/workflows/daily-security-red-team.lock.yml index 71eb60a70d7..b43fc297645 100644 --- a/.github/workflows/daily-security-red-team.lock.yml +++ b/.github/workflows/daily-security-red-team.lock.yml @@ -171,9 +171,21 @@ jobs: key: agentic-workflow-usage-dailysecurityredteam-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysecurityredteam- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-semgrep-scan.lock.yml b/.github/workflows/daily-semgrep-scan.lock.yml index 81a71439aae..f2464cd698d 100644 --- a/.github/workflows/daily-semgrep-scan.lock.yml +++ b/.github/workflows/daily-semgrep-scan.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-dailysemgrepscan-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysemgrepscan- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-sentrux-report.lock.yml b/.github/workflows/daily-sentrux-report.lock.yml index 8e2886e6325..2b9b980fdb0 100644 --- a/.github/workflows/daily-sentrux-report.lock.yml +++ b/.github/workflows/daily-sentrux-report.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-dailysentruxreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysentruxreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-skill-optimizer.lock.yml b/.github/workflows/daily-skill-optimizer.lock.yml index a17787a116e..5d566a65b5b 100644 --- a/.github/workflows/daily-skill-optimizer.lock.yml +++ b/.github/workflows/daily-skill-optimizer.lock.yml @@ -165,9 +165,21 @@ jobs: key: agentic-workflow-usage-dailyskilloptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyskilloptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-spdd-spec-planner.lock.yml b/.github/workflows/daily-spdd-spec-planner.lock.yml index 0af619cb37d..318dc1ae4a5 100644 --- a/.github/workflows/daily-spdd-spec-planner.lock.yml +++ b/.github/workflows/daily-spdd-spec-planner.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-dailyspddspecplanner-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyspddspecplanner- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-syntax-error-quality.lock.yml b/.github/workflows/daily-syntax-error-quality.lock.yml index 09423910625..498ab72788c 100644 --- a/.github/workflows/daily-syntax-error-quality.lock.yml +++ b/.github/workflows/daily-syntax-error-quality.lock.yml @@ -163,9 +163,21 @@ jobs: key: agentic-workflow-usage-dailysyntaxerrorquality-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysyntaxerrorquality- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-team-evolution-insights.lock.yml b/.github/workflows/daily-team-evolution-insights.lock.yml index d532d81af17..3e38ba94127 100644 --- a/.github/workflows/daily-team-evolution-insights.lock.yml +++ b/.github/workflows/daily-team-evolution-insights.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-dailyteamevolutioninsights-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyteamevolutioninsights- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-team-status.lock.yml b/.github/workflows/daily-team-status.lock.yml index 62bd0c86f21..585fec33e46 100644 --- a/.github/workflows/daily-team-status.lock.yml +++ b/.github/workflows/daily-team-status.lock.yml @@ -153,9 +153,21 @@ jobs: key: agentic-workflow-usage-dailyteamstatus-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyteamstatus- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-testify-uber-super-expert.lock.yml b/.github/workflows/daily-testify-uber-super-expert.lock.yml index 0a5cb52dda8..887e6433818 100644 --- a/.github/workflows/daily-testify-uber-super-expert.lock.yml +++ b/.github/workflows/daily-testify-uber-super-expert.lock.yml @@ -176,9 +176,21 @@ jobs: key: agentic-workflow-usage-dailytestifyubersuperexpert-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailytestifyubersuperexpert- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-token-consumption-report.lock.yml b/.github/workflows/daily-token-consumption-report.lock.yml index d949be1b476..b3819f87a62 100644 --- a/.github/workflows/daily-token-consumption-report.lock.yml +++ b/.github/workflows/daily-token-consumption-report.lock.yml @@ -175,9 +175,21 @@ jobs: key: agentic-workflow-usage-dailytokenconsumptionreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailytokenconsumptionreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-windows-terminal-integration-builder.lock.yml b/.github/workflows/daily-windows-terminal-integration-builder.lock.yml index 8f4624004fb..4e3e352acae 100644 --- a/.github/workflows/daily-windows-terminal-integration-builder.lock.yml +++ b/.github/workflows/daily-windows-terminal-integration-builder.lock.yml @@ -147,9 +147,21 @@ jobs: key: agentic-workflow-usage-dailywindowsterminalintegrationbuilder-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailywindowsterminalintegrationbuilder- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-workflow-updater.lock.yml b/.github/workflows/daily-workflow-updater.lock.yml index 57775c073fc..3bcb4151f34 100644 --- a/.github/workflows/daily-workflow-updater.lock.yml +++ b/.github/workflows/daily-workflow-updater.lock.yml @@ -164,9 +164,21 @@ jobs: key: agentic-workflow-usage-dailyworkflowupdater-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyworkflowupdater- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dataflow-pr-discussion-dataset.lock.yml b/.github/workflows/dataflow-pr-discussion-dataset.lock.yml index 7dde682363f..4dd842ff783 100644 --- a/.github/workflows/dataflow-pr-discussion-dataset.lock.yml +++ b/.github/workflows/dataflow-pr-discussion-dataset.lock.yml @@ -171,9 +171,21 @@ jobs: key: agentic-workflow-usage-dataflowprdiscussiondataset-${{ github.run_id }} restore-keys: agentic-workflow-usage-dataflowprdiscussiondataset- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dead-code-remover.lock.yml b/.github/workflows/dead-code-remover.lock.yml index 62c8dea4718..7907002449f 100644 --- a/.github/workflows/dead-code-remover.lock.yml +++ b/.github/workflows/dead-code-remover.lock.yml @@ -173,9 +173,21 @@ jobs: key: agentic-workflow-usage-deadcoderemover-${{ github.run_id }} restore-keys: agentic-workflow-usage-deadcoderemover- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/deep-report.lock.yml b/.github/workflows/deep-report.lock.yml index 020453aa2e0..c035e703698 100644 --- a/.github/workflows/deep-report.lock.yml +++ b/.github/workflows/deep-report.lock.yml @@ -177,9 +177,21 @@ jobs: key: agentic-workflow-usage-deepreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-deepreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/delight.lock.yml b/.github/workflows/delight.lock.yml index 16a2c3d7346..73c78abfde0 100644 --- a/.github/workflows/delight.lock.yml +++ b/.github/workflows/delight.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-delight-${{ github.run_id }} restore-keys: agentic-workflow-usage-delight- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dependabot-burner.lock.yml b/.github/workflows/dependabot-burner.lock.yml index f8ab3710b17..d0003666ba3 100644 --- a/.github/workflows/dependabot-burner.lock.yml +++ b/.github/workflows/dependabot-burner.lock.yml @@ -164,9 +164,21 @@ jobs: key: agentic-workflow-usage-dependabotburner-${{ github.run_id }} restore-keys: agentic-workflow-usage-dependabotburner- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dependabot-campaign.lock.yml b/.github/workflows/dependabot-campaign.lock.yml index b5548fd15df..5955b2a15f5 100644 --- a/.github/workflows/dependabot-campaign.lock.yml +++ b/.github/workflows/dependabot-campaign.lock.yml @@ -174,9 +174,21 @@ jobs: key: agentic-workflow-usage-dependabotcampaign-${{ github.run_id }} restore-keys: agentic-workflow-usage-dependabotcampaign- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dependabot-go-checker.lock.yml b/.github/workflows/dependabot-go-checker.lock.yml index 5c2874e06b1..d65c3bfdf39 100644 --- a/.github/workflows/dependabot-go-checker.lock.yml +++ b/.github/workflows/dependabot-go-checker.lock.yml @@ -166,9 +166,21 @@ jobs: key: agentic-workflow-usage-dependabotgochecker-${{ github.run_id }} restore-keys: agentic-workflow-usage-dependabotgochecker- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dependabot-repair.lock.yml b/.github/workflows/dependabot-repair.lock.yml index ced5aa287b7..457696d7f3e 100644 --- a/.github/workflows/dependabot-repair.lock.yml +++ b/.github/workflows/dependabot-repair.lock.yml @@ -175,9 +175,21 @@ jobs: key: agentic-workflow-usage-dependabotrepair-${{ github.run_id }} restore-keys: agentic-workflow-usage-dependabotrepair- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dependabot-worker.lock.yml b/.github/workflows/dependabot-worker.lock.yml index e8d3af23b50..bb570d65889 100644 --- a/.github/workflows/dependabot-worker.lock.yml +++ b/.github/workflows/dependabot-worker.lock.yml @@ -258,9 +258,21 @@ jobs: key: agentic-workflow-usage-dependabotworker-${{ github.run_id }} restore-keys: agentic-workflow-usage-dependabotworker- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/deployment-incident-monitor.lock.yml b/.github/workflows/deployment-incident-monitor.lock.yml index 0a87e9c1336..7aa0f18b4f7 100644 --- a/.github/workflows/deployment-incident-monitor.lock.yml +++ b/.github/workflows/deployment-incident-monitor.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-deploymentincidentmonitor-${{ github.run_id }} restore-keys: agentic-workflow-usage-deploymentincidentmonitor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/design-decision-gate.lock.yml b/.github/workflows/design-decision-gate.lock.yml index 35b8cf0a123..031233f4ee8 100644 --- a/.github/workflows/design-decision-gate.lock.yml +++ b/.github/workflows/design-decision-gate.lock.yml @@ -187,9 +187,21 @@ jobs: key: agentic-workflow-usage-designdecisiongate-${{ github.run_id }} restore-keys: agentic-workflow-usage-designdecisiongate- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/designer-drift-audit.lock.yml b/.github/workflows/designer-drift-audit.lock.yml index 1704c4e934c..3001dd8abc5 100644 --- a/.github/workflows/designer-drift-audit.lock.yml +++ b/.github/workflows/designer-drift-audit.lock.yml @@ -147,9 +147,21 @@ jobs: key: agentic-workflow-usage-designerdriftaudit-${{ github.run_id }} restore-keys: agentic-workflow-usage-designerdriftaudit- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dev-hawk.lock.yml b/.github/workflows/dev-hawk.lock.yml index 9c7b343a82e..2197881d568 100644 --- a/.github/workflows/dev-hawk.lock.yml +++ b/.github/workflows/dev-hawk.lock.yml @@ -174,9 +174,21 @@ jobs: key: agentic-workflow-usage-devhawk-${{ github.run_id }} restore-keys: agentic-workflow-usage-devhawk- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dev.lock.yml b/.github/workflows/dev.lock.yml index 70682b27311..3094f6665fd 100644 --- a/.github/workflows/dev.lock.yml +++ b/.github/workflows/dev.lock.yml @@ -184,9 +184,21 @@ jobs: key: agentic-workflow-usage-dev-${{ github.run_id }} restore-keys: agentic-workflow-usage-dev- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/developer-docs-consolidator.lock.yml b/.github/workflows/developer-docs-consolidator.lock.yml index 386361c4d1e..9170a8d6c82 100644 --- a/.github/workflows/developer-docs-consolidator.lock.yml +++ b/.github/workflows/developer-docs-consolidator.lock.yml @@ -172,9 +172,21 @@ jobs: key: agentic-workflow-usage-developerdocsconsolidator-${{ github.run_id }} restore-keys: agentic-workflow-usage-developerdocsconsolidator- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dictation-prompt.lock.yml b/.github/workflows/dictation-prompt.lock.yml index db53c955987..c8bc758c2da 100644 --- a/.github/workflows/dictation-prompt.lock.yml +++ b/.github/workflows/dictation-prompt.lock.yml @@ -165,9 +165,21 @@ jobs: key: agentic-workflow-usage-dictationprompt-${{ github.run_id }} restore-keys: agentic-workflow-usage-dictationprompt- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/discussion-task-miner.lock.yml b/.github/workflows/discussion-task-miner.lock.yml index c2c4617f392..45c47ad34f8 100644 --- a/.github/workflows/discussion-task-miner.lock.yml +++ b/.github/workflows/discussion-task-miner.lock.yml @@ -166,9 +166,21 @@ jobs: key: agentic-workflow-usage-discussiontaskminer-${{ github.run_id }} restore-keys: agentic-workflow-usage-discussiontaskminer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/docs-noob-tester.lock.yml b/.github/workflows/docs-noob-tester.lock.yml index 42440d958ec..1437dca2cf4 100644 --- a/.github/workflows/docs-noob-tester.lock.yml +++ b/.github/workflows/docs-noob-tester.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-docsnoobtester-${{ github.run_id }} restore-keys: agentic-workflow-usage-docsnoobtester- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/draft-pr-cleanup.lock.yml b/.github/workflows/draft-pr-cleanup.lock.yml index c48024d7824..43dc9823101 100644 --- a/.github/workflows/draft-pr-cleanup.lock.yml +++ b/.github/workflows/draft-pr-cleanup.lock.yml @@ -163,9 +163,21 @@ jobs: key: agentic-workflow-usage-draftprcleanup-${{ github.run_id }} restore-keys: agentic-workflow-usage-draftprcleanup- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/duplicate-code-detector.lock.yml b/.github/workflows/duplicate-code-detector.lock.yml index 65248e13040..83661470d0c 100644 --- a/.github/workflows/duplicate-code-detector.lock.yml +++ b/.github/workflows/duplicate-code-detector.lock.yml @@ -171,9 +171,21 @@ jobs: key: agentic-workflow-usage-duplicatecodedetector-${{ github.run_id }} restore-keys: agentic-workflow-usage-duplicatecodedetector- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/example-permissions-warning.lock.yml b/.github/workflows/example-permissions-warning.lock.yml index 1d072443265..647686569df 100644 --- a/.github/workflows/example-permissions-warning.lock.yml +++ b/.github/workflows/example-permissions-warning.lock.yml @@ -160,9 +160,21 @@ jobs: key: agentic-workflow-usage-examplepermissionswarning-${{ github.run_id }} restore-keys: agentic-workflow-usage-examplepermissionswarning- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/example-workflow-analyzer.lock.yml b/.github/workflows/example-workflow-analyzer.lock.yml index 1bfbd810806..0be627a00fa 100644 --- a/.github/workflows/example-workflow-analyzer.lock.yml +++ b/.github/workflows/example-workflow-analyzer.lock.yml @@ -172,9 +172,21 @@ jobs: key: agentic-workflow-usage-exampleworkflowanalyzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-exampleworkflowanalyzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/firewall-escape.lock.yml b/.github/workflows/firewall-escape.lock.yml index 849395349d5..595e0617090 100644 --- a/.github/workflows/firewall-escape.lock.yml +++ b/.github/workflows/firewall-escape.lock.yml @@ -178,9 +178,21 @@ jobs: key: agentic-workflow-usage-firewallescape-${{ github.run_id }} restore-keys: agentic-workflow-usage-firewallescape- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/firewall.lock.yml b/.github/workflows/firewall.lock.yml index f0bb4e6ff14..cf960d89994 100644 --- a/.github/workflows/firewall.lock.yml +++ b/.github/workflows/firewall.lock.yml @@ -160,9 +160,21 @@ jobs: key: agentic-workflow-usage-firewall-${{ github.run_id }} restore-keys: agentic-workflow-usage-firewall- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/functional-pragmatist.lock.yml b/.github/workflows/functional-pragmatist.lock.yml index 1d2b541fbb3..a42e829cebf 100644 --- a/.github/workflows/functional-pragmatist.lock.yml +++ b/.github/workflows/functional-pragmatist.lock.yml @@ -165,9 +165,21 @@ jobs: key: agentic-workflow-usage-functionalpragmatist-${{ github.run_id }} restore-keys: agentic-workflow-usage-functionalpragmatist- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/github-mcp-structural-analysis.lock.yml b/.github/workflows/github-mcp-structural-analysis.lock.yml index 7354c9b9e17..e4a69347989 100644 --- a/.github/workflows/github-mcp-structural-analysis.lock.yml +++ b/.github/workflows/github-mcp-structural-analysis.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-githubmcpstructuralanalysis-${{ github.run_id }} restore-keys: agentic-workflow-usage-githubmcpstructuralanalysis- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/github-mcp-tools-report.lock.yml b/.github/workflows/github-mcp-tools-report.lock.yml index 79241c54ff5..b44b58266b0 100644 --- a/.github/workflows/github-mcp-tools-report.lock.yml +++ b/.github/workflows/github-mcp-tools-report.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-githubmcptoolsreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-githubmcptoolsreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/github-remote-mcp-auth-test.lock.yml b/.github/workflows/github-remote-mcp-auth-test.lock.yml index b4b4d761a5c..1b467aee456 100644 --- a/.github/workflows/github-remote-mcp-auth-test.lock.yml +++ b/.github/workflows/github-remote-mcp-auth-test.lock.yml @@ -166,9 +166,21 @@ jobs: key: agentic-workflow-usage-githubremotemcpauthtest-${{ github.run_id }} restore-keys: agentic-workflow-usage-githubremotemcpauthtest- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/glossary-maintainer.lock.yml b/.github/workflows/glossary-maintainer.lock.yml index 14e285223bf..77d04aeb59d 100644 --- a/.github/workflows/glossary-maintainer.lock.yml +++ b/.github/workflows/glossary-maintainer.lock.yml @@ -171,9 +171,21 @@ jobs: key: agentic-workflow-usage-glossarymaintainer-${{ github.run_id }} restore-keys: agentic-workflow-usage-glossarymaintainer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/go-fan.lock.yml b/.github/workflows/go-fan.lock.yml index 8596c975f33..537b604e291 100644 --- a/.github/workflows/go-fan.lock.yml +++ b/.github/workflows/go-fan.lock.yml @@ -172,9 +172,21 @@ jobs: key: agentic-workflow-usage-gofan-${{ github.run_id }} restore-keys: agentic-workflow-usage-gofan- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/go-logger.lock.yml b/.github/workflows/go-logger.lock.yml index 1e7d4a154b0..8f24b18526d 100644 --- a/.github/workflows/go-logger.lock.yml +++ b/.github/workflows/go-logger.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-gologger-${{ github.run_id }} restore-keys: agentic-workflow-usage-gologger- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/go-pattern-detector.lock.yml b/.github/workflows/go-pattern-detector.lock.yml index c06ce4d9c60..971db5eaa2e 100644 --- a/.github/workflows/go-pattern-detector.lock.yml +++ b/.github/workflows/go-pattern-detector.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-gopatterndetector-${{ github.run_id }} restore-keys: agentic-workflow-usage-gopatterndetector- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/gpclean.lock.yml b/.github/workflows/gpclean.lock.yml index b275a902169..d1597e97a24 100644 --- a/.github/workflows/gpclean.lock.yml +++ b/.github/workflows/gpclean.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-gpclean-${{ github.run_id }} restore-keys: agentic-workflow-usage-gpclean- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/grumpy-reviewer.lock.yml b/.github/workflows/grumpy-reviewer.lock.yml index 94f4bf2d4f3..4004c209f82 100644 --- a/.github/workflows/grumpy-reviewer.lock.yml +++ b/.github/workflows/grumpy-reviewer.lock.yml @@ -175,9 +175,21 @@ jobs: key: agentic-workflow-usage-grumpyreviewer-${{ github.run_id }} restore-keys: agentic-workflow-usage-grumpyreviewer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/hippo-embed.lock.yml b/.github/workflows/hippo-embed.lock.yml index 6da111e1a6a..664dbaf58a3 100644 --- a/.github/workflows/hippo-embed.lock.yml +++ b/.github/workflows/hippo-embed.lock.yml @@ -163,9 +163,21 @@ jobs: key: agentic-workflow-usage-hippoembed-${{ github.run_id }} restore-keys: agentic-workflow-usage-hippoembed- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/hourly-ci-cleaner.lock.yml b/.github/workflows/hourly-ci-cleaner.lock.yml index 00e7d08cf52..0ca15f7811a 100644 --- a/.github/workflows/hourly-ci-cleaner.lock.yml +++ b/.github/workflows/hourly-ci-cleaner.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-hourlycicleaner-${{ github.run_id }} restore-keys: agentic-workflow-usage-hourlycicleaner- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/instructions-janitor.lock.yml b/.github/workflows/instructions-janitor.lock.yml index 69ba7409254..6433373a839 100644 --- a/.github/workflows/instructions-janitor.lock.yml +++ b/.github/workflows/instructions-janitor.lock.yml @@ -166,9 +166,21 @@ jobs: key: agentic-workflow-usage-instructionsjanitor-${{ github.run_id }} restore-keys: agentic-workflow-usage-instructionsjanitor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/issue-arborist.lock.yml b/.github/workflows/issue-arborist.lock.yml index 9e50880d0de..2a927587e30 100644 --- a/.github/workflows/issue-arborist.lock.yml +++ b/.github/workflows/issue-arborist.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-issuearborist-${{ github.run_id }} restore-keys: agentic-workflow-usage-issuearborist- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/issue-monster.lock.yml b/.github/workflows/issue-monster.lock.yml index cd44f51511b..a5f31b56c47 100644 --- a/.github/workflows/issue-monster.lock.yml +++ b/.github/workflows/issue-monster.lock.yml @@ -554,9 +554,21 @@ jobs: key: agentic-workflow-usage-issuemonster-${{ github.run_id }} restore-keys: agentic-workflow-usage-issuemonster- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/issue-triage-agent.lock.yml b/.github/workflows/issue-triage-agent.lock.yml index 47feeede8c1..ede07a1fc31 100644 --- a/.github/workflows/issue-triage-agent.lock.yml +++ b/.github/workflows/issue-triage-agent.lock.yml @@ -164,9 +164,21 @@ jobs: key: agentic-workflow-usage-issuetriageagent-${{ github.run_id }} restore-keys: agentic-workflow-usage-issuetriageagent- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/jsweep.lock.yml b/.github/workflows/jsweep.lock.yml index c5f0695ff73..89eea81b79f 100644 --- a/.github/workflows/jsweep.lock.yml +++ b/.github/workflows/jsweep.lock.yml @@ -166,9 +166,21 @@ jobs: key: agentic-workflow-usage-jsweep-${{ github.run_id }} restore-keys: agentic-workflow-usage-jsweep- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/layout-spec-maintainer.lock.yml b/.github/workflows/layout-spec-maintainer.lock.yml index 64e271d90f1..24c3a7646c7 100644 --- a/.github/workflows/layout-spec-maintainer.lock.yml +++ b/.github/workflows/layout-spec-maintainer.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-layoutspecmaintainer-${{ github.run_id }} restore-keys: agentic-workflow-usage-layoutspecmaintainer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/lint-monster.lock.yml b/.github/workflows/lint-monster.lock.yml index 54b5aac1b48..e7de2fc4650 100644 --- a/.github/workflows/lint-monster.lock.yml +++ b/.github/workflows/lint-monster.lock.yml @@ -166,9 +166,21 @@ jobs: key: agentic-workflow-usage-lintmonster-${{ github.run_id }} restore-keys: agentic-workflow-usage-lintmonster- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/linter-miner.lock.yml b/.github/workflows/linter-miner.lock.yml index 2ab3421c3ca..d73f342d0cb 100644 --- a/.github/workflows/linter-miner.lock.yml +++ b/.github/workflows/linter-miner.lock.yml @@ -166,9 +166,21 @@ jobs: key: agentic-workflow-usage-linterminer-${{ github.run_id }} restore-keys: agentic-workflow-usage-linterminer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/lockfile-stats.lock.yml b/.github/workflows/lockfile-stats.lock.yml index f1bea93f28a..3d583462659 100644 --- a/.github/workflows/lockfile-stats.lock.yml +++ b/.github/workflows/lockfile-stats.lock.yml @@ -167,9 +167,21 @@ jobs: key: agentic-workflow-usage-lockfilestats-${{ github.run_id }} restore-keys: agentic-workflow-usage-lockfilestats- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/mattpocock-skills-reviewer.lock.yml b/.github/workflows/mattpocock-skills-reviewer.lock.yml index e2e77e90b4c..e55fbac1127 100644 --- a/.github/workflows/mattpocock-skills-reviewer.lock.yml +++ b/.github/workflows/mattpocock-skills-reviewer.lock.yml @@ -176,9 +176,21 @@ jobs: key: agentic-workflow-usage-mattpocockskillsreviewer-${{ github.run_id }} restore-keys: agentic-workflow-usage-mattpocockskillsreviewer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/mcp-inspector.lock.yml b/.github/workflows/mcp-inspector.lock.yml index d62d6ab056a..c73adc9e092 100644 --- a/.github/workflows/mcp-inspector.lock.yml +++ b/.github/workflows/mcp-inspector.lock.yml @@ -212,9 +212,21 @@ jobs: key: agentic-workflow-usage-mcpinspector-${{ github.run_id }} restore-keys: agentic-workflow-usage-mcpinspector- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/mergefest.lock.yml b/.github/workflows/mergefest.lock.yml index 59598812a33..53a9b3c66f6 100644 --- a/.github/workflows/mergefest.lock.yml +++ b/.github/workflows/mergefest.lock.yml @@ -174,9 +174,21 @@ jobs: key: agentic-workflow-usage-mergefest-${{ github.run_id }} restore-keys: agentic-workflow-usage-mergefest- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/metrics-collector.lock.yml b/.github/workflows/metrics-collector.lock.yml index 86ff2f0c250..06310f07715 100644 --- a/.github/workflows/metrics-collector.lock.yml +++ b/.github/workflows/metrics-collector.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-metricscollector-${{ github.run_id }} restore-keys: agentic-workflow-usage-metricscollector- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/necromancer.lock.yml b/.github/workflows/necromancer.lock.yml index dd157521f75..3c005ad1f0e 100644 --- a/.github/workflows/necromancer.lock.yml +++ b/.github/workflows/necromancer.lock.yml @@ -182,9 +182,21 @@ jobs: key: agentic-workflow-usage-necromancer-${{ github.run_id }} restore-keys: agentic-workflow-usage-necromancer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/notion-issue-summary.lock.yml b/.github/workflows/notion-issue-summary.lock.yml index 4ab4b8a318e..976ed439f6d 100644 --- a/.github/workflows/notion-issue-summary.lock.yml +++ b/.github/workflows/notion-issue-summary.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-notionissuesummary-${{ github.run_id }} restore-keys: agentic-workflow-usage-notionissuesummary- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/objective-impact-report.lock.yml b/.github/workflows/objective-impact-report.lock.yml index f5188026bc6..f4021b046b6 100644 --- a/.github/workflows/objective-impact-report.lock.yml +++ b/.github/workflows/objective-impact-report.lock.yml @@ -143,9 +143,21 @@ jobs: key: agentic-workflow-usage-objectiveimpactreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-objectiveimpactreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/org-health-report.lock.yml b/.github/workflows/org-health-report.lock.yml index 89c7efc4788..3282fa00028 100644 --- a/.github/workflows/org-health-report.lock.yml +++ b/.github/workflows/org-health-report.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-orghealthreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-orghealthreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/outcome-collector.lock.yml b/.github/workflows/outcome-collector.lock.yml index 93b7c04dc1a..327fa558add 100644 --- a/.github/workflows/outcome-collector.lock.yml +++ b/.github/workflows/outcome-collector.lock.yml @@ -165,9 +165,21 @@ jobs: key: agentic-workflow-usage-outcomecollector-${{ github.run_id }} restore-keys: agentic-workflow-usage-outcomecollector- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/pdf-summary.lock.yml b/.github/workflows/pdf-summary.lock.yml index 4ff53efbb8a..18a3b7278a9 100644 --- a/.github/workflows/pdf-summary.lock.yml +++ b/.github/workflows/pdf-summary.lock.yml @@ -184,9 +184,21 @@ jobs: key: agentic-workflow-usage-pdfsummary-${{ github.run_id }} restore-keys: agentic-workflow-usage-pdfsummary- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/plan.lock.yml b/.github/workflows/plan.lock.yml index 7af029a86fb..a00769b481a 100644 --- a/.github/workflows/plan.lock.yml +++ b/.github/workflows/plan.lock.yml @@ -173,9 +173,21 @@ jobs: key: agentic-workflow-usage-plan-${{ github.run_id }} restore-keys: agentic-workflow-usage-plan- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/poem-bot.lock.yml b/.github/workflows/poem-bot.lock.yml index c95c0e11042..59fb70ba048 100644 --- a/.github/workflows/poem-bot.lock.yml +++ b/.github/workflows/poem-bot.lock.yml @@ -181,9 +181,21 @@ jobs: key: agentic-workflow-usage-poembot-${{ github.run_id }} restore-keys: agentic-workflow-usage-poembot- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/pr-code-quality-reviewer.lock.yml b/.github/workflows/pr-code-quality-reviewer.lock.yml index ce1102cbb45..3852681b40e 100644 --- a/.github/workflows/pr-code-quality-reviewer.lock.yml +++ b/.github/workflows/pr-code-quality-reviewer.lock.yml @@ -177,9 +177,21 @@ jobs: key: agentic-workflow-usage-prcodequalityreviewer-${{ github.run_id }} restore-keys: agentic-workflow-usage-prcodequalityreviewer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/pr-description-caveman.lock.yml b/.github/workflows/pr-description-caveman.lock.yml index 05520026fcb..d0245e91391 100644 --- a/.github/workflows/pr-description-caveman.lock.yml +++ b/.github/workflows/pr-description-caveman.lock.yml @@ -149,9 +149,21 @@ jobs: key: agentic-workflow-usage-prdescriptioncaveman-${{ github.run_id }} restore-keys: agentic-workflow-usage-prdescriptioncaveman- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/pr-nitpick-reviewer.lock.yml b/.github/workflows/pr-nitpick-reviewer.lock.yml index f70c1081573..5dc6f559ed2 100644 --- a/.github/workflows/pr-nitpick-reviewer.lock.yml +++ b/.github/workflows/pr-nitpick-reviewer.lock.yml @@ -175,9 +175,21 @@ jobs: key: agentic-workflow-usage-prnitpickreviewer-${{ github.run_id }} restore-keys: agentic-workflow-usage-prnitpickreviewer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/pr-sous-chef.lock.yml b/.github/workflows/pr-sous-chef.lock.yml index 0e8671c5ae7..64da341287e 100644 --- a/.github/workflows/pr-sous-chef.lock.yml +++ b/.github/workflows/pr-sous-chef.lock.yml @@ -170,9 +170,21 @@ jobs: key: agentic-workflow-usage-prsouschef-${{ github.run_id }} restore-keys: agentic-workflow-usage-prsouschef- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/pr-triage-agent.lock.yml b/.github/workflows/pr-triage-agent.lock.yml index b38bc0e8013..57e3517cedf 100644 --- a/.github/workflows/pr-triage-agent.lock.yml +++ b/.github/workflows/pr-triage-agent.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-prtriageagent-${{ github.run_id }} restore-keys: agentic-workflow-usage-prtriageagent- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/prompt-clustering-analysis.lock.yml b/.github/workflows/prompt-clustering-analysis.lock.yml index 77418a500c0..fe16e624683 100644 --- a/.github/workflows/prompt-clustering-analysis.lock.yml +++ b/.github/workflows/prompt-clustering-analysis.lock.yml @@ -181,9 +181,21 @@ jobs: key: agentic-workflow-usage-promptclusteringanalysis-${{ github.run_id }} restore-keys: agentic-workflow-usage-promptclusteringanalysis- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/python-data-charts.lock.yml b/.github/workflows/python-data-charts.lock.yml index 73611648e54..2eecbe04783 100644 --- a/.github/workflows/python-data-charts.lock.yml +++ b/.github/workflows/python-data-charts.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-pythondatacharts-${{ github.run_id }} restore-keys: agentic-workflow-usage-pythondatacharts- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/q.lock.yml b/.github/workflows/q.lock.yml index a771466ef4f..348ef20419a 100644 --- a/.github/workflows/q.lock.yml +++ b/.github/workflows/q.lock.yml @@ -200,9 +200,21 @@ jobs: key: agentic-workflow-usage-q-${{ github.run_id }} restore-keys: agentic-workflow-usage-q- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/refactoring-cadence.lock.yml b/.github/workflows/refactoring-cadence.lock.yml index 0e3a32d6029..3072e66559c 100644 --- a/.github/workflows/refactoring-cadence.lock.yml +++ b/.github/workflows/refactoring-cadence.lock.yml @@ -171,9 +171,21 @@ jobs: key: agentic-workflow-usage-refactoringcadence-${{ github.run_id }} restore-keys: agentic-workflow-usage-refactoringcadence- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/refiner.lock.yml b/.github/workflows/refiner.lock.yml index ea9bf59c5c8..f1c0528990c 100644 --- a/.github/workflows/refiner.lock.yml +++ b/.github/workflows/refiner.lock.yml @@ -185,9 +185,21 @@ jobs: key: agentic-workflow-usage-refiner-${{ github.run_id }} restore-keys: agentic-workflow-usage-refiner- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/release.lock.yml b/.github/workflows/release.lock.yml index dd14f9c1cf5..6cdcf0f9650 100644 --- a/.github/workflows/release.lock.yml +++ b/.github/workflows/release.lock.yml @@ -183,9 +183,21 @@ jobs: key: agentic-workflow-usage-release-${{ github.run_id }} restore-keys: agentic-workflow-usage-release- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/repo-audit-analyzer.lock.yml b/.github/workflows/repo-audit-analyzer.lock.yml index d45d8d5b074..6361d17e9b5 100644 --- a/.github/workflows/repo-audit-analyzer.lock.yml +++ b/.github/workflows/repo-audit-analyzer.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-repoauditanalyzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-repoauditanalyzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/repo-tree-map.lock.yml b/.github/workflows/repo-tree-map.lock.yml index 82a23b28927..606fb301881 100644 --- a/.github/workflows/repo-tree-map.lock.yml +++ b/.github/workflows/repo-tree-map.lock.yml @@ -165,9 +165,21 @@ jobs: key: agentic-workflow-usage-repotreemap-${{ github.run_id }} restore-keys: agentic-workflow-usage-repotreemap- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/repository-quality-improver.lock.yml b/.github/workflows/repository-quality-improver.lock.yml index 54ed3427722..f3424b06b18 100644 --- a/.github/workflows/repository-quality-improver.lock.yml +++ b/.github/workflows/repository-quality-improver.lock.yml @@ -174,9 +174,21 @@ jobs: key: agentic-workflow-usage-repositoryqualityimprover-${{ github.run_id }} restore-keys: agentic-workflow-usage-repositoryqualityimprover- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/research.lock.yml b/.github/workflows/research.lock.yml index 0db18d5ff4f..34fcc877e5f 100644 --- a/.github/workflows/research.lock.yml +++ b/.github/workflows/research.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-research-${{ github.run_id }} restore-keys: agentic-workflow-usage-research- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/ruflo-backed-task.lock.yml b/.github/workflows/ruflo-backed-task.lock.yml index bb86e02a556..447f9d8d01b 100644 --- a/.github/workflows/ruflo-backed-task.lock.yml +++ b/.github/workflows/ruflo-backed-task.lock.yml @@ -160,9 +160,21 @@ jobs: key: agentic-workflow-usage-ruflobackedtask-${{ github.run_id }} restore-keys: agentic-workflow-usage-ruflobackedtask- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/safe-output-health.lock.yml b/.github/workflows/safe-output-health.lock.yml index 3355c90aeec..55ea224494d 100644 --- a/.github/workflows/safe-output-health.lock.yml +++ b/.github/workflows/safe-output-health.lock.yml @@ -172,9 +172,21 @@ jobs: key: agentic-workflow-usage-safeoutputhealth-${{ github.run_id }} restore-keys: agentic-workflow-usage-safeoutputhealth- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/schema-consistency-checker.lock.yml b/.github/workflows/schema-consistency-checker.lock.yml index b5deb5be106..39975d6c50e 100644 --- a/.github/workflows/schema-consistency-checker.lock.yml +++ b/.github/workflows/schema-consistency-checker.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-schemaconsistencychecker-${{ github.run_id }} restore-keys: agentic-workflow-usage-schemaconsistencychecker- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/schema-feature-coverage.lock.yml b/.github/workflows/schema-feature-coverage.lock.yml index 104a12ac24f..13581bd9e24 100644 --- a/.github/workflows/schema-feature-coverage.lock.yml +++ b/.github/workflows/schema-feature-coverage.lock.yml @@ -165,9 +165,21 @@ jobs: key: agentic-workflow-usage-schemafeaturecoverage-${{ github.run_id }} restore-keys: agentic-workflow-usage-schemafeaturecoverage- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/scout.lock.yml b/.github/workflows/scout.lock.yml index 5cbbc155c30..e897b42ad45 100644 --- a/.github/workflows/scout.lock.yml +++ b/.github/workflows/scout.lock.yml @@ -197,9 +197,21 @@ jobs: key: agentic-workflow-usage-scout-${{ github.run_id }} restore-keys: agentic-workflow-usage-scout- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/security-compliance.lock.yml b/.github/workflows/security-compliance.lock.yml index 4d6a94a7be4..864ba831664 100644 --- a/.github/workflows/security-compliance.lock.yml +++ b/.github/workflows/security-compliance.lock.yml @@ -173,9 +173,21 @@ jobs: key: agentic-workflow-usage-securitycompliance-${{ github.run_id }} restore-keys: agentic-workflow-usage-securitycompliance- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/security-review.lock.yml b/.github/workflows/security-review.lock.yml index 3c8b850ca14..f6424ad90ec 100644 --- a/.github/workflows/security-review.lock.yml +++ b/.github/workflows/security-review.lock.yml @@ -176,9 +176,21 @@ jobs: key: agentic-workflow-usage-securityreview-${{ github.run_id }} restore-keys: agentic-workflow-usage-securityreview- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/semantic-function-refactor.lock.yml b/.github/workflows/semantic-function-refactor.lock.yml index 10fe325e641..68ac6625e34 100644 --- a/.github/workflows/semantic-function-refactor.lock.yml +++ b/.github/workflows/semantic-function-refactor.lock.yml @@ -170,9 +170,21 @@ jobs: key: agentic-workflow-usage-semanticfunctionrefactor-${{ github.run_id }} restore-keys: agentic-workflow-usage-semanticfunctionrefactor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/sergo.lock.yml b/.github/workflows/sergo.lock.yml index 909c8e014fa..f044920f0a7 100644 --- a/.github/workflows/sergo.lock.yml +++ b/.github/workflows/sergo.lock.yml @@ -171,9 +171,21 @@ jobs: key: agentic-workflow-usage-sergo-${{ github.run_id }} restore-keys: agentic-workflow-usage-sergo- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/slide-deck-maintainer.lock.yml b/.github/workflows/slide-deck-maintainer.lock.yml index 3d9ed4e27d7..e7eb5127f36 100644 --- a/.github/workflows/slide-deck-maintainer.lock.yml +++ b/.github/workflows/slide-deck-maintainer.lock.yml @@ -177,9 +177,21 @@ jobs: key: agentic-workflow-usage-slidedeckmaintainer-${{ github.run_id }} restore-keys: agentic-workflow-usage-slidedeckmaintainer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-agent-all-merged.lock.yml b/.github/workflows/smoke-agent-all-merged.lock.yml index 76d3d3d800b..aeab39fb6e6 100644 --- a/.github/workflows/smoke-agent-all-merged.lock.yml +++ b/.github/workflows/smoke-agent-all-merged.lock.yml @@ -178,9 +178,21 @@ jobs: key: agentic-workflow-usage-smokeagentallmerged-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeagentallmerged- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-agent-all-none.lock.yml b/.github/workflows/smoke-agent-all-none.lock.yml index c16ffe2bc97..0b060fb763c 100644 --- a/.github/workflows/smoke-agent-all-none.lock.yml +++ b/.github/workflows/smoke-agent-all-none.lock.yml @@ -178,9 +178,21 @@ jobs: key: agentic-workflow-usage-smokeagentallnone-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeagentallnone- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-agent-public-approved.lock.yml b/.github/workflows/smoke-agent-public-approved.lock.yml index d6ba93ed4e9..d7f1c399521 100644 --- a/.github/workflows/smoke-agent-public-approved.lock.yml +++ b/.github/workflows/smoke-agent-public-approved.lock.yml @@ -180,9 +180,21 @@ jobs: key: agentic-workflow-usage-smokeagentpublicapproved-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeagentpublicapproved- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-agent-public-none.lock.yml b/.github/workflows/smoke-agent-public-none.lock.yml index 2e37ac9c41d..c0edb2c48ec 100644 --- a/.github/workflows/smoke-agent-public-none.lock.yml +++ b/.github/workflows/smoke-agent-public-none.lock.yml @@ -178,9 +178,21 @@ jobs: key: agentic-workflow-usage-smokeagentpublicnone-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeagentpublicnone- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-agent-scoped-approved.lock.yml b/.github/workflows/smoke-agent-scoped-approved.lock.yml index cd109af8136..65716fb630c 100644 --- a/.github/workflows/smoke-agent-scoped-approved.lock.yml +++ b/.github/workflows/smoke-agent-scoped-approved.lock.yml @@ -179,9 +179,21 @@ jobs: key: agentic-workflow-usage-smokeagentscopedapproved-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeagentscopedapproved- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-antigravity.lock.yml b/.github/workflows/smoke-antigravity.lock.yml index a1a2d2f86d4..2c17101cac4 100644 --- a/.github/workflows/smoke-antigravity.lock.yml +++ b/.github/workflows/smoke-antigravity.lock.yml @@ -182,9 +182,21 @@ jobs: key: agentic-workflow-usage-smokeantigravity-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeantigravity- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-call-workflow.lock.yml b/.github/workflows/smoke-call-workflow.lock.yml index 371c77ff00c..ce0c01772db 100644 --- a/.github/workflows/smoke-call-workflow.lock.yml +++ b/.github/workflows/smoke-call-workflow.lock.yml @@ -181,9 +181,21 @@ jobs: key: agentic-workflow-usage-smokecallworkflow-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecallworkflow- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-ci.lock.yml b/.github/workflows/smoke-ci.lock.yml index f9daeff7867..23997a6232e 100644 --- a/.github/workflows/smoke-ci.lock.yml +++ b/.github/workflows/smoke-ci.lock.yml @@ -186,9 +186,21 @@ jobs: key: agentic-workflow-usage-smokeci-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeci- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-claude.lock.yml b/.github/workflows/smoke-claude.lock.yml index c796e6c9129..14af4e09f66 100644 --- a/.github/workflows/smoke-claude.lock.yml +++ b/.github/workflows/smoke-claude.lock.yml @@ -191,9 +191,21 @@ jobs: key: agentic-workflow-usage-smokeclaude-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeclaude- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-codex.lock.yml b/.github/workflows/smoke-codex.lock.yml index 633947ba64e..4224ff11db1 100644 --- a/.github/workflows/smoke-codex.lock.yml +++ b/.github/workflows/smoke-codex.lock.yml @@ -190,9 +190,21 @@ jobs: key: agentic-workflow-usage-smokecodex-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecodex- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-copilot-aoai-apikey.lock.yml b/.github/workflows/smoke-copilot-aoai-apikey.lock.yml index 8fa3685bdd2..6dbbd2011da 100644 --- a/.github/workflows/smoke-copilot-aoai-apikey.lock.yml +++ b/.github/workflows/smoke-copilot-aoai-apikey.lock.yml @@ -189,9 +189,21 @@ jobs: key: agentic-workflow-usage-smokecopilotaoaiapikey-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecopilotaoaiapikey- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-copilot-aoai-entra.lock.yml b/.github/workflows/smoke-copilot-aoai-entra.lock.yml index b470bbe35ff..acffba49353 100644 --- a/.github/workflows/smoke-copilot-aoai-entra.lock.yml +++ b/.github/workflows/smoke-copilot-aoai-entra.lock.yml @@ -188,9 +188,21 @@ jobs: key: agentic-workflow-usage-smokecopilotaoaientra-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecopilotaoaientra- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-copilot-arm.lock.yml b/.github/workflows/smoke-copilot-arm.lock.yml index b50dd0948fd..4bfadb42b62 100644 --- a/.github/workflows/smoke-copilot-arm.lock.yml +++ b/.github/workflows/smoke-copilot-arm.lock.yml @@ -189,9 +189,21 @@ jobs: key: agentic-workflow-usage-smokecopilotarm-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecopilotarm- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-copilot-sdk.lock.yml b/.github/workflows/smoke-copilot-sdk.lock.yml index 1a2517ab9d5..d853768e667 100644 --- a/.github/workflows/smoke-copilot-sdk.lock.yml +++ b/.github/workflows/smoke-copilot-sdk.lock.yml @@ -158,9 +158,21 @@ jobs: key: agentic-workflow-usage-smokecopilotsdk-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecopilotsdk- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-copilot.lock.yml b/.github/workflows/smoke-copilot.lock.yml index 07b4b3b4f01..63d4d2ec37c 100644 --- a/.github/workflows/smoke-copilot.lock.yml +++ b/.github/workflows/smoke-copilot.lock.yml @@ -190,9 +190,21 @@ jobs: key: agentic-workflow-usage-smokecopilot-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecopilot- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-create-cross-repo-pr.lock.yml b/.github/workflows/smoke-create-cross-repo-pr.lock.yml index 59807261e44..cff3fb2ce73 100644 --- a/.github/workflows/smoke-create-cross-repo-pr.lock.yml +++ b/.github/workflows/smoke-create-cross-repo-pr.lock.yml @@ -179,9 +179,21 @@ jobs: key: agentic-workflow-usage-smokecreatecrossrepopr-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecreatecrossrepopr- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-crush.lock.yml b/.github/workflows/smoke-crush.lock.yml index 33389be8ccd..7da182cf64f 100644 --- a/.github/workflows/smoke-crush.lock.yml +++ b/.github/workflows/smoke-crush.lock.yml @@ -180,9 +180,21 @@ jobs: key: agentic-workflow-usage-smokecrush-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecrush- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-gemini.lock.yml b/.github/workflows/smoke-gemini.lock.yml index 17d67a6cdbe..1fc06cc0d82 100644 --- a/.github/workflows/smoke-gemini.lock.yml +++ b/.github/workflows/smoke-gemini.lock.yml @@ -183,9 +183,21 @@ jobs: key: agentic-workflow-usage-smokegemini-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokegemini- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-multi-pr.lock.yml b/.github/workflows/smoke-multi-pr.lock.yml index feadb446e48..c8d2f3cc8e5 100644 --- a/.github/workflows/smoke-multi-pr.lock.yml +++ b/.github/workflows/smoke-multi-pr.lock.yml @@ -180,9 +180,21 @@ jobs: key: agentic-workflow-usage-smokemultipr-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokemultipr- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-opencode.lock.yml b/.github/workflows/smoke-opencode.lock.yml index cd1fb1ca74e..0dcd35db75a 100644 --- a/.github/workflows/smoke-opencode.lock.yml +++ b/.github/workflows/smoke-opencode.lock.yml @@ -181,9 +181,21 @@ jobs: key: agentic-workflow-usage-smokeopencode-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeopencode- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-otel-backends.lock.yml b/.github/workflows/smoke-otel-backends.lock.yml index 2b108149ac1..334fd525cf1 100644 --- a/.github/workflows/smoke-otel-backends.lock.yml +++ b/.github/workflows/smoke-otel-backends.lock.yml @@ -195,9 +195,21 @@ jobs: key: agentic-workflow-usage-smokeotelbackends-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeotelbackends- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-pi.lock.yml b/.github/workflows/smoke-pi.lock.yml index fe09842804f..57eb58a9622 100644 --- a/.github/workflows/smoke-pi.lock.yml +++ b/.github/workflows/smoke-pi.lock.yml @@ -182,9 +182,21 @@ jobs: key: agentic-workflow-usage-smokepi-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokepi- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-project.lock.yml b/.github/workflows/smoke-project.lock.yml index 62e6520bf11..b29719c7c71 100644 --- a/.github/workflows/smoke-project.lock.yml +++ b/.github/workflows/smoke-project.lock.yml @@ -183,9 +183,21 @@ jobs: key: agentic-workflow-usage-smokeproject-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeproject- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-service-ports.lock.yml b/.github/workflows/smoke-service-ports.lock.yml index c033c4d7241..957296eeaba 100644 --- a/.github/workflows/smoke-service-ports.lock.yml +++ b/.github/workflows/smoke-service-ports.lock.yml @@ -172,9 +172,21 @@ jobs: key: agentic-workflow-usage-smokeserviceports-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeserviceports- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-temporary-id.lock.yml b/.github/workflows/smoke-temporary-id.lock.yml index a319608caa2..d373a0c2cc2 100644 --- a/.github/workflows/smoke-temporary-id.lock.yml +++ b/.github/workflows/smoke-temporary-id.lock.yml @@ -181,9 +181,21 @@ jobs: key: agentic-workflow-usage-smoketemporaryid-${{ github.run_id }} restore-keys: agentic-workflow-usage-smoketemporaryid- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-test-tools.lock.yml b/.github/workflows/smoke-test-tools.lock.yml index 78e1c38ecb1..beb2b6c8bbe 100644 --- a/.github/workflows/smoke-test-tools.lock.yml +++ b/.github/workflows/smoke-test-tools.lock.yml @@ -183,9 +183,21 @@ jobs: key: agentic-workflow-usage-smoketesttools-${{ github.run_id }} restore-keys: agentic-workflow-usage-smoketesttools- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-update-cross-repo-pr.lock.yml b/.github/workflows/smoke-update-cross-repo-pr.lock.yml index 7f8a470f74d..08437ff6523 100644 --- a/.github/workflows/smoke-update-cross-repo-pr.lock.yml +++ b/.github/workflows/smoke-update-cross-repo-pr.lock.yml @@ -179,9 +179,21 @@ jobs: key: agentic-workflow-usage-smokeupdatecrossrepopr-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeupdatecrossrepopr- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-workflow-call-with-inputs.lock.yml b/.github/workflows/smoke-workflow-call-with-inputs.lock.yml index fa9699c73ce..309f219f41b 100644 --- a/.github/workflows/smoke-workflow-call-with-inputs.lock.yml +++ b/.github/workflows/smoke-workflow-call-with-inputs.lock.yml @@ -230,9 +230,21 @@ jobs: key: agentic-workflow-usage-smokeworkflowcallwithinputs-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeworkflowcallwithinputs- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-workflow-call.lock.yml b/.github/workflows/smoke-workflow-call.lock.yml index ac6f489f780..1e8fb447fbf 100644 --- a/.github/workflows/smoke-workflow-call.lock.yml +++ b/.github/workflows/smoke-workflow-call.lock.yml @@ -233,9 +233,21 @@ jobs: key: agentic-workflow-usage-smokeworkflowcall-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeworkflowcall- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/spec-enforcer.lock.yml b/.github/workflows/spec-enforcer.lock.yml index ac210511a71..ac9db07158e 100644 --- a/.github/workflows/spec-enforcer.lock.yml +++ b/.github/workflows/spec-enforcer.lock.yml @@ -172,9 +172,21 @@ jobs: key: agentic-workflow-usage-specenforcer-${{ github.run_id }} restore-keys: agentic-workflow-usage-specenforcer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/spec-extractor.lock.yml b/.github/workflows/spec-extractor.lock.yml index ff5761f5df8..069f82a7559 100644 --- a/.github/workflows/spec-extractor.lock.yml +++ b/.github/workflows/spec-extractor.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-specextractor-${{ github.run_id }} restore-keys: agentic-workflow-usage-specextractor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/spec-librarian.lock.yml b/.github/workflows/spec-librarian.lock.yml index 15047869523..5276a5ed3ee 100644 --- a/.github/workflows/spec-librarian.lock.yml +++ b/.github/workflows/spec-librarian.lock.yml @@ -176,9 +176,21 @@ jobs: key: agentic-workflow-usage-speclibrarian-${{ github.run_id }} restore-keys: agentic-workflow-usage-speclibrarian- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/stale-pr-cleanup.lock.yml b/.github/workflows/stale-pr-cleanup.lock.yml index 758acbbd67f..60fb8ddccc4 100644 --- a/.github/workflows/stale-pr-cleanup.lock.yml +++ b/.github/workflows/stale-pr-cleanup.lock.yml @@ -163,9 +163,21 @@ jobs: key: agentic-workflow-usage-staleprcleanup-${{ github.run_id }} restore-keys: agentic-workflow-usage-staleprcleanup- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/stale-repo-identifier.lock.yml b/.github/workflows/stale-repo-identifier.lock.yml index 47a08bc8e9b..be4a93fa86e 100644 --- a/.github/workflows/stale-repo-identifier.lock.yml +++ b/.github/workflows/stale-repo-identifier.lock.yml @@ -181,9 +181,21 @@ jobs: key: agentic-workflow-usage-stalerepoidentifier-${{ github.run_id }} restore-keys: agentic-workflow-usage-stalerepoidentifier- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/static-analysis-report.lock.yml b/.github/workflows/static-analysis-report.lock.yml index 497d7ecb7f1..a52cef1201d 100644 --- a/.github/workflows/static-analysis-report.lock.yml +++ b/.github/workflows/static-analysis-report.lock.yml @@ -170,9 +170,21 @@ jobs: key: agentic-workflow-usage-staticanalysisreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-staticanalysisreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/step-name-alignment.lock.yml b/.github/workflows/step-name-alignment.lock.yml index 8972a4cdfe9..33f7ed8539a 100644 --- a/.github/workflows/step-name-alignment.lock.yml +++ b/.github/workflows/step-name-alignment.lock.yml @@ -165,9 +165,21 @@ jobs: key: agentic-workflow-usage-stepnamealignment-${{ github.run_id }} restore-keys: agentic-workflow-usage-stepnamealignment- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/sub-issue-closer.lock.yml b/.github/workflows/sub-issue-closer.lock.yml index 7a72da95d7b..65cec064cbe 100644 --- a/.github/workflows/sub-issue-closer.lock.yml +++ b/.github/workflows/sub-issue-closer.lock.yml @@ -165,9 +165,21 @@ jobs: key: agentic-workflow-usage-subissuecloser-${{ github.run_id }} restore-keys: agentic-workflow-usage-subissuecloser- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/super-linter.lock.yml b/.github/workflows/super-linter.lock.yml index 464bc7a5602..893416a3a26 100644 --- a/.github/workflows/super-linter.lock.yml +++ b/.github/workflows/super-linter.lock.yml @@ -166,9 +166,21 @@ jobs: key: agentic-workflow-usage-superlinter-${{ github.run_id }} restore-keys: agentic-workflow-usage-superlinter- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/technical-doc-writer.lock.yml b/.github/workflows/technical-doc-writer.lock.yml index 9a90444c126..c918fb5146e 100644 --- a/.github/workflows/technical-doc-writer.lock.yml +++ b/.github/workflows/technical-doc-writer.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-technicaldocwriter-${{ github.run_id }} restore-keys: agentic-workflow-usage-technicaldocwriter- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/terminal-stylist.lock.yml b/.github/workflows/terminal-stylist.lock.yml index 8a5d3656e4b..73a5ebf2fec 100644 --- a/.github/workflows/terminal-stylist.lock.yml +++ b/.github/workflows/terminal-stylist.lock.yml @@ -171,9 +171,21 @@ jobs: key: agentic-workflow-usage-terminalstylist-${{ github.run_id }} restore-keys: agentic-workflow-usage-terminalstylist- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/test-create-pr-error-handling.lock.yml b/.github/workflows/test-create-pr-error-handling.lock.yml index 1b998338abb..e015c55fd41 100644 --- a/.github/workflows/test-create-pr-error-handling.lock.yml +++ b/.github/workflows/test-create-pr-error-handling.lock.yml @@ -162,9 +162,21 @@ jobs: key: agentic-workflow-usage-testcreateprerrorhandling-${{ github.run_id }} restore-keys: agentic-workflow-usage-testcreateprerrorhandling- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/test-dispatcher.lock.yml b/.github/workflows/test-dispatcher.lock.yml index 6fd6aa84f5f..63c1ac9da56 100644 --- a/.github/workflows/test-dispatcher.lock.yml +++ b/.github/workflows/test-dispatcher.lock.yml @@ -160,9 +160,21 @@ jobs: key: agentic-workflow-usage-testdispatcher-${{ github.run_id }} restore-keys: agentic-workflow-usage-testdispatcher- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/test-project-url-default.lock.yml b/.github/workflows/test-project-url-default.lock.yml index 4045828f2eb..67601eefa33 100644 --- a/.github/workflows/test-project-url-default.lock.yml +++ b/.github/workflows/test-project-url-default.lock.yml @@ -161,9 +161,21 @@ jobs: key: agentic-workflow-usage-testprojecturldefault-${{ github.run_id }} restore-keys: agentic-workflow-usage-testprojecturldefault- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/test-quality-sentinel.lock.yml b/.github/workflows/test-quality-sentinel.lock.yml index 89f4d07ac20..5add8f83d84 100644 --- a/.github/workflows/test-quality-sentinel.lock.yml +++ b/.github/workflows/test-quality-sentinel.lock.yml @@ -176,9 +176,21 @@ jobs: key: agentic-workflow-usage-testqualitysentinel-${{ github.run_id }} restore-keys: agentic-workflow-usage-testqualitysentinel- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/test-workflow.lock.yml b/.github/workflows/test-workflow.lock.yml index a2fdb7e9f96..080d448e56e 100644 --- a/.github/workflows/test-workflow.lock.yml +++ b/.github/workflows/test-workflow.lock.yml @@ -163,9 +163,21 @@ jobs: key: agentic-workflow-usage-testworkflow-${{ github.run_id }} restore-keys: agentic-workflow-usage-testworkflow- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/tidy.lock.yml b/.github/workflows/tidy.lock.yml index 43fc8ec8441..21e12c84101 100644 --- a/.github/workflows/tidy.lock.yml +++ b/.github/workflows/tidy.lock.yml @@ -186,9 +186,21 @@ jobs: key: agentic-workflow-usage-tidy-${{ github.run_id }} restore-keys: agentic-workflow-usage-tidy- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/typist.lock.yml b/.github/workflows/typist.lock.yml index 6db01abf93a..37916640924 100644 --- a/.github/workflows/typist.lock.yml +++ b/.github/workflows/typist.lock.yml @@ -173,9 +173,21 @@ jobs: key: agentic-workflow-usage-typist-${{ github.run_id }} restore-keys: agentic-workflow-usage-typist- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/ubuntu-image-analyzer.lock.yml b/.github/workflows/ubuntu-image-analyzer.lock.yml index e01294a94fd..d32531d8ae4 100644 --- a/.github/workflows/ubuntu-image-analyzer.lock.yml +++ b/.github/workflows/ubuntu-image-analyzer.lock.yml @@ -174,9 +174,21 @@ jobs: key: agentic-workflow-usage-ubuntuimageanalyzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-ubuntuimageanalyzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/uk-ai-operational-resilience.lock.yml b/.github/workflows/uk-ai-operational-resilience.lock.yml index bc5ac62defc..4d40f905969 100644 --- a/.github/workflows/uk-ai-operational-resilience.lock.yml +++ b/.github/workflows/uk-ai-operational-resilience.lock.yml @@ -176,9 +176,21 @@ jobs: key: agentic-workflow-usage-ukaioperationalresilience-${{ github.run_id }} restore-keys: agentic-workflow-usage-ukaioperationalresilience- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/unbloat-docs.lock.yml b/.github/workflows/unbloat-docs.lock.yml index e6d15303e62..ff87fb95b8d 100644 --- a/.github/workflows/unbloat-docs.lock.yml +++ b/.github/workflows/unbloat-docs.lock.yml @@ -180,9 +180,21 @@ jobs: key: agentic-workflow-usage-unbloatdocs-${{ github.run_id }} restore-keys: agentic-workflow-usage-unbloatdocs- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/update-astro.lock.yml b/.github/workflows/update-astro.lock.yml index b3a0ecdfd46..5561f1bdf1d 100644 --- a/.github/workflows/update-astro.lock.yml +++ b/.github/workflows/update-astro.lock.yml @@ -172,9 +172,21 @@ jobs: key: agentic-workflow-usage-updateastro-${{ github.run_id }} restore-keys: agentic-workflow-usage-updateastro- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/video-analyzer.lock.yml b/.github/workflows/video-analyzer.lock.yml index 4a3762c91f8..f857a0988a1 100644 --- a/.github/workflows/video-analyzer.lock.yml +++ b/.github/workflows/video-analyzer.lock.yml @@ -166,9 +166,21 @@ jobs: key: agentic-workflow-usage-videoanalyzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-videoanalyzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/visual-regression-checker.lock.yml b/.github/workflows/visual-regression-checker.lock.yml index 821c4ba72d2..9ff33aa63cf 100644 --- a/.github/workflows/visual-regression-checker.lock.yml +++ b/.github/workflows/visual-regression-checker.lock.yml @@ -174,9 +174,21 @@ jobs: key: agentic-workflow-usage-visualregressionchecker-${{ github.run_id }} restore-keys: agentic-workflow-usage-visualregressionchecker- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/weekly-blog-post-writer.lock.yml b/.github/workflows/weekly-blog-post-writer.lock.yml index f2669ed2bba..b5cc9e9dcc1 100644 --- a/.github/workflows/weekly-blog-post-writer.lock.yml +++ b/.github/workflows/weekly-blog-post-writer.lock.yml @@ -171,9 +171,21 @@ jobs: key: agentic-workflow-usage-weeklyblogpostwriter-${{ github.run_id }} restore-keys: agentic-workflow-usage-weeklyblogpostwriter- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/weekly-editors-health-check.lock.yml b/.github/workflows/weekly-editors-health-check.lock.yml index 7cd2a04d437..8d337fc0063 100644 --- a/.github/workflows/weekly-editors-health-check.lock.yml +++ b/.github/workflows/weekly-editors-health-check.lock.yml @@ -165,9 +165,21 @@ jobs: key: agentic-workflow-usage-weeklyeditorshealthcheck-${{ github.run_id }} restore-keys: agentic-workflow-usage-weeklyeditorshealthcheck- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/weekly-issue-summary.lock.yml b/.github/workflows/weekly-issue-summary.lock.yml index 52bb09aab0e..e633d08f63e 100644 --- a/.github/workflows/weekly-issue-summary.lock.yml +++ b/.github/workflows/weekly-issue-summary.lock.yml @@ -171,9 +171,21 @@ jobs: key: agentic-workflow-usage-weeklyissuesummary-${{ github.run_id }} restore-keys: agentic-workflow-usage-weeklyissuesummary- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/weekly-safe-outputs-spec-review.lock.yml b/.github/workflows/weekly-safe-outputs-spec-review.lock.yml index ba31f6ae028..a1a0923df6a 100644 --- a/.github/workflows/weekly-safe-outputs-spec-review.lock.yml +++ b/.github/workflows/weekly-safe-outputs-spec-review.lock.yml @@ -166,9 +166,21 @@ jobs: key: agentic-workflow-usage-weeklysafeoutputsspecreview-${{ github.run_id }} restore-keys: agentic-workflow-usage-weeklysafeoutputsspecreview- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/workflow-generator.lock.yml b/.github/workflows/workflow-generator.lock.yml index b1d8d38455f..a1bedfdafa3 100644 --- a/.github/workflows/workflow-generator.lock.yml +++ b/.github/workflows/workflow-generator.lock.yml @@ -169,9 +169,21 @@ jobs: key: agentic-workflow-usage-workflowgenerator-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflowgenerator- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/workflow-health-manager.lock.yml b/.github/workflows/workflow-health-manager.lock.yml index 373f57ac31d..be320e89019 100644 --- a/.github/workflows/workflow-health-manager.lock.yml +++ b/.github/workflows/workflow-health-manager.lock.yml @@ -166,9 +166,21 @@ jobs: key: agentic-workflow-usage-workflowhealthmanager-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflowhealthmanager- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/workflow-normalizer.lock.yml b/.github/workflows/workflow-normalizer.lock.yml index 3312c8de521..cb677aa6c43 100644 --- a/.github/workflows/workflow-normalizer.lock.yml +++ b/.github/workflows/workflow-normalizer.lock.yml @@ -168,9 +168,21 @@ jobs: key: agentic-workflow-usage-workflownormalizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflownormalizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/workflow-skill-extractor.lock.yml b/.github/workflows/workflow-skill-extractor.lock.yml index 8d0d15fb32f..cf5bd690e4b 100644 --- a/.github/workflows/workflow-skill-extractor.lock.yml +++ b/.github/workflows/workflow-skill-extractor.lock.yml @@ -165,9 +165,21 @@ jobs: key: agentic-workflow-usage-workflowskillextractor-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflowskillextractor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl + - name: Detect daily AIC usage cache miss + id: detect-daily-aic-cache-miss + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + env: + GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} + GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} + run: | + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" >> "$GITHUB_OUTPUT" + else + echo "cache_miss=false" >> "$GITHUB_OUTPUT" + fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/compiler_activation_job_builder.go b/pkg/workflow/compiler_activation_job_builder.go index d53d8e03e59..cf9bac69f4d 100644 --- a/pkg/workflow/compiler_activation_job_builder.go +++ b/pkg/workflow/compiler_activation_job_builder.go @@ -369,7 +369,7 @@ func (c *Compiler) buildActivationDailyAICGuardrailStep(data *WorkflowData) []st // The fallback script is a no-op when the cache file already exists. steps = append(steps, " - name: Restore daily AIC usage cache (artifact fallback)\n") steps = append(steps, " id: restore-daily-aic-cache-fallback\n") - steps = append(steps, fmt.Sprintf(" if: %s && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true'\n", maxDailyAICreditsConfiguredIfExpr)) + steps = append(steps, fmt.Sprintf(" if: ${{ %s && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }}\n", stripExpressionWrapper(maxDailyAICreditsConfiguredIfExpr))) steps = append(steps, " continue-on-error: true\n") steps = append(steps, fmt.Sprintf(" uses: %s\n", getCachedActionPin("actions/github-script", data))) steps = append(steps, " with:\n") diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden index 710709679d4..9f773d58e17 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden @@ -110,7 +110,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden index 080081f2b67..ced7e19bb89 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden @@ -110,7 +110,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden index 264bd072550..fed559eba70 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden @@ -110,7 +110,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden index 46dca18bd2f..46352266375 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden @@ -108,7 +108,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden index 0303d6f06bb..fdd9a679139 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden @@ -109,7 +109,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden index d22644b55da..fafb65a1e0a 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden @@ -110,7 +110,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden index 57ea351b841..e23f66a3966 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden @@ -110,7 +110,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden index c1d893ac075..dc73b5a1f43 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden @@ -125,7 +125,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden index 9f0fc2488a8..1aca3fc96af 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden @@ -110,7 +110,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: From a6859b8a2530e183700779c5ab5bcbb3acfbaa19 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 14 Jun 2026 20:39:37 +0000 Subject: [PATCH 6/8] Recompile all workflows with fixed if: expression in lock files Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/ab-testing-advisor.lock.yml | 2 +- .github/workflows/ace-editor.lock.yml | 2 +- .github/workflows/agent-performance-analyzer.lock.yml | 2 +- .github/workflows/agent-persona-explorer.lock.yml | 2 +- .github/workflows/agentic-token-audit.lock.yml | 2 +- .github/workflows/agentic-token-optimizer.lock.yml | 2 +- .github/workflows/agentic-token-trend-audit.lock.yml | 2 +- .github/workflows/ai-moderator.lock.yml | 2 +- .github/workflows/api-consumption-report.lock.yml | 2 +- .github/workflows/approach-validator.lock.yml | 2 +- .github/workflows/archie.lock.yml | 2 +- .github/workflows/architecture-guardian.lock.yml | 2 +- .github/workflows/artifacts-summary.lock.yml | 2 +- .github/workflows/audit-workflows.lock.yml | 2 +- .github/workflows/auto-triage-issues.lock.yml | 2 +- .github/workflows/avenger.lock.yml | 2 +- .github/workflows/aw-failure-investigator.lock.yml | 2 +- .github/workflows/blog-auditor.lock.yml | 2 +- .github/workflows/bot-detection.lock.yml | 2 +- .github/workflows/brave.lock.yml | 2 +- .github/workflows/breaking-change-checker.lock.yml | 2 +- .github/workflows/changeset.lock.yml | 2 +- .github/workflows/chaos-pr-bundle-fuzzer.lock.yml | 2 +- .github/workflows/ci-coach.lock.yml | 2 +- .github/workflows/ci-doctor.lock.yml | 2 +- .github/workflows/claude-code-user-docs-review.lock.yml | 2 +- .github/workflows/cli-consistency-checker.lock.yml | 2 +- .github/workflows/cli-version-checker.lock.yml | 2 +- .github/workflows/cloclo.lock.yml | 2 +- .github/workflows/code-scanning-fixer.lock.yml | 2 +- .github/workflows/code-simplifier.lock.yml | 2 +- .github/workflows/codex-github-remote-mcp-test.lock.yml | 2 +- .github/workflows/commit-changes-analyzer.lock.yml | 2 +- .github/workflows/constraint-solving-potd.lock.yml | 2 +- .github/workflows/contribution-check.lock.yml | 2 +- .github/workflows/copilot-agent-analysis.lock.yml | 2 +- .github/workflows/copilot-cli-deep-research.lock.yml | 2 +- .github/workflows/copilot-opt.lock.yml | 2 +- .github/workflows/copilot-pr-merged-report.lock.yml | 2 +- .github/workflows/copilot-pr-nlp-analysis.lock.yml | 2 +- .github/workflows/copilot-pr-prompt-analysis.lock.yml | 2 +- .github/workflows/copilot-session-insights.lock.yml | 2 +- .github/workflows/craft.lock.yml | 2 +- .github/workflows/daily-agent-of-the-day-blog-writer.lock.yml | 2 +- .github/workflows/daily-agentrx-trace-optimizer.lock.yml | 2 +- .github/workflows/daily-ambient-context-optimizer.lock.yml | 2 +- .github/workflows/daily-architecture-diagram.lock.yml | 2 +- .github/workflows/daily-assign-issue-to-user.lock.yml | 2 +- .../workflows/daily-astrostylelite-markdown-spellcheck.lock.yml | 2 +- .github/workflows/daily-aw-cross-repo-compile-check.lock.yml | 2 +- .github/workflows/daily-awf-spec-compiler-surfacing.lock.yml | 2 +- .github/workflows/daily-byok-ollama-test.lock.yml | 2 +- .github/workflows/daily-cache-strategy-analyzer.lock.yml | 2 +- .github/workflows/daily-caveman-optimizer.lock.yml | 2 +- .github/workflows/daily-choice-test.lock.yml | 2 +- .github/workflows/daily-cli-performance.lock.yml | 2 +- .github/workflows/daily-cli-tools-tester.lock.yml | 2 +- .github/workflows/daily-code-metrics.lock.yml | 2 +- .github/workflows/daily-community-attribution.lock.yml | 2 +- .github/workflows/daily-compiler-quality.lock.yml | 2 +- .github/workflows/daily-compiler-threat-spec-optimizer.lock.yml | 2 +- .github/workflows/daily-credit-limit-test.lock.yml | 2 +- .github/workflows/daily-doc-healer.lock.yml | 2 +- .github/workflows/daily-doc-updater.lock.yml | 2 +- .github/workflows/daily-experiment-report.lock.yml | 2 +- .github/workflows/daily-fact.lock.yml | 2 +- .github/workflows/daily-file-diet.lock.yml | 2 +- .github/workflows/daily-firewall-report.lock.yml | 2 +- .github/workflows/daily-formal-spec-verifier.lock.yml | 2 +- .github/workflows/daily-function-namer.lock.yml | 2 +- .github/workflows/daily-geo-optimizer.lock.yml | 2 +- .github/workflows/daily-hippo-learn.lock.yml | 2 +- .github/workflows/daily-issues-report.lock.yml | 2 +- .github/workflows/daily-malicious-code-scan.lock.yml | 2 +- .github/workflows/daily-mcp-concurrency-analysis.lock.yml | 2 +- .github/workflows/daily-model-inventory.lock.yml | 2 +- .github/workflows/daily-multi-device-docs-tester.lock.yml | 2 +- .github/workflows/daily-news.lock.yml | 2 +- .github/workflows/daily-observability-report.lock.yml | 2 +- .github/workflows/daily-performance-summary.lock.yml | 2 +- .github/workflows/daily-regulatory.lock.yml | 2 +- .github/workflows/daily-reliability-review.lock.yml | 2 +- .github/workflows/daily-rendering-scripts-verifier.lock.yml | 2 +- .github/workflows/daily-repo-chronicle.lock.yml | 2 +- .github/workflows/daily-safe-output-integrator.lock.yml | 2 +- .github/workflows/daily-safe-output-optimizer.lock.yml | 2 +- .github/workflows/daily-safe-outputs-conformance.lock.yml | 2 +- .github/workflows/daily-safeoutputs-git-simulator.lock.yml | 2 +- .github/workflows/daily-secrets-analysis.lock.yml | 2 +- .github/workflows/daily-security-observability.lock.yml | 2 +- .github/workflows/daily-security-red-team.lock.yml | 2 +- .github/workflows/daily-semgrep-scan.lock.yml | 2 +- .github/workflows/daily-sentrux-report.lock.yml | 2 +- .github/workflows/daily-skill-optimizer.lock.yml | 2 +- .github/workflows/daily-spdd-spec-planner.lock.yml | 2 +- .github/workflows/daily-syntax-error-quality.lock.yml | 2 +- .github/workflows/daily-team-evolution-insights.lock.yml | 2 +- .github/workflows/daily-team-status.lock.yml | 2 +- .github/workflows/daily-testify-uber-super-expert.lock.yml | 2 +- .github/workflows/daily-token-consumption-report.lock.yml | 2 +- .../daily-windows-terminal-integration-builder.lock.yml | 2 +- .github/workflows/daily-workflow-updater.lock.yml | 2 +- .github/workflows/dataflow-pr-discussion-dataset.lock.yml | 2 +- .github/workflows/dead-code-remover.lock.yml | 2 +- .github/workflows/deep-report.lock.yml | 2 +- .github/workflows/delight.lock.yml | 2 +- .github/workflows/dependabot-burner.lock.yml | 2 +- .github/workflows/dependabot-campaign.lock.yml | 2 +- .github/workflows/dependabot-go-checker.lock.yml | 2 +- .github/workflows/dependabot-repair.lock.yml | 2 +- .github/workflows/dependabot-worker.lock.yml | 2 +- .github/workflows/deployment-incident-monitor.lock.yml | 2 +- .github/workflows/design-decision-gate.lock.yml | 2 +- .github/workflows/designer-drift-audit.lock.yml | 2 +- .github/workflows/dev-hawk.lock.yml | 2 +- .github/workflows/dev.lock.yml | 2 +- .github/workflows/developer-docs-consolidator.lock.yml | 2 +- .github/workflows/dictation-prompt.lock.yml | 2 +- .github/workflows/discussion-task-miner.lock.yml | 2 +- .github/workflows/docs-noob-tester.lock.yml | 2 +- .github/workflows/draft-pr-cleanup.lock.yml | 2 +- .github/workflows/duplicate-code-detector.lock.yml | 2 +- .github/workflows/example-permissions-warning.lock.yml | 2 +- .github/workflows/example-workflow-analyzer.lock.yml | 2 +- .github/workflows/firewall-escape.lock.yml | 2 +- .github/workflows/firewall.lock.yml | 2 +- .github/workflows/functional-pragmatist.lock.yml | 2 +- .github/workflows/github-mcp-structural-analysis.lock.yml | 2 +- .github/workflows/github-mcp-tools-report.lock.yml | 2 +- .github/workflows/github-remote-mcp-auth-test.lock.yml | 2 +- .github/workflows/glossary-maintainer.lock.yml | 2 +- .github/workflows/go-fan.lock.yml | 2 +- .github/workflows/go-logger.lock.yml | 2 +- .github/workflows/go-pattern-detector.lock.yml | 2 +- .github/workflows/gpclean.lock.yml | 2 +- .github/workflows/grumpy-reviewer.lock.yml | 2 +- .github/workflows/hippo-embed.lock.yml | 2 +- .github/workflows/hourly-ci-cleaner.lock.yml | 2 +- .github/workflows/instructions-janitor.lock.yml | 2 +- .github/workflows/issue-arborist.lock.yml | 2 +- .github/workflows/issue-monster.lock.yml | 2 +- .github/workflows/issue-triage-agent.lock.yml | 2 +- .github/workflows/jsweep.lock.yml | 2 +- .github/workflows/layout-spec-maintainer.lock.yml | 2 +- .github/workflows/lint-monster.lock.yml | 2 +- .github/workflows/linter-miner.lock.yml | 2 +- .github/workflows/lockfile-stats.lock.yml | 2 +- .github/workflows/mattpocock-skills-reviewer.lock.yml | 2 +- .github/workflows/mcp-inspector.lock.yml | 2 +- .github/workflows/mergefest.lock.yml | 2 +- .github/workflows/metrics-collector.lock.yml | 2 +- .github/workflows/necromancer.lock.yml | 2 +- .github/workflows/notion-issue-summary.lock.yml | 2 +- .github/workflows/objective-impact-report.lock.yml | 2 +- .github/workflows/org-health-report.lock.yml | 2 +- .github/workflows/outcome-collector.lock.yml | 2 +- .github/workflows/pdf-summary.lock.yml | 2 +- .github/workflows/plan.lock.yml | 2 +- .github/workflows/poem-bot.lock.yml | 2 +- .github/workflows/pr-code-quality-reviewer.lock.yml | 2 +- .github/workflows/pr-description-caveman.lock.yml | 2 +- .github/workflows/pr-nitpick-reviewer.lock.yml | 2 +- .github/workflows/pr-sous-chef.lock.yml | 2 +- .github/workflows/pr-triage-agent.lock.yml | 2 +- .github/workflows/prompt-clustering-analysis.lock.yml | 2 +- .github/workflows/python-data-charts.lock.yml | 2 +- .github/workflows/q.lock.yml | 2 +- .github/workflows/refactoring-cadence.lock.yml | 2 +- .github/workflows/refiner.lock.yml | 2 +- .github/workflows/release.lock.yml | 2 +- .github/workflows/repo-audit-analyzer.lock.yml | 2 +- .github/workflows/repo-tree-map.lock.yml | 2 +- .github/workflows/repository-quality-improver.lock.yml | 2 +- .github/workflows/research.lock.yml | 2 +- .github/workflows/ruflo-backed-task.lock.yml | 2 +- .github/workflows/safe-output-health.lock.yml | 2 +- .github/workflows/schema-consistency-checker.lock.yml | 2 +- .github/workflows/schema-feature-coverage.lock.yml | 2 +- .github/workflows/scout.lock.yml | 2 +- .github/workflows/security-compliance.lock.yml | 2 +- .github/workflows/security-review.lock.yml | 2 +- .github/workflows/semantic-function-refactor.lock.yml | 2 +- .github/workflows/sergo.lock.yml | 2 +- .github/workflows/slide-deck-maintainer.lock.yml | 2 +- .github/workflows/smoke-agent-all-merged.lock.yml | 2 +- .github/workflows/smoke-agent-all-none.lock.yml | 2 +- .github/workflows/smoke-agent-public-approved.lock.yml | 2 +- .github/workflows/smoke-agent-public-none.lock.yml | 2 +- .github/workflows/smoke-agent-scoped-approved.lock.yml | 2 +- .github/workflows/smoke-antigravity.lock.yml | 2 +- .github/workflows/smoke-call-workflow.lock.yml | 2 +- .github/workflows/smoke-ci.lock.yml | 2 +- .github/workflows/smoke-claude.lock.yml | 2 +- .github/workflows/smoke-codex.lock.yml | 2 +- .github/workflows/smoke-copilot-aoai-apikey.lock.yml | 2 +- .github/workflows/smoke-copilot-aoai-entra.lock.yml | 2 +- .github/workflows/smoke-copilot-arm.lock.yml | 2 +- .github/workflows/smoke-copilot-sdk.lock.yml | 2 +- .github/workflows/smoke-copilot.lock.yml | 2 +- .github/workflows/smoke-create-cross-repo-pr.lock.yml | 2 +- .github/workflows/smoke-crush.lock.yml | 2 +- .github/workflows/smoke-gemini.lock.yml | 2 +- .github/workflows/smoke-multi-pr.lock.yml | 2 +- .github/workflows/smoke-opencode.lock.yml | 2 +- .github/workflows/smoke-otel-backends.lock.yml | 2 +- .github/workflows/smoke-pi.lock.yml | 2 +- .github/workflows/smoke-project.lock.yml | 2 +- .github/workflows/smoke-service-ports.lock.yml | 2 +- .github/workflows/smoke-temporary-id.lock.yml | 2 +- .github/workflows/smoke-test-tools.lock.yml | 2 +- .github/workflows/smoke-update-cross-repo-pr.lock.yml | 2 +- .github/workflows/smoke-workflow-call-with-inputs.lock.yml | 2 +- .github/workflows/smoke-workflow-call.lock.yml | 2 +- .github/workflows/spec-enforcer.lock.yml | 2 +- .github/workflows/spec-extractor.lock.yml | 2 +- .github/workflows/spec-librarian.lock.yml | 2 +- .github/workflows/stale-pr-cleanup.lock.yml | 2 +- .github/workflows/stale-repo-identifier.lock.yml | 2 +- .github/workflows/static-analysis-report.lock.yml | 2 +- .github/workflows/step-name-alignment.lock.yml | 2 +- .github/workflows/sub-issue-closer.lock.yml | 2 +- .github/workflows/super-linter.lock.yml | 2 +- .github/workflows/technical-doc-writer.lock.yml | 2 +- .github/workflows/terminal-stylist.lock.yml | 2 +- .github/workflows/test-create-pr-error-handling.lock.yml | 2 +- .github/workflows/test-dispatcher.lock.yml | 2 +- .github/workflows/test-project-url-default.lock.yml | 2 +- .github/workflows/test-quality-sentinel.lock.yml | 2 +- .github/workflows/test-workflow.lock.yml | 2 +- .github/workflows/tidy.lock.yml | 2 +- .github/workflows/typist.lock.yml | 2 +- .github/workflows/ubuntu-image-analyzer.lock.yml | 2 +- .github/workflows/uk-ai-operational-resilience.lock.yml | 2 +- .github/workflows/unbloat-docs.lock.yml | 2 +- .github/workflows/update-astro.lock.yml | 2 +- .github/workflows/video-analyzer.lock.yml | 2 +- .github/workflows/visual-regression-checker.lock.yml | 2 +- .github/workflows/weekly-blog-post-writer.lock.yml | 2 +- .github/workflows/weekly-editors-health-check.lock.yml | 2 +- .github/workflows/weekly-issue-summary.lock.yml | 2 +- .github/workflows/weekly-safe-outputs-spec-review.lock.yml | 2 +- .github/workflows/workflow-generator.lock.yml | 2 +- .github/workflows/workflow-health-manager.lock.yml | 2 +- .github/workflows/workflow-normalizer.lock.yml | 2 +- .github/workflows/workflow-skill-extractor.lock.yml | 2 +- 245 files changed, 245 insertions(+), 245 deletions(-) diff --git a/.github/workflows/ab-testing-advisor.lock.yml b/.github/workflows/ab-testing-advisor.lock.yml index aceb6ce45cf..d236c18a4bb 100644 --- a/.github/workflows/ab-testing-advisor.lock.yml +++ b/.github/workflows/ab-testing-advisor.lock.yml @@ -184,7 +184,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/ace-editor.lock.yml b/.github/workflows/ace-editor.lock.yml index eff74b1ce8d..f4a31380ff7 100644 --- a/.github/workflows/ace-editor.lock.yml +++ b/.github/workflows/ace-editor.lock.yml @@ -185,7 +185,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/agent-performance-analyzer.lock.yml b/.github/workflows/agent-performance-analyzer.lock.yml index ed7f737033a..55ec467bbd1 100644 --- a/.github/workflows/agent-performance-analyzer.lock.yml +++ b/.github/workflows/agent-performance-analyzer.lock.yml @@ -184,7 +184,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/agent-persona-explorer.lock.yml b/.github/workflows/agent-persona-explorer.lock.yml index 124c5c1cb03..15f63176452 100644 --- a/.github/workflows/agent-persona-explorer.lock.yml +++ b/.github/workflows/agent-persona-explorer.lock.yml @@ -184,7 +184,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/agentic-token-audit.lock.yml b/.github/workflows/agentic-token-audit.lock.yml index e5abda3d29d..39d80f65022 100644 --- a/.github/workflows/agentic-token-audit.lock.yml +++ b/.github/workflows/agentic-token-audit.lock.yml @@ -168,7 +168,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/agentic-token-optimizer.lock.yml b/.github/workflows/agentic-token-optimizer.lock.yml index 1cf57da4199..be399528c9a 100644 --- a/.github/workflows/agentic-token-optimizer.lock.yml +++ b/.github/workflows/agentic-token-optimizer.lock.yml @@ -164,7 +164,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/agentic-token-trend-audit.lock.yml b/.github/workflows/agentic-token-trend-audit.lock.yml index 4e121394c80..6fe3c8ed54f 100644 --- a/.github/workflows/agentic-token-trend-audit.lock.yml +++ b/.github/workflows/agentic-token-trend-audit.lock.yml @@ -165,7 +165,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/ai-moderator.lock.yml b/.github/workflows/ai-moderator.lock.yml index 5c8dcceb21d..0ad58e07ec7 100644 --- a/.github/workflows/ai-moderator.lock.yml +++ b/.github/workflows/ai-moderator.lock.yml @@ -216,7 +216,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/api-consumption-report.lock.yml b/.github/workflows/api-consumption-report.lock.yml index 7f1443df707..582fb24a348 100644 --- a/.github/workflows/api-consumption-report.lock.yml +++ b/.github/workflows/api-consumption-report.lock.yml @@ -189,7 +189,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/approach-validator.lock.yml b/.github/workflows/approach-validator.lock.yml index 56e1a3823ca..497eb0c09db 100644 --- a/.github/workflows/approach-validator.lock.yml +++ b/.github/workflows/approach-validator.lock.yml @@ -195,7 +195,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/archie.lock.yml b/.github/workflows/archie.lock.yml index 30cf1a0b4e7..a64b7871daa 100644 --- a/.github/workflows/archie.lock.yml +++ b/.github/workflows/archie.lock.yml @@ -188,7 +188,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/architecture-guardian.lock.yml b/.github/workflows/architecture-guardian.lock.yml index d05727b95ae..643286f2c0f 100644 --- a/.github/workflows/architecture-guardian.lock.yml +++ b/.github/workflows/architecture-guardian.lock.yml @@ -188,7 +188,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/artifacts-summary.lock.yml b/.github/workflows/artifacts-summary.lock.yml index 30bf89e8c3c..001f2e51810 100644 --- a/.github/workflows/artifacts-summary.lock.yml +++ b/.github/workflows/artifacts-summary.lock.yml @@ -179,7 +179,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/audit-workflows.lock.yml b/.github/workflows/audit-workflows.lock.yml index d2afbb2185e..4171b58f8a5 100644 --- a/.github/workflows/audit-workflows.lock.yml +++ b/.github/workflows/audit-workflows.lock.yml @@ -189,7 +189,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/auto-triage-issues.lock.yml b/.github/workflows/auto-triage-issues.lock.yml index 6e7bde5e4f4..399cbbb6c3d 100644 --- a/.github/workflows/auto-triage-issues.lock.yml +++ b/.github/workflows/auto-triage-issues.lock.yml @@ -189,7 +189,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/avenger.lock.yml b/.github/workflows/avenger.lock.yml index e67eac8da03..70eb814f5f7 100644 --- a/.github/workflows/avenger.lock.yml +++ b/.github/workflows/avenger.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/aw-failure-investigator.lock.yml b/.github/workflows/aw-failure-investigator.lock.yml index b1684d2dac6..0fa07bd6977 100644 --- a/.github/workflows/aw-failure-investigator.lock.yml +++ b/.github/workflows/aw-failure-investigator.lock.yml @@ -189,7 +189,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/blog-auditor.lock.yml b/.github/workflows/blog-auditor.lock.yml index 129d61c2822..8cb5ff232a4 100644 --- a/.github/workflows/blog-auditor.lock.yml +++ b/.github/workflows/blog-auditor.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/bot-detection.lock.yml b/.github/workflows/bot-detection.lock.yml index 62b24417bd5..f2b004fc18a 100644 --- a/.github/workflows/bot-detection.lock.yml +++ b/.github/workflows/bot-detection.lock.yml @@ -179,7 +179,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/brave.lock.yml b/.github/workflows/brave.lock.yml index 013c34e8132..9a3a1203afc 100644 --- a/.github/workflows/brave.lock.yml +++ b/.github/workflows/brave.lock.yml @@ -187,7 +187,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/breaking-change-checker.lock.yml b/.github/workflows/breaking-change-checker.lock.yml index ab3e5921e12..64a288f2c0a 100644 --- a/.github/workflows/breaking-change-checker.lock.yml +++ b/.github/workflows/breaking-change-checker.lock.yml @@ -186,7 +186,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/changeset.lock.yml b/.github/workflows/changeset.lock.yml index 86708c1d1e9..bc7671180b1 100644 --- a/.github/workflows/changeset.lock.yml +++ b/.github/workflows/changeset.lock.yml @@ -199,7 +199,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml b/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml index b3579fcbc3a..d2fef7f25f3 100644 --- a/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml +++ b/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml @@ -178,7 +178,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/ci-coach.lock.yml b/.github/workflows/ci-coach.lock.yml index 9c2e040e291..ad5989044ba 100644 --- a/.github/workflows/ci-coach.lock.yml +++ b/.github/workflows/ci-coach.lock.yml @@ -184,7 +184,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.yml index b76490588e4..d2a3bc1294a 100644 --- a/.github/workflows/ci-doctor.lock.yml +++ b/.github/workflows/ci-doctor.lock.yml @@ -196,7 +196,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/claude-code-user-docs-review.lock.yml b/.github/workflows/claude-code-user-docs-review.lock.yml index 94d07f79f67..e865559c3e9 100644 --- a/.github/workflows/claude-code-user-docs-review.lock.yml +++ b/.github/workflows/claude-code-user-docs-review.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/cli-consistency-checker.lock.yml b/.github/workflows/cli-consistency-checker.lock.yml index 9f200b23dc6..c724d88b8eb 100644 --- a/.github/workflows/cli-consistency-checker.lock.yml +++ b/.github/workflows/cli-consistency-checker.lock.yml @@ -176,7 +176,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/cli-version-checker.lock.yml b/.github/workflows/cli-version-checker.lock.yml index 49c370038c9..01c2a5fc62b 100644 --- a/.github/workflows/cli-version-checker.lock.yml +++ b/.github/workflows/cli-version-checker.lock.yml @@ -180,7 +180,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/cloclo.lock.yml b/.github/workflows/cloclo.lock.yml index 79a4b5f5c43..1e5f485d011 100644 --- a/.github/workflows/cloclo.lock.yml +++ b/.github/workflows/cloclo.lock.yml @@ -202,7 +202,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/code-scanning-fixer.lock.yml b/.github/workflows/code-scanning-fixer.lock.yml index a1809bab355..38b23d22fb5 100644 --- a/.github/workflows/code-scanning-fixer.lock.yml +++ b/.github/workflows/code-scanning-fixer.lock.yml @@ -184,7 +184,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/code-simplifier.lock.yml b/.github/workflows/code-simplifier.lock.yml index 9b035765bb8..5bfb55696c2 100644 --- a/.github/workflows/code-simplifier.lock.yml +++ b/.github/workflows/code-simplifier.lock.yml @@ -189,7 +189,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/codex-github-remote-mcp-test.lock.yml b/.github/workflows/codex-github-remote-mcp-test.lock.yml index 928d80ef959..fa9e8b770bf 100644 --- a/.github/workflows/codex-github-remote-mcp-test.lock.yml +++ b/.github/workflows/codex-github-remote-mcp-test.lock.yml @@ -175,7 +175,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/commit-changes-analyzer.lock.yml b/.github/workflows/commit-changes-analyzer.lock.yml index 6a8efcbb133..a880e95c1cd 100644 --- a/.github/workflows/commit-changes-analyzer.lock.yml +++ b/.github/workflows/commit-changes-analyzer.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/constraint-solving-potd.lock.yml b/.github/workflows/constraint-solving-potd.lock.yml index be5bf5f65c1..edd4165bb73 100644 --- a/.github/workflows/constraint-solving-potd.lock.yml +++ b/.github/workflows/constraint-solving-potd.lock.yml @@ -177,7 +177,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/contribution-check.lock.yml b/.github/workflows/contribution-check.lock.yml index ea5d0b3d756..5d391bd3ed5 100644 --- a/.github/workflows/contribution-check.lock.yml +++ b/.github/workflows/contribution-check.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/copilot-agent-analysis.lock.yml b/.github/workflows/copilot-agent-analysis.lock.yml index 006664d5d36..efa1acbf45f 100644 --- a/.github/workflows/copilot-agent-analysis.lock.yml +++ b/.github/workflows/copilot-agent-analysis.lock.yml @@ -188,7 +188,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/copilot-cli-deep-research.lock.yml b/.github/workflows/copilot-cli-deep-research.lock.yml index b582b9da994..1cf1463ec51 100644 --- a/.github/workflows/copilot-cli-deep-research.lock.yml +++ b/.github/workflows/copilot-cli-deep-research.lock.yml @@ -178,7 +178,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/copilot-opt.lock.yml b/.github/workflows/copilot-opt.lock.yml index fa22edeb91a..09ea7675992 100644 --- a/.github/workflows/copilot-opt.lock.yml +++ b/.github/workflows/copilot-opt.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/copilot-pr-merged-report.lock.yml b/.github/workflows/copilot-pr-merged-report.lock.yml index 58207c01551..058165f1635 100644 --- a/.github/workflows/copilot-pr-merged-report.lock.yml +++ b/.github/workflows/copilot-pr-merged-report.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/copilot-pr-nlp-analysis.lock.yml b/.github/workflows/copilot-pr-nlp-analysis.lock.yml index 037f6ff8d85..2468259928a 100644 --- a/.github/workflows/copilot-pr-nlp-analysis.lock.yml +++ b/.github/workflows/copilot-pr-nlp-analysis.lock.yml @@ -186,7 +186,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/copilot-pr-prompt-analysis.lock.yml b/.github/workflows/copilot-pr-prompt-analysis.lock.yml index 7d741ba6b2a..578400eec25 100644 --- a/.github/workflows/copilot-pr-prompt-analysis.lock.yml +++ b/.github/workflows/copilot-pr-prompt-analysis.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/copilot-session-insights.lock.yml b/.github/workflows/copilot-session-insights.lock.yml index 47dbf8fc9d9..458cdebb314 100644 --- a/.github/workflows/copilot-session-insights.lock.yml +++ b/.github/workflows/copilot-session-insights.lock.yml @@ -189,7 +189,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/craft.lock.yml b/.github/workflows/craft.lock.yml index ec396c49afc..0f6bc43da2b 100644 --- a/.github/workflows/craft.lock.yml +++ b/.github/workflows/craft.lock.yml @@ -185,7 +185,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml b/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml index 7087f20f170..51f84d432cf 100644 --- a/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml +++ b/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml @@ -189,7 +189,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-agentrx-trace-optimizer.lock.yml b/.github/workflows/daily-agentrx-trace-optimizer.lock.yml index 9dfd15a74e9..f6f7f905fb6 100644 --- a/.github/workflows/daily-agentrx-trace-optimizer.lock.yml +++ b/.github/workflows/daily-agentrx-trace-optimizer.lock.yml @@ -186,7 +186,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-ambient-context-optimizer.lock.yml b/.github/workflows/daily-ambient-context-optimizer.lock.yml index bc9bef431a4..ab61b7144a6 100644 --- a/.github/workflows/daily-ambient-context-optimizer.lock.yml +++ b/.github/workflows/daily-ambient-context-optimizer.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-architecture-diagram.lock.yml b/.github/workflows/daily-architecture-diagram.lock.yml index 3adbbb7f795..5eefaf9ed30 100644 --- a/.github/workflows/daily-architecture-diagram.lock.yml +++ b/.github/workflows/daily-architecture-diagram.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-assign-issue-to-user.lock.yml b/.github/workflows/daily-assign-issue-to-user.lock.yml index efa7a298f36..e9de8fef365 100644 --- a/.github/workflows/daily-assign-issue-to-user.lock.yml +++ b/.github/workflows/daily-assign-issue-to-user.lock.yml @@ -176,7 +176,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml b/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml index 7b7706cf3e9..e3a8a60a9a3 100644 --- a/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml +++ b/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml b/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml index 46989095939..b34a15a8c35 100644 --- a/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml +++ b/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml @@ -180,7 +180,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml b/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml index ee7a3f699d6..78dc37b841b 100644 --- a/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml +++ b/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml @@ -179,7 +179,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-byok-ollama-test.lock.yml b/.github/workflows/daily-byok-ollama-test.lock.yml index 73b3f40348b..cdc65aff383 100644 --- a/.github/workflows/daily-byok-ollama-test.lock.yml +++ b/.github/workflows/daily-byok-ollama-test.lock.yml @@ -158,7 +158,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-cache-strategy-analyzer.lock.yml b/.github/workflows/daily-cache-strategy-analyzer.lock.yml index 1a3a6598428..cab6cabe533 100644 --- a/.github/workflows/daily-cache-strategy-analyzer.lock.yml +++ b/.github/workflows/daily-cache-strategy-analyzer.lock.yml @@ -188,7 +188,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-caveman-optimizer.lock.yml b/.github/workflows/daily-caveman-optimizer.lock.yml index 60269ef1260..2ff11e24cd0 100644 --- a/.github/workflows/daily-caveman-optimizer.lock.yml +++ b/.github/workflows/daily-caveman-optimizer.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-choice-test.lock.yml b/.github/workflows/daily-choice-test.lock.yml index c8cb8fdb4a4..699c951a229 100644 --- a/.github/workflows/daily-choice-test.lock.yml +++ b/.github/workflows/daily-choice-test.lock.yml @@ -179,7 +179,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-cli-performance.lock.yml b/.github/workflows/daily-cli-performance.lock.yml index eab61fa40b3..89db665fa9f 100644 --- a/.github/workflows/daily-cli-performance.lock.yml +++ b/.github/workflows/daily-cli-performance.lock.yml @@ -210,7 +210,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-cli-tools-tester.lock.yml b/.github/workflows/daily-cli-tools-tester.lock.yml index be1484b5000..60dd43ee25d 100644 --- a/.github/workflows/daily-cli-tools-tester.lock.yml +++ b/.github/workflows/daily-cli-tools-tester.lock.yml @@ -184,7 +184,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-code-metrics.lock.yml b/.github/workflows/daily-code-metrics.lock.yml index ed5588ff91d..0a417a8b5a9 100644 --- a/.github/workflows/daily-code-metrics.lock.yml +++ b/.github/workflows/daily-code-metrics.lock.yml @@ -187,7 +187,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-community-attribution.lock.yml b/.github/workflows/daily-community-attribution.lock.yml index f2e655b8517..ee27da59ecd 100644 --- a/.github/workflows/daily-community-attribution.lock.yml +++ b/.github/workflows/daily-community-attribution.lock.yml @@ -184,7 +184,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-compiler-quality.lock.yml b/.github/workflows/daily-compiler-quality.lock.yml index a833c6edd87..4adce45c730 100644 --- a/.github/workflows/daily-compiler-quality.lock.yml +++ b/.github/workflows/daily-compiler-quality.lock.yml @@ -186,7 +186,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml b/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml index 1892c8b4206..ccfd94e2a26 100644 --- a/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml +++ b/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-credit-limit-test.lock.yml b/.github/workflows/daily-credit-limit-test.lock.yml index 5f62586fd5f..6783cbd44e4 100644 --- a/.github/workflows/daily-credit-limit-test.lock.yml +++ b/.github/workflows/daily-credit-limit-test.lock.yml @@ -160,7 +160,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-doc-healer.lock.yml b/.github/workflows/daily-doc-healer.lock.yml index 9413a5600cd..78ba92239a0 100644 --- a/.github/workflows/daily-doc-healer.lock.yml +++ b/.github/workflows/daily-doc-healer.lock.yml @@ -186,7 +186,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-doc-updater.lock.yml b/.github/workflows/daily-doc-updater.lock.yml index 0d2149ec961..4fad36cb4b8 100644 --- a/.github/workflows/daily-doc-updater.lock.yml +++ b/.github/workflows/daily-doc-updater.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-experiment-report.lock.yml b/.github/workflows/daily-experiment-report.lock.yml index 7d4caeb7ea1..2a1cc658f60 100644 --- a/.github/workflows/daily-experiment-report.lock.yml +++ b/.github/workflows/daily-experiment-report.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-fact.lock.yml b/.github/workflows/daily-fact.lock.yml index c8c764691bd..3f0c195fd71 100644 --- a/.github/workflows/daily-fact.lock.yml +++ b/.github/workflows/daily-fact.lock.yml @@ -186,7 +186,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-file-diet.lock.yml b/.github/workflows/daily-file-diet.lock.yml index e50d992d985..6c721ff060e 100644 --- a/.github/workflows/daily-file-diet.lock.yml +++ b/.github/workflows/daily-file-diet.lock.yml @@ -190,7 +190,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-firewall-report.lock.yml b/.github/workflows/daily-firewall-report.lock.yml index bd0f47dcd37..164126486d6 100644 --- a/.github/workflows/daily-firewall-report.lock.yml +++ b/.github/workflows/daily-firewall-report.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-formal-spec-verifier.lock.yml b/.github/workflows/daily-formal-spec-verifier.lock.yml index 83a82feca08..40489f7e20b 100644 --- a/.github/workflows/daily-formal-spec-verifier.lock.yml +++ b/.github/workflows/daily-formal-spec-verifier.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-function-namer.lock.yml b/.github/workflows/daily-function-namer.lock.yml index 328edac084d..fcc9e7e92e2 100644 --- a/.github/workflows/daily-function-namer.lock.yml +++ b/.github/workflows/daily-function-namer.lock.yml @@ -187,7 +187,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-geo-optimizer.lock.yml b/.github/workflows/daily-geo-optimizer.lock.yml index 026242748e2..1415d1815bd 100644 --- a/.github/workflows/daily-geo-optimizer.lock.yml +++ b/.github/workflows/daily-geo-optimizer.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-hippo-learn.lock.yml b/.github/workflows/daily-hippo-learn.lock.yml index 06a7f736c2d..a3c723c0a9a 100644 --- a/.github/workflows/daily-hippo-learn.lock.yml +++ b/.github/workflows/daily-hippo-learn.lock.yml @@ -179,7 +179,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-issues-report.lock.yml b/.github/workflows/daily-issues-report.lock.yml index f9d31739f43..4a6da66d98e 100644 --- a/.github/workflows/daily-issues-report.lock.yml +++ b/.github/workflows/daily-issues-report.lock.yml @@ -190,7 +190,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-malicious-code-scan.lock.yml b/.github/workflows/daily-malicious-code-scan.lock.yml index 1a97222fde7..5282b7da376 100644 --- a/.github/workflows/daily-malicious-code-scan.lock.yml +++ b/.github/workflows/daily-malicious-code-scan.lock.yml @@ -180,7 +180,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-mcp-concurrency-analysis.lock.yml b/.github/workflows/daily-mcp-concurrency-analysis.lock.yml index de65e3fdced..a1139aa97c8 100644 --- a/.github/workflows/daily-mcp-concurrency-analysis.lock.yml +++ b/.github/workflows/daily-mcp-concurrency-analysis.lock.yml @@ -184,7 +184,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-model-inventory.lock.yml b/.github/workflows/daily-model-inventory.lock.yml index a6ba60e8b98..82546a1fac0 100644 --- a/.github/workflows/daily-model-inventory.lock.yml +++ b/.github/workflows/daily-model-inventory.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-multi-device-docs-tester.lock.yml b/.github/workflows/daily-multi-device-docs-tester.lock.yml index 0b50ff4fdc7..9a514f26b7b 100644 --- a/.github/workflows/daily-multi-device-docs-tester.lock.yml +++ b/.github/workflows/daily-multi-device-docs-tester.lock.yml @@ -185,7 +185,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-news.lock.yml b/.github/workflows/daily-news.lock.yml index 3c1b179f107..d39b665b11e 100644 --- a/.github/workflows/daily-news.lock.yml +++ b/.github/workflows/daily-news.lock.yml @@ -188,7 +188,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-observability-report.lock.yml b/.github/workflows/daily-observability-report.lock.yml index 912062e1aa1..8c50d18157d 100644 --- a/.github/workflows/daily-observability-report.lock.yml +++ b/.github/workflows/daily-observability-report.lock.yml @@ -187,7 +187,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-performance-summary.lock.yml b/.github/workflows/daily-performance-summary.lock.yml index 4337b6db40f..b7c6066644c 100644 --- a/.github/workflows/daily-performance-summary.lock.yml +++ b/.github/workflows/daily-performance-summary.lock.yml @@ -186,7 +186,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-regulatory.lock.yml b/.github/workflows/daily-regulatory.lock.yml index eddcccde4c0..573ecb6096d 100644 --- a/.github/workflows/daily-regulatory.lock.yml +++ b/.github/workflows/daily-regulatory.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-reliability-review.lock.yml b/.github/workflows/daily-reliability-review.lock.yml index f6c0b2c1f6a..a696325f787 100644 --- a/.github/workflows/daily-reliability-review.lock.yml +++ b/.github/workflows/daily-reliability-review.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-rendering-scripts-verifier.lock.yml b/.github/workflows/daily-rendering-scripts-verifier.lock.yml index 89aa61d18e3..a00e16ae322 100644 --- a/.github/workflows/daily-rendering-scripts-verifier.lock.yml +++ b/.github/workflows/daily-rendering-scripts-verifier.lock.yml @@ -194,7 +194,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-repo-chronicle.lock.yml b/.github/workflows/daily-repo-chronicle.lock.yml index 281a9d4e4fb..20bba1e79d0 100644 --- a/.github/workflows/daily-repo-chronicle.lock.yml +++ b/.github/workflows/daily-repo-chronicle.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-safe-output-integrator.lock.yml b/.github/workflows/daily-safe-output-integrator.lock.yml index 35306178326..1a77aebdc7e 100644 --- a/.github/workflows/daily-safe-output-integrator.lock.yml +++ b/.github/workflows/daily-safe-output-integrator.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-safe-output-optimizer.lock.yml b/.github/workflows/daily-safe-output-optimizer.lock.yml index 778dc4215de..67795bee590 100644 --- a/.github/workflows/daily-safe-output-optimizer.lock.yml +++ b/.github/workflows/daily-safe-output-optimizer.lock.yml @@ -194,7 +194,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-safe-outputs-conformance.lock.yml b/.github/workflows/daily-safe-outputs-conformance.lock.yml index 0bdc0f9e5fb..3f45a48a45a 100644 --- a/.github/workflows/daily-safe-outputs-conformance.lock.yml +++ b/.github/workflows/daily-safe-outputs-conformance.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-safeoutputs-git-simulator.lock.yml b/.github/workflows/daily-safeoutputs-git-simulator.lock.yml index 869b63ae696..9d4dd9abd69 100644 --- a/.github/workflows/daily-safeoutputs-git-simulator.lock.yml +++ b/.github/workflows/daily-safeoutputs-git-simulator.lock.yml @@ -162,7 +162,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-secrets-analysis.lock.yml b/.github/workflows/daily-secrets-analysis.lock.yml index a0718c481f9..3d7544d9826 100644 --- a/.github/workflows/daily-secrets-analysis.lock.yml +++ b/.github/workflows/daily-secrets-analysis.lock.yml @@ -180,7 +180,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-security-observability.lock.yml b/.github/workflows/daily-security-observability.lock.yml index 90fcd1f788f..61bfd35ebf6 100644 --- a/.github/workflows/daily-security-observability.lock.yml +++ b/.github/workflows/daily-security-observability.lock.yml @@ -194,7 +194,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-security-red-team.lock.yml b/.github/workflows/daily-security-red-team.lock.yml index b43fc297645..137b46c40ec 100644 --- a/.github/workflows/daily-security-red-team.lock.yml +++ b/.github/workflows/daily-security-red-team.lock.yml @@ -185,7 +185,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-semgrep-scan.lock.yml b/.github/workflows/daily-semgrep-scan.lock.yml index f2464cd698d..26dbfd8d0ca 100644 --- a/.github/workflows/daily-semgrep-scan.lock.yml +++ b/.github/workflows/daily-semgrep-scan.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-sentrux-report.lock.yml b/.github/workflows/daily-sentrux-report.lock.yml index 2b9b980fdb0..56b5f6c4020 100644 --- a/.github/workflows/daily-sentrux-report.lock.yml +++ b/.github/workflows/daily-sentrux-report.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-skill-optimizer.lock.yml b/.github/workflows/daily-skill-optimizer.lock.yml index 5d566a65b5b..400b7fae276 100644 --- a/.github/workflows/daily-skill-optimizer.lock.yml +++ b/.github/workflows/daily-skill-optimizer.lock.yml @@ -179,7 +179,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-spdd-spec-planner.lock.yml b/.github/workflows/daily-spdd-spec-planner.lock.yml index 318dc1ae4a5..13bbd4063ac 100644 --- a/.github/workflows/daily-spdd-spec-planner.lock.yml +++ b/.github/workflows/daily-spdd-spec-planner.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-syntax-error-quality.lock.yml b/.github/workflows/daily-syntax-error-quality.lock.yml index 498ab72788c..36b054ca1e6 100644 --- a/.github/workflows/daily-syntax-error-quality.lock.yml +++ b/.github/workflows/daily-syntax-error-quality.lock.yml @@ -177,7 +177,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-team-evolution-insights.lock.yml b/.github/workflows/daily-team-evolution-insights.lock.yml index 3e38ba94127..074f4744e9b 100644 --- a/.github/workflows/daily-team-evolution-insights.lock.yml +++ b/.github/workflows/daily-team-evolution-insights.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-team-status.lock.yml b/.github/workflows/daily-team-status.lock.yml index 585fec33e46..724af397196 100644 --- a/.github/workflows/daily-team-status.lock.yml +++ b/.github/workflows/daily-team-status.lock.yml @@ -167,7 +167,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-testify-uber-super-expert.lock.yml b/.github/workflows/daily-testify-uber-super-expert.lock.yml index 887e6433818..00275ec7eaa 100644 --- a/.github/workflows/daily-testify-uber-super-expert.lock.yml +++ b/.github/workflows/daily-testify-uber-super-expert.lock.yml @@ -190,7 +190,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-token-consumption-report.lock.yml b/.github/workflows/daily-token-consumption-report.lock.yml index b3819f87a62..55f527f9501 100644 --- a/.github/workflows/daily-token-consumption-report.lock.yml +++ b/.github/workflows/daily-token-consumption-report.lock.yml @@ -189,7 +189,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-windows-terminal-integration-builder.lock.yml b/.github/workflows/daily-windows-terminal-integration-builder.lock.yml index 4e3e352acae..6bba055360a 100644 --- a/.github/workflows/daily-windows-terminal-integration-builder.lock.yml +++ b/.github/workflows/daily-windows-terminal-integration-builder.lock.yml @@ -161,7 +161,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/daily-workflow-updater.lock.yml b/.github/workflows/daily-workflow-updater.lock.yml index 3bcb4151f34..2cea3d3e5f5 100644 --- a/.github/workflows/daily-workflow-updater.lock.yml +++ b/.github/workflows/daily-workflow-updater.lock.yml @@ -178,7 +178,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dataflow-pr-discussion-dataset.lock.yml b/.github/workflows/dataflow-pr-discussion-dataset.lock.yml index 4dd842ff783..e86548a2456 100644 --- a/.github/workflows/dataflow-pr-discussion-dataset.lock.yml +++ b/.github/workflows/dataflow-pr-discussion-dataset.lock.yml @@ -185,7 +185,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dead-code-remover.lock.yml b/.github/workflows/dead-code-remover.lock.yml index 7907002449f..a0275a0c19f 100644 --- a/.github/workflows/dead-code-remover.lock.yml +++ b/.github/workflows/dead-code-remover.lock.yml @@ -187,7 +187,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/deep-report.lock.yml b/.github/workflows/deep-report.lock.yml index c035e703698..4ac564f72ca 100644 --- a/.github/workflows/deep-report.lock.yml +++ b/.github/workflows/deep-report.lock.yml @@ -191,7 +191,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/delight.lock.yml b/.github/workflows/delight.lock.yml index 73c78abfde0..f6870f93b9e 100644 --- a/.github/workflows/delight.lock.yml +++ b/.github/workflows/delight.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dependabot-burner.lock.yml b/.github/workflows/dependabot-burner.lock.yml index d0003666ba3..4cbf948a29d 100644 --- a/.github/workflows/dependabot-burner.lock.yml +++ b/.github/workflows/dependabot-burner.lock.yml @@ -178,7 +178,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dependabot-campaign.lock.yml b/.github/workflows/dependabot-campaign.lock.yml index 5955b2a15f5..31af167bdee 100644 --- a/.github/workflows/dependabot-campaign.lock.yml +++ b/.github/workflows/dependabot-campaign.lock.yml @@ -188,7 +188,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dependabot-go-checker.lock.yml b/.github/workflows/dependabot-go-checker.lock.yml index d65c3bfdf39..78a05b51189 100644 --- a/.github/workflows/dependabot-go-checker.lock.yml +++ b/.github/workflows/dependabot-go-checker.lock.yml @@ -180,7 +180,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dependabot-repair.lock.yml b/.github/workflows/dependabot-repair.lock.yml index 457696d7f3e..27f2671103d 100644 --- a/.github/workflows/dependabot-repair.lock.yml +++ b/.github/workflows/dependabot-repair.lock.yml @@ -189,7 +189,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dependabot-worker.lock.yml b/.github/workflows/dependabot-worker.lock.yml index bb570d65889..e7eaaf45a2f 100644 --- a/.github/workflows/dependabot-worker.lock.yml +++ b/.github/workflows/dependabot-worker.lock.yml @@ -272,7 +272,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/deployment-incident-monitor.lock.yml b/.github/workflows/deployment-incident-monitor.lock.yml index 7aa0f18b4f7..c678d1bb6b6 100644 --- a/.github/workflows/deployment-incident-monitor.lock.yml +++ b/.github/workflows/deployment-incident-monitor.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/design-decision-gate.lock.yml b/.github/workflows/design-decision-gate.lock.yml index 031233f4ee8..ba70faa8457 100644 --- a/.github/workflows/design-decision-gate.lock.yml +++ b/.github/workflows/design-decision-gate.lock.yml @@ -201,7 +201,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/designer-drift-audit.lock.yml b/.github/workflows/designer-drift-audit.lock.yml index 3001dd8abc5..740fd0c89a5 100644 --- a/.github/workflows/designer-drift-audit.lock.yml +++ b/.github/workflows/designer-drift-audit.lock.yml @@ -161,7 +161,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dev-hawk.lock.yml b/.github/workflows/dev-hawk.lock.yml index 2197881d568..dc04cb20602 100644 --- a/.github/workflows/dev-hawk.lock.yml +++ b/.github/workflows/dev-hawk.lock.yml @@ -188,7 +188,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dev.lock.yml b/.github/workflows/dev.lock.yml index 3094f6665fd..4195c011dec 100644 --- a/.github/workflows/dev.lock.yml +++ b/.github/workflows/dev.lock.yml @@ -198,7 +198,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/developer-docs-consolidator.lock.yml b/.github/workflows/developer-docs-consolidator.lock.yml index 9170a8d6c82..0a9d0942d8d 100644 --- a/.github/workflows/developer-docs-consolidator.lock.yml +++ b/.github/workflows/developer-docs-consolidator.lock.yml @@ -186,7 +186,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/dictation-prompt.lock.yml b/.github/workflows/dictation-prompt.lock.yml index c8bc758c2da..1e3ab46dc88 100644 --- a/.github/workflows/dictation-prompt.lock.yml +++ b/.github/workflows/dictation-prompt.lock.yml @@ -179,7 +179,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/discussion-task-miner.lock.yml b/.github/workflows/discussion-task-miner.lock.yml index 45c47ad34f8..9de6f1f0dcc 100644 --- a/.github/workflows/discussion-task-miner.lock.yml +++ b/.github/workflows/discussion-task-miner.lock.yml @@ -180,7 +180,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/docs-noob-tester.lock.yml b/.github/workflows/docs-noob-tester.lock.yml index 1437dca2cf4..b7de5a93517 100644 --- a/.github/workflows/docs-noob-tester.lock.yml +++ b/.github/workflows/docs-noob-tester.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/draft-pr-cleanup.lock.yml b/.github/workflows/draft-pr-cleanup.lock.yml index 43dc9823101..84b6323697a 100644 --- a/.github/workflows/draft-pr-cleanup.lock.yml +++ b/.github/workflows/draft-pr-cleanup.lock.yml @@ -177,7 +177,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/duplicate-code-detector.lock.yml b/.github/workflows/duplicate-code-detector.lock.yml index 83661470d0c..218ac98a54a 100644 --- a/.github/workflows/duplicate-code-detector.lock.yml +++ b/.github/workflows/duplicate-code-detector.lock.yml @@ -185,7 +185,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/example-permissions-warning.lock.yml b/.github/workflows/example-permissions-warning.lock.yml index 647686569df..26b04d12ab9 100644 --- a/.github/workflows/example-permissions-warning.lock.yml +++ b/.github/workflows/example-permissions-warning.lock.yml @@ -174,7 +174,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/example-workflow-analyzer.lock.yml b/.github/workflows/example-workflow-analyzer.lock.yml index 0be627a00fa..6c70b95606d 100644 --- a/.github/workflows/example-workflow-analyzer.lock.yml +++ b/.github/workflows/example-workflow-analyzer.lock.yml @@ -186,7 +186,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/firewall-escape.lock.yml b/.github/workflows/firewall-escape.lock.yml index 595e0617090..3fc60471293 100644 --- a/.github/workflows/firewall-escape.lock.yml +++ b/.github/workflows/firewall-escape.lock.yml @@ -192,7 +192,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/firewall.lock.yml b/.github/workflows/firewall.lock.yml index cf960d89994..d1605541cac 100644 --- a/.github/workflows/firewall.lock.yml +++ b/.github/workflows/firewall.lock.yml @@ -174,7 +174,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/functional-pragmatist.lock.yml b/.github/workflows/functional-pragmatist.lock.yml index a42e829cebf..7f6722eab07 100644 --- a/.github/workflows/functional-pragmatist.lock.yml +++ b/.github/workflows/functional-pragmatist.lock.yml @@ -179,7 +179,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/github-mcp-structural-analysis.lock.yml b/.github/workflows/github-mcp-structural-analysis.lock.yml index e4a69347989..53b6f6a4ea7 100644 --- a/.github/workflows/github-mcp-structural-analysis.lock.yml +++ b/.github/workflows/github-mcp-structural-analysis.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/github-mcp-tools-report.lock.yml b/.github/workflows/github-mcp-tools-report.lock.yml index b44b58266b0..9f99fa50661 100644 --- a/.github/workflows/github-mcp-tools-report.lock.yml +++ b/.github/workflows/github-mcp-tools-report.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/github-remote-mcp-auth-test.lock.yml b/.github/workflows/github-remote-mcp-auth-test.lock.yml index 1b467aee456..4de6d2cb333 100644 --- a/.github/workflows/github-remote-mcp-auth-test.lock.yml +++ b/.github/workflows/github-remote-mcp-auth-test.lock.yml @@ -180,7 +180,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/glossary-maintainer.lock.yml b/.github/workflows/glossary-maintainer.lock.yml index 77d04aeb59d..49b0ef42830 100644 --- a/.github/workflows/glossary-maintainer.lock.yml +++ b/.github/workflows/glossary-maintainer.lock.yml @@ -185,7 +185,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/go-fan.lock.yml b/.github/workflows/go-fan.lock.yml index 537b604e291..d4a0563ab2f 100644 --- a/.github/workflows/go-fan.lock.yml +++ b/.github/workflows/go-fan.lock.yml @@ -186,7 +186,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/go-logger.lock.yml b/.github/workflows/go-logger.lock.yml index 8f24b18526d..4105680f7a8 100644 --- a/.github/workflows/go-logger.lock.yml +++ b/.github/workflows/go-logger.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/go-pattern-detector.lock.yml b/.github/workflows/go-pattern-detector.lock.yml index 971db5eaa2e..47191b3e940 100644 --- a/.github/workflows/go-pattern-detector.lock.yml +++ b/.github/workflows/go-pattern-detector.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/gpclean.lock.yml b/.github/workflows/gpclean.lock.yml index d1597e97a24..03d4f1e057a 100644 --- a/.github/workflows/gpclean.lock.yml +++ b/.github/workflows/gpclean.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/grumpy-reviewer.lock.yml b/.github/workflows/grumpy-reviewer.lock.yml index 4004c209f82..1e2b93c1b18 100644 --- a/.github/workflows/grumpy-reviewer.lock.yml +++ b/.github/workflows/grumpy-reviewer.lock.yml @@ -189,7 +189,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/hippo-embed.lock.yml b/.github/workflows/hippo-embed.lock.yml index 664dbaf58a3..099eb996ad1 100644 --- a/.github/workflows/hippo-embed.lock.yml +++ b/.github/workflows/hippo-embed.lock.yml @@ -177,7 +177,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/hourly-ci-cleaner.lock.yml b/.github/workflows/hourly-ci-cleaner.lock.yml index 0ca15f7811a..e6f6e429de8 100644 --- a/.github/workflows/hourly-ci-cleaner.lock.yml +++ b/.github/workflows/hourly-ci-cleaner.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/instructions-janitor.lock.yml b/.github/workflows/instructions-janitor.lock.yml index 6433373a839..d24b3fb61fc 100644 --- a/.github/workflows/instructions-janitor.lock.yml +++ b/.github/workflows/instructions-janitor.lock.yml @@ -180,7 +180,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/issue-arborist.lock.yml b/.github/workflows/issue-arborist.lock.yml index 2a927587e30..f4a48769243 100644 --- a/.github/workflows/issue-arborist.lock.yml +++ b/.github/workflows/issue-arborist.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/issue-monster.lock.yml b/.github/workflows/issue-monster.lock.yml index a5f31b56c47..01d776376e3 100644 --- a/.github/workflows/issue-monster.lock.yml +++ b/.github/workflows/issue-monster.lock.yml @@ -568,7 +568,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/issue-triage-agent.lock.yml b/.github/workflows/issue-triage-agent.lock.yml index ede07a1fc31..0ea328d802f 100644 --- a/.github/workflows/issue-triage-agent.lock.yml +++ b/.github/workflows/issue-triage-agent.lock.yml @@ -178,7 +178,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/jsweep.lock.yml b/.github/workflows/jsweep.lock.yml index 89eea81b79f..d85555c1019 100644 --- a/.github/workflows/jsweep.lock.yml +++ b/.github/workflows/jsweep.lock.yml @@ -180,7 +180,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/layout-spec-maintainer.lock.yml b/.github/workflows/layout-spec-maintainer.lock.yml index 24c3a7646c7..815f551cff9 100644 --- a/.github/workflows/layout-spec-maintainer.lock.yml +++ b/.github/workflows/layout-spec-maintainer.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/lint-monster.lock.yml b/.github/workflows/lint-monster.lock.yml index e7de2fc4650..22f1a803c6b 100644 --- a/.github/workflows/lint-monster.lock.yml +++ b/.github/workflows/lint-monster.lock.yml @@ -180,7 +180,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/linter-miner.lock.yml b/.github/workflows/linter-miner.lock.yml index d73f342d0cb..4323164e0bc 100644 --- a/.github/workflows/linter-miner.lock.yml +++ b/.github/workflows/linter-miner.lock.yml @@ -180,7 +180,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/lockfile-stats.lock.yml b/.github/workflows/lockfile-stats.lock.yml index 3d583462659..4b5c315a22a 100644 --- a/.github/workflows/lockfile-stats.lock.yml +++ b/.github/workflows/lockfile-stats.lock.yml @@ -181,7 +181,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/mattpocock-skills-reviewer.lock.yml b/.github/workflows/mattpocock-skills-reviewer.lock.yml index e55fbac1127..d7684f02a25 100644 --- a/.github/workflows/mattpocock-skills-reviewer.lock.yml +++ b/.github/workflows/mattpocock-skills-reviewer.lock.yml @@ -190,7 +190,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/mcp-inspector.lock.yml b/.github/workflows/mcp-inspector.lock.yml index c73adc9e092..6407d923214 100644 --- a/.github/workflows/mcp-inspector.lock.yml +++ b/.github/workflows/mcp-inspector.lock.yml @@ -226,7 +226,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/mergefest.lock.yml b/.github/workflows/mergefest.lock.yml index 53a9b3c66f6..a504141de88 100644 --- a/.github/workflows/mergefest.lock.yml +++ b/.github/workflows/mergefest.lock.yml @@ -188,7 +188,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/metrics-collector.lock.yml b/.github/workflows/metrics-collector.lock.yml index 06310f07715..151a1214d61 100644 --- a/.github/workflows/metrics-collector.lock.yml +++ b/.github/workflows/metrics-collector.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/necromancer.lock.yml b/.github/workflows/necromancer.lock.yml index 3c005ad1f0e..2502d441506 100644 --- a/.github/workflows/necromancer.lock.yml +++ b/.github/workflows/necromancer.lock.yml @@ -196,7 +196,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/notion-issue-summary.lock.yml b/.github/workflows/notion-issue-summary.lock.yml index 976ed439f6d..82e1b0a1315 100644 --- a/.github/workflows/notion-issue-summary.lock.yml +++ b/.github/workflows/notion-issue-summary.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/objective-impact-report.lock.yml b/.github/workflows/objective-impact-report.lock.yml index f4021b046b6..5e0c1d08933 100644 --- a/.github/workflows/objective-impact-report.lock.yml +++ b/.github/workflows/objective-impact-report.lock.yml @@ -157,7 +157,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/org-health-report.lock.yml b/.github/workflows/org-health-report.lock.yml index 3282fa00028..91c6e12ab97 100644 --- a/.github/workflows/org-health-report.lock.yml +++ b/.github/workflows/org-health-report.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/outcome-collector.lock.yml b/.github/workflows/outcome-collector.lock.yml index 327fa558add..d16bf7996f4 100644 --- a/.github/workflows/outcome-collector.lock.yml +++ b/.github/workflows/outcome-collector.lock.yml @@ -179,7 +179,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/pdf-summary.lock.yml b/.github/workflows/pdf-summary.lock.yml index 18a3b7278a9..3689c2f95a2 100644 --- a/.github/workflows/pdf-summary.lock.yml +++ b/.github/workflows/pdf-summary.lock.yml @@ -198,7 +198,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/plan.lock.yml b/.github/workflows/plan.lock.yml index a00769b481a..099d3aaf5ff 100644 --- a/.github/workflows/plan.lock.yml +++ b/.github/workflows/plan.lock.yml @@ -187,7 +187,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/poem-bot.lock.yml b/.github/workflows/poem-bot.lock.yml index 59fb70ba048..0687b7a4039 100644 --- a/.github/workflows/poem-bot.lock.yml +++ b/.github/workflows/poem-bot.lock.yml @@ -195,7 +195,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/pr-code-quality-reviewer.lock.yml b/.github/workflows/pr-code-quality-reviewer.lock.yml index 3852681b40e..ab4a05b50c0 100644 --- a/.github/workflows/pr-code-quality-reviewer.lock.yml +++ b/.github/workflows/pr-code-quality-reviewer.lock.yml @@ -191,7 +191,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/pr-description-caveman.lock.yml b/.github/workflows/pr-description-caveman.lock.yml index d0245e91391..d1fee66ca9e 100644 --- a/.github/workflows/pr-description-caveman.lock.yml +++ b/.github/workflows/pr-description-caveman.lock.yml @@ -163,7 +163,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/pr-nitpick-reviewer.lock.yml b/.github/workflows/pr-nitpick-reviewer.lock.yml index 5dc6f559ed2..c55b89f7c56 100644 --- a/.github/workflows/pr-nitpick-reviewer.lock.yml +++ b/.github/workflows/pr-nitpick-reviewer.lock.yml @@ -189,7 +189,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/pr-sous-chef.lock.yml b/.github/workflows/pr-sous-chef.lock.yml index 64da341287e..a203802d68d 100644 --- a/.github/workflows/pr-sous-chef.lock.yml +++ b/.github/workflows/pr-sous-chef.lock.yml @@ -184,7 +184,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/pr-triage-agent.lock.yml b/.github/workflows/pr-triage-agent.lock.yml index 57e3517cedf..7bf037835e4 100644 --- a/.github/workflows/pr-triage-agent.lock.yml +++ b/.github/workflows/pr-triage-agent.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/prompt-clustering-analysis.lock.yml b/.github/workflows/prompt-clustering-analysis.lock.yml index fe16e624683..ce67d39203f 100644 --- a/.github/workflows/prompt-clustering-analysis.lock.yml +++ b/.github/workflows/prompt-clustering-analysis.lock.yml @@ -195,7 +195,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/python-data-charts.lock.yml b/.github/workflows/python-data-charts.lock.yml index 2eecbe04783..03ce2d23905 100644 --- a/.github/workflows/python-data-charts.lock.yml +++ b/.github/workflows/python-data-charts.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/q.lock.yml b/.github/workflows/q.lock.yml index 348ef20419a..d4b49dd7622 100644 --- a/.github/workflows/q.lock.yml +++ b/.github/workflows/q.lock.yml @@ -214,7 +214,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/refactoring-cadence.lock.yml b/.github/workflows/refactoring-cadence.lock.yml index 3072e66559c..464a6b437ff 100644 --- a/.github/workflows/refactoring-cadence.lock.yml +++ b/.github/workflows/refactoring-cadence.lock.yml @@ -185,7 +185,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/refiner.lock.yml b/.github/workflows/refiner.lock.yml index f1c0528990c..ee4e7184f0e 100644 --- a/.github/workflows/refiner.lock.yml +++ b/.github/workflows/refiner.lock.yml @@ -199,7 +199,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/release.lock.yml b/.github/workflows/release.lock.yml index 6cdcf0f9650..80a9b97ac0f 100644 --- a/.github/workflows/release.lock.yml +++ b/.github/workflows/release.lock.yml @@ -197,7 +197,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/repo-audit-analyzer.lock.yml b/.github/workflows/repo-audit-analyzer.lock.yml index 6361d17e9b5..dff2cfda035 100644 --- a/.github/workflows/repo-audit-analyzer.lock.yml +++ b/.github/workflows/repo-audit-analyzer.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/repo-tree-map.lock.yml b/.github/workflows/repo-tree-map.lock.yml index 606fb301881..feefdec73bf 100644 --- a/.github/workflows/repo-tree-map.lock.yml +++ b/.github/workflows/repo-tree-map.lock.yml @@ -179,7 +179,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/repository-quality-improver.lock.yml b/.github/workflows/repository-quality-improver.lock.yml index f3424b06b18..f4ffd1cb849 100644 --- a/.github/workflows/repository-quality-improver.lock.yml +++ b/.github/workflows/repository-quality-improver.lock.yml @@ -188,7 +188,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/research.lock.yml b/.github/workflows/research.lock.yml index 34fcc877e5f..15e5ce86e9c 100644 --- a/.github/workflows/research.lock.yml +++ b/.github/workflows/research.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/ruflo-backed-task.lock.yml b/.github/workflows/ruflo-backed-task.lock.yml index 447f9d8d01b..fedebc07233 100644 --- a/.github/workflows/ruflo-backed-task.lock.yml +++ b/.github/workflows/ruflo-backed-task.lock.yml @@ -174,7 +174,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/safe-output-health.lock.yml b/.github/workflows/safe-output-health.lock.yml index 55ea224494d..f0cab91a2ad 100644 --- a/.github/workflows/safe-output-health.lock.yml +++ b/.github/workflows/safe-output-health.lock.yml @@ -186,7 +186,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/schema-consistency-checker.lock.yml b/.github/workflows/schema-consistency-checker.lock.yml index 39975d6c50e..c600b14bef4 100644 --- a/.github/workflows/schema-consistency-checker.lock.yml +++ b/.github/workflows/schema-consistency-checker.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/schema-feature-coverage.lock.yml b/.github/workflows/schema-feature-coverage.lock.yml index 13581bd9e24..cb4a42128f2 100644 --- a/.github/workflows/schema-feature-coverage.lock.yml +++ b/.github/workflows/schema-feature-coverage.lock.yml @@ -179,7 +179,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/scout.lock.yml b/.github/workflows/scout.lock.yml index e897b42ad45..f3556f4659b 100644 --- a/.github/workflows/scout.lock.yml +++ b/.github/workflows/scout.lock.yml @@ -211,7 +211,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/security-compliance.lock.yml b/.github/workflows/security-compliance.lock.yml index 864ba831664..15f284c402c 100644 --- a/.github/workflows/security-compliance.lock.yml +++ b/.github/workflows/security-compliance.lock.yml @@ -187,7 +187,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/security-review.lock.yml b/.github/workflows/security-review.lock.yml index f6424ad90ec..aea95d844e7 100644 --- a/.github/workflows/security-review.lock.yml +++ b/.github/workflows/security-review.lock.yml @@ -190,7 +190,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/semantic-function-refactor.lock.yml b/.github/workflows/semantic-function-refactor.lock.yml index 68ac6625e34..ccf2c8c2946 100644 --- a/.github/workflows/semantic-function-refactor.lock.yml +++ b/.github/workflows/semantic-function-refactor.lock.yml @@ -184,7 +184,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/sergo.lock.yml b/.github/workflows/sergo.lock.yml index f044920f0a7..9a7836ff8dc 100644 --- a/.github/workflows/sergo.lock.yml +++ b/.github/workflows/sergo.lock.yml @@ -185,7 +185,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/slide-deck-maintainer.lock.yml b/.github/workflows/slide-deck-maintainer.lock.yml index e7eb5127f36..7d0aeb0ba98 100644 --- a/.github/workflows/slide-deck-maintainer.lock.yml +++ b/.github/workflows/slide-deck-maintainer.lock.yml @@ -191,7 +191,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-agent-all-merged.lock.yml b/.github/workflows/smoke-agent-all-merged.lock.yml index aeab39fb6e6..6748cca4470 100644 --- a/.github/workflows/smoke-agent-all-merged.lock.yml +++ b/.github/workflows/smoke-agent-all-merged.lock.yml @@ -192,7 +192,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-agent-all-none.lock.yml b/.github/workflows/smoke-agent-all-none.lock.yml index 0b060fb763c..741673a9be5 100644 --- a/.github/workflows/smoke-agent-all-none.lock.yml +++ b/.github/workflows/smoke-agent-all-none.lock.yml @@ -192,7 +192,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-agent-public-approved.lock.yml b/.github/workflows/smoke-agent-public-approved.lock.yml index d7f1c399521..3dda2a3e730 100644 --- a/.github/workflows/smoke-agent-public-approved.lock.yml +++ b/.github/workflows/smoke-agent-public-approved.lock.yml @@ -194,7 +194,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-agent-public-none.lock.yml b/.github/workflows/smoke-agent-public-none.lock.yml index c0edb2c48ec..855c129cefc 100644 --- a/.github/workflows/smoke-agent-public-none.lock.yml +++ b/.github/workflows/smoke-agent-public-none.lock.yml @@ -192,7 +192,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-agent-scoped-approved.lock.yml b/.github/workflows/smoke-agent-scoped-approved.lock.yml index 65716fb630c..681c4ce6e55 100644 --- a/.github/workflows/smoke-agent-scoped-approved.lock.yml +++ b/.github/workflows/smoke-agent-scoped-approved.lock.yml @@ -193,7 +193,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-antigravity.lock.yml b/.github/workflows/smoke-antigravity.lock.yml index 2c17101cac4..3ed377477c9 100644 --- a/.github/workflows/smoke-antigravity.lock.yml +++ b/.github/workflows/smoke-antigravity.lock.yml @@ -196,7 +196,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-call-workflow.lock.yml b/.github/workflows/smoke-call-workflow.lock.yml index ce0c01772db..0c94cb42991 100644 --- a/.github/workflows/smoke-call-workflow.lock.yml +++ b/.github/workflows/smoke-call-workflow.lock.yml @@ -195,7 +195,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-ci.lock.yml b/.github/workflows/smoke-ci.lock.yml index 23997a6232e..a715c30f317 100644 --- a/.github/workflows/smoke-ci.lock.yml +++ b/.github/workflows/smoke-ci.lock.yml @@ -200,7 +200,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-claude.lock.yml b/.github/workflows/smoke-claude.lock.yml index 14af4e09f66..7cf48eb9f3b 100644 --- a/.github/workflows/smoke-claude.lock.yml +++ b/.github/workflows/smoke-claude.lock.yml @@ -205,7 +205,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-codex.lock.yml b/.github/workflows/smoke-codex.lock.yml index 4224ff11db1..8b333b20640 100644 --- a/.github/workflows/smoke-codex.lock.yml +++ b/.github/workflows/smoke-codex.lock.yml @@ -204,7 +204,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-copilot-aoai-apikey.lock.yml b/.github/workflows/smoke-copilot-aoai-apikey.lock.yml index 6dbbd2011da..32b423d40fb 100644 --- a/.github/workflows/smoke-copilot-aoai-apikey.lock.yml +++ b/.github/workflows/smoke-copilot-aoai-apikey.lock.yml @@ -203,7 +203,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-copilot-aoai-entra.lock.yml b/.github/workflows/smoke-copilot-aoai-entra.lock.yml index acffba49353..f955971752b 100644 --- a/.github/workflows/smoke-copilot-aoai-entra.lock.yml +++ b/.github/workflows/smoke-copilot-aoai-entra.lock.yml @@ -202,7 +202,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-copilot-arm.lock.yml b/.github/workflows/smoke-copilot-arm.lock.yml index 4bfadb42b62..ca0a9d8e7d7 100644 --- a/.github/workflows/smoke-copilot-arm.lock.yml +++ b/.github/workflows/smoke-copilot-arm.lock.yml @@ -203,7 +203,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-copilot-sdk.lock.yml b/.github/workflows/smoke-copilot-sdk.lock.yml index d853768e667..267c8c1de4f 100644 --- a/.github/workflows/smoke-copilot-sdk.lock.yml +++ b/.github/workflows/smoke-copilot-sdk.lock.yml @@ -172,7 +172,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-copilot.lock.yml b/.github/workflows/smoke-copilot.lock.yml index 63d4d2ec37c..bfd26c202eb 100644 --- a/.github/workflows/smoke-copilot.lock.yml +++ b/.github/workflows/smoke-copilot.lock.yml @@ -204,7 +204,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-create-cross-repo-pr.lock.yml b/.github/workflows/smoke-create-cross-repo-pr.lock.yml index cff3fb2ce73..802275037f5 100644 --- a/.github/workflows/smoke-create-cross-repo-pr.lock.yml +++ b/.github/workflows/smoke-create-cross-repo-pr.lock.yml @@ -193,7 +193,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-crush.lock.yml b/.github/workflows/smoke-crush.lock.yml index 7da182cf64f..2257cb91209 100644 --- a/.github/workflows/smoke-crush.lock.yml +++ b/.github/workflows/smoke-crush.lock.yml @@ -194,7 +194,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-gemini.lock.yml b/.github/workflows/smoke-gemini.lock.yml index 1fc06cc0d82..0874d54b575 100644 --- a/.github/workflows/smoke-gemini.lock.yml +++ b/.github/workflows/smoke-gemini.lock.yml @@ -197,7 +197,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-multi-pr.lock.yml b/.github/workflows/smoke-multi-pr.lock.yml index c8d2f3cc8e5..0fbbd749eb0 100644 --- a/.github/workflows/smoke-multi-pr.lock.yml +++ b/.github/workflows/smoke-multi-pr.lock.yml @@ -194,7 +194,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-opencode.lock.yml b/.github/workflows/smoke-opencode.lock.yml index 0dcd35db75a..904f11d0dda 100644 --- a/.github/workflows/smoke-opencode.lock.yml +++ b/.github/workflows/smoke-opencode.lock.yml @@ -195,7 +195,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-otel-backends.lock.yml b/.github/workflows/smoke-otel-backends.lock.yml index 334fd525cf1..91973099905 100644 --- a/.github/workflows/smoke-otel-backends.lock.yml +++ b/.github/workflows/smoke-otel-backends.lock.yml @@ -209,7 +209,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-pi.lock.yml b/.github/workflows/smoke-pi.lock.yml index 57eb58a9622..aaf39f66ae3 100644 --- a/.github/workflows/smoke-pi.lock.yml +++ b/.github/workflows/smoke-pi.lock.yml @@ -196,7 +196,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-project.lock.yml b/.github/workflows/smoke-project.lock.yml index b29719c7c71..afc89372bd2 100644 --- a/.github/workflows/smoke-project.lock.yml +++ b/.github/workflows/smoke-project.lock.yml @@ -197,7 +197,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-service-ports.lock.yml b/.github/workflows/smoke-service-ports.lock.yml index 957296eeaba..2d03cdd98b1 100644 --- a/.github/workflows/smoke-service-ports.lock.yml +++ b/.github/workflows/smoke-service-ports.lock.yml @@ -186,7 +186,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-temporary-id.lock.yml b/.github/workflows/smoke-temporary-id.lock.yml index d373a0c2cc2..76330e241aa 100644 --- a/.github/workflows/smoke-temporary-id.lock.yml +++ b/.github/workflows/smoke-temporary-id.lock.yml @@ -195,7 +195,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-test-tools.lock.yml b/.github/workflows/smoke-test-tools.lock.yml index beb2b6c8bbe..bf4db3b52c5 100644 --- a/.github/workflows/smoke-test-tools.lock.yml +++ b/.github/workflows/smoke-test-tools.lock.yml @@ -197,7 +197,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-update-cross-repo-pr.lock.yml b/.github/workflows/smoke-update-cross-repo-pr.lock.yml index 08437ff6523..92ac5e36cae 100644 --- a/.github/workflows/smoke-update-cross-repo-pr.lock.yml +++ b/.github/workflows/smoke-update-cross-repo-pr.lock.yml @@ -193,7 +193,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-workflow-call-with-inputs.lock.yml b/.github/workflows/smoke-workflow-call-with-inputs.lock.yml index 309f219f41b..42ba2c14e8f 100644 --- a/.github/workflows/smoke-workflow-call-with-inputs.lock.yml +++ b/.github/workflows/smoke-workflow-call-with-inputs.lock.yml @@ -244,7 +244,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/smoke-workflow-call.lock.yml b/.github/workflows/smoke-workflow-call.lock.yml index 1e8fb447fbf..a236b88f781 100644 --- a/.github/workflows/smoke-workflow-call.lock.yml +++ b/.github/workflows/smoke-workflow-call.lock.yml @@ -247,7 +247,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/spec-enforcer.lock.yml b/.github/workflows/spec-enforcer.lock.yml index ac9db07158e..dd45934dfbb 100644 --- a/.github/workflows/spec-enforcer.lock.yml +++ b/.github/workflows/spec-enforcer.lock.yml @@ -186,7 +186,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/spec-extractor.lock.yml b/.github/workflows/spec-extractor.lock.yml index 069f82a7559..9a29543c37b 100644 --- a/.github/workflows/spec-extractor.lock.yml +++ b/.github/workflows/spec-extractor.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/spec-librarian.lock.yml b/.github/workflows/spec-librarian.lock.yml index 5276a5ed3ee..80b229859a0 100644 --- a/.github/workflows/spec-librarian.lock.yml +++ b/.github/workflows/spec-librarian.lock.yml @@ -190,7 +190,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/stale-pr-cleanup.lock.yml b/.github/workflows/stale-pr-cleanup.lock.yml index 60fb8ddccc4..9b19b6fa9aa 100644 --- a/.github/workflows/stale-pr-cleanup.lock.yml +++ b/.github/workflows/stale-pr-cleanup.lock.yml @@ -177,7 +177,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/stale-repo-identifier.lock.yml b/.github/workflows/stale-repo-identifier.lock.yml index be4a93fa86e..b97bf965a9f 100644 --- a/.github/workflows/stale-repo-identifier.lock.yml +++ b/.github/workflows/stale-repo-identifier.lock.yml @@ -195,7 +195,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/static-analysis-report.lock.yml b/.github/workflows/static-analysis-report.lock.yml index a52cef1201d..55dc91dbf06 100644 --- a/.github/workflows/static-analysis-report.lock.yml +++ b/.github/workflows/static-analysis-report.lock.yml @@ -184,7 +184,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/step-name-alignment.lock.yml b/.github/workflows/step-name-alignment.lock.yml index 33f7ed8539a..988e14b338b 100644 --- a/.github/workflows/step-name-alignment.lock.yml +++ b/.github/workflows/step-name-alignment.lock.yml @@ -179,7 +179,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/sub-issue-closer.lock.yml b/.github/workflows/sub-issue-closer.lock.yml index 65cec064cbe..c2d5142cb5b 100644 --- a/.github/workflows/sub-issue-closer.lock.yml +++ b/.github/workflows/sub-issue-closer.lock.yml @@ -179,7 +179,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/super-linter.lock.yml b/.github/workflows/super-linter.lock.yml index 893416a3a26..71b1ba08cf5 100644 --- a/.github/workflows/super-linter.lock.yml +++ b/.github/workflows/super-linter.lock.yml @@ -180,7 +180,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/technical-doc-writer.lock.yml b/.github/workflows/technical-doc-writer.lock.yml index c918fb5146e..aa57cfb4507 100644 --- a/.github/workflows/technical-doc-writer.lock.yml +++ b/.github/workflows/technical-doc-writer.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/terminal-stylist.lock.yml b/.github/workflows/terminal-stylist.lock.yml index 73a5ebf2fec..21842d2efe9 100644 --- a/.github/workflows/terminal-stylist.lock.yml +++ b/.github/workflows/terminal-stylist.lock.yml @@ -185,7 +185,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/test-create-pr-error-handling.lock.yml b/.github/workflows/test-create-pr-error-handling.lock.yml index e015c55fd41..39f7573ef34 100644 --- a/.github/workflows/test-create-pr-error-handling.lock.yml +++ b/.github/workflows/test-create-pr-error-handling.lock.yml @@ -176,7 +176,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/test-dispatcher.lock.yml b/.github/workflows/test-dispatcher.lock.yml index 63c1ac9da56..a8ce4add977 100644 --- a/.github/workflows/test-dispatcher.lock.yml +++ b/.github/workflows/test-dispatcher.lock.yml @@ -174,7 +174,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/test-project-url-default.lock.yml b/.github/workflows/test-project-url-default.lock.yml index 67601eefa33..c9e63b0557f 100644 --- a/.github/workflows/test-project-url-default.lock.yml +++ b/.github/workflows/test-project-url-default.lock.yml @@ -175,7 +175,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/test-quality-sentinel.lock.yml b/.github/workflows/test-quality-sentinel.lock.yml index 5add8f83d84..0d0b566ea5a 100644 --- a/.github/workflows/test-quality-sentinel.lock.yml +++ b/.github/workflows/test-quality-sentinel.lock.yml @@ -190,7 +190,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/test-workflow.lock.yml b/.github/workflows/test-workflow.lock.yml index 080d448e56e..2e61ae2e491 100644 --- a/.github/workflows/test-workflow.lock.yml +++ b/.github/workflows/test-workflow.lock.yml @@ -177,7 +177,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/tidy.lock.yml b/.github/workflows/tidy.lock.yml index 21e12c84101..c9b909c8cc6 100644 --- a/.github/workflows/tidy.lock.yml +++ b/.github/workflows/tidy.lock.yml @@ -200,7 +200,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/typist.lock.yml b/.github/workflows/typist.lock.yml index 37916640924..bddc48de2d3 100644 --- a/.github/workflows/typist.lock.yml +++ b/.github/workflows/typist.lock.yml @@ -187,7 +187,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/ubuntu-image-analyzer.lock.yml b/.github/workflows/ubuntu-image-analyzer.lock.yml index d32531d8ae4..e01e16383ff 100644 --- a/.github/workflows/ubuntu-image-analyzer.lock.yml +++ b/.github/workflows/ubuntu-image-analyzer.lock.yml @@ -188,7 +188,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/uk-ai-operational-resilience.lock.yml b/.github/workflows/uk-ai-operational-resilience.lock.yml index 4d40f905969..1d0c721404b 100644 --- a/.github/workflows/uk-ai-operational-resilience.lock.yml +++ b/.github/workflows/uk-ai-operational-resilience.lock.yml @@ -190,7 +190,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/unbloat-docs.lock.yml b/.github/workflows/unbloat-docs.lock.yml index ff87fb95b8d..a48ffdf057e 100644 --- a/.github/workflows/unbloat-docs.lock.yml +++ b/.github/workflows/unbloat-docs.lock.yml @@ -194,7 +194,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/update-astro.lock.yml b/.github/workflows/update-astro.lock.yml index 5561f1bdf1d..14750c74592 100644 --- a/.github/workflows/update-astro.lock.yml +++ b/.github/workflows/update-astro.lock.yml @@ -186,7 +186,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/video-analyzer.lock.yml b/.github/workflows/video-analyzer.lock.yml index f857a0988a1..8856ffed55f 100644 --- a/.github/workflows/video-analyzer.lock.yml +++ b/.github/workflows/video-analyzer.lock.yml @@ -180,7 +180,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/visual-regression-checker.lock.yml b/.github/workflows/visual-regression-checker.lock.yml index 9ff33aa63cf..59e6e6b74b5 100644 --- a/.github/workflows/visual-regression-checker.lock.yml +++ b/.github/workflows/visual-regression-checker.lock.yml @@ -188,7 +188,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/weekly-blog-post-writer.lock.yml b/.github/workflows/weekly-blog-post-writer.lock.yml index b5cc9e9dcc1..97053ef3e9e 100644 --- a/.github/workflows/weekly-blog-post-writer.lock.yml +++ b/.github/workflows/weekly-blog-post-writer.lock.yml @@ -185,7 +185,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/weekly-editors-health-check.lock.yml b/.github/workflows/weekly-editors-health-check.lock.yml index 8d337fc0063..c83bdd0a0a1 100644 --- a/.github/workflows/weekly-editors-health-check.lock.yml +++ b/.github/workflows/weekly-editors-health-check.lock.yml @@ -179,7 +179,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/weekly-issue-summary.lock.yml b/.github/workflows/weekly-issue-summary.lock.yml index e633d08f63e..bc53dab1806 100644 --- a/.github/workflows/weekly-issue-summary.lock.yml +++ b/.github/workflows/weekly-issue-summary.lock.yml @@ -185,7 +185,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/weekly-safe-outputs-spec-review.lock.yml b/.github/workflows/weekly-safe-outputs-spec-review.lock.yml index a1a0923df6a..5414902f814 100644 --- a/.github/workflows/weekly-safe-outputs-spec-review.lock.yml +++ b/.github/workflows/weekly-safe-outputs-spec-review.lock.yml @@ -180,7 +180,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/workflow-generator.lock.yml b/.github/workflows/workflow-generator.lock.yml index a1bedfdafa3..643fcb6b93d 100644 --- a/.github/workflows/workflow-generator.lock.yml +++ b/.github/workflows/workflow-generator.lock.yml @@ -183,7 +183,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/workflow-health-manager.lock.yml b/.github/workflows/workflow-health-manager.lock.yml index be320e89019..2a796c84595 100644 --- a/.github/workflows/workflow-health-manager.lock.yml +++ b/.github/workflows/workflow-health-manager.lock.yml @@ -180,7 +180,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/workflow-normalizer.lock.yml b/.github/workflows/workflow-normalizer.lock.yml index cb677aa6c43..eedb3d19f85 100644 --- a/.github/workflows/workflow-normalizer.lock.yml +++ b/.github/workflows/workflow-normalizer.lock.yml @@ -182,7 +182,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: diff --git a/.github/workflows/workflow-skill-extractor.lock.yml b/.github/workflows/workflow-skill-extractor.lock.yml index cf5bd690e4b..066cebd9af9 100644 --- a/.github/workflows/workflow-skill-extractor.lock.yml +++ b/.github/workflows/workflow-skill-extractor.lock.yml @@ -179,7 +179,7 @@ jobs: fi - name: Restore daily AIC usage cache (artifact fallback) id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' + if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} continue-on-error: true uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: From 379fd104aea1b57c2b0fcd941055cdc7bd80cdf0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 14 Jun 2026 20:45:27 +0000 Subject: [PATCH 7/8] Address github-actions review: continue-on-error, ordering assertion, cache-miss logic tests, stronger if: assertion Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/ab-testing-advisor.lock.yml | 1 + .github/workflows/ace-editor.lock.yml | 1 + .../agent-performance-analyzer.lock.yml | 1 + .../workflows/agent-persona-explorer.lock.yml | 1 + .../workflows/agentic-token-audit.lock.yml | 1 + .../agentic-token-optimizer.lock.yml | 1 + .../agentic-token-trend-audit.lock.yml | 1 + .github/workflows/ai-moderator.lock.yml | 1 + .../workflows/api-consumption-report.lock.yml | 1 + .github/workflows/approach-validator.lock.yml | 1 + .github/workflows/archie.lock.yml | 1 + .../workflows/architecture-guardian.lock.yml | 1 + .github/workflows/artifacts-summary.lock.yml | 1 + .github/workflows/audit-workflows.lock.yml | 1 + .github/workflows/auto-triage-issues.lock.yml | 1 + .github/workflows/avenger.lock.yml | 1 + .../aw-failure-investigator.lock.yml | 1 + .github/workflows/blog-auditor.lock.yml | 1 + .github/workflows/bot-detection.lock.yml | 1 + .github/workflows/brave.lock.yml | 1 + .../breaking-change-checker.lock.yml | 1 + .github/workflows/changeset.lock.yml | 1 + .../workflows/chaos-pr-bundle-fuzzer.lock.yml | 1 + .github/workflows/ci-coach.lock.yml | 1 + .github/workflows/ci-doctor.lock.yml | 1 + .../claude-code-user-docs-review.lock.yml | 1 + .../cli-consistency-checker.lock.yml | 1 + .../workflows/cli-version-checker.lock.yml | 1 + .github/workflows/cloclo.lock.yml | 1 + .../workflows/code-scanning-fixer.lock.yml | 1 + .github/workflows/code-simplifier.lock.yml | 1 + .../codex-github-remote-mcp-test.lock.yml | 1 + .../commit-changes-analyzer.lock.yml | 1 + .../constraint-solving-potd.lock.yml | 1 + .github/workflows/contribution-check.lock.yml | 1 + .../workflows/copilot-agent-analysis.lock.yml | 1 + .../copilot-cli-deep-research.lock.yml | 1 + .github/workflows/copilot-opt.lock.yml | 1 + .../copilot-pr-merged-report.lock.yml | 1 + .../copilot-pr-nlp-analysis.lock.yml | 1 + .../copilot-pr-prompt-analysis.lock.yml | 1 + .../copilot-session-insights.lock.yml | 1 + .github/workflows/craft.lock.yml | 1 + ...aily-agent-of-the-day-blog-writer.lock.yml | 1 + .../daily-agentrx-trace-optimizer.lock.yml | 1 + .../daily-ambient-context-optimizer.lock.yml | 1 + .../daily-architecture-diagram.lock.yml | 1 + .../daily-assign-issue-to-user.lock.yml | 1 + ...strostylelite-markdown-spellcheck.lock.yml | 1 + ...daily-aw-cross-repo-compile-check.lock.yml | 1 + ...daily-awf-spec-compiler-surfacing.lock.yml | 1 + .../workflows/daily-byok-ollama-test.lock.yml | 1 + .../daily-cache-strategy-analyzer.lock.yml | 1 + .../daily-caveman-optimizer.lock.yml | 1 + .github/workflows/daily-choice-test.lock.yml | 1 + .../workflows/daily-cli-performance.lock.yml | 1 + .../workflows/daily-cli-tools-tester.lock.yml | 1 + .github/workflows/daily-code-metrics.lock.yml | 1 + .../daily-community-attribution.lock.yml | 1 + .../workflows/daily-compiler-quality.lock.yml | 1 + ...ly-compiler-threat-spec-optimizer.lock.yml | 1 + .../daily-credit-limit-test.lock.yml | 1 + .github/workflows/daily-doc-healer.lock.yml | 1 + .github/workflows/daily-doc-updater.lock.yml | 1 + .../daily-experiment-report.lock.yml | 1 + .github/workflows/daily-fact.lock.yml | 1 + .github/workflows/daily-file-diet.lock.yml | 1 + .../workflows/daily-firewall-report.lock.yml | 1 + .../daily-formal-spec-verifier.lock.yml | 1 + .../workflows/daily-function-namer.lock.yml | 1 + .../workflows/daily-geo-optimizer.lock.yml | 1 + .github/workflows/daily-hippo-learn.lock.yml | 1 + .../workflows/daily-issues-report.lock.yml | 1 + .../daily-malicious-code-scan.lock.yml | 1 + .../daily-mcp-concurrency-analysis.lock.yml | 1 + .../workflows/daily-model-inventory.lock.yml | 1 + .../daily-multi-device-docs-tester.lock.yml | 1 + .github/workflows/daily-news.lock.yml | 1 + .../daily-observability-report.lock.yml | 1 + .../daily-performance-summary.lock.yml | 1 + .github/workflows/daily-regulatory.lock.yml | 1 + .../daily-reliability-review.lock.yml | 1 + .../daily-rendering-scripts-verifier.lock.yml | 1 + .../workflows/daily-repo-chronicle.lock.yml | 1 + .../daily-safe-output-integrator.lock.yml | 1 + .../daily-safe-output-optimizer.lock.yml | 1 + .../daily-safe-outputs-conformance.lock.yml | 1 + .../daily-safeoutputs-git-simulator.lock.yml | 1 + .../workflows/daily-secrets-analysis.lock.yml | 1 + .../daily-security-observability.lock.yml | 1 + .../daily-security-red-team.lock.yml | 1 + .github/workflows/daily-semgrep-scan.lock.yml | 1 + .../workflows/daily-sentrux-report.lock.yml | 1 + .../workflows/daily-skill-optimizer.lock.yml | 1 + .../daily-spdd-spec-planner.lock.yml | 1 + .../daily-syntax-error-quality.lock.yml | 1 + .../daily-team-evolution-insights.lock.yml | 1 + .github/workflows/daily-team-status.lock.yml | 1 + .../daily-testify-uber-super-expert.lock.yml | 1 + .../daily-token-consumption-report.lock.yml | 1 + ...dows-terminal-integration-builder.lock.yml | 1 + .../workflows/daily-workflow-updater.lock.yml | 1 + .../dataflow-pr-discussion-dataset.lock.yml | 1 + .github/workflows/dead-code-remover.lock.yml | 1 + .github/workflows/deep-report.lock.yml | 1 + .github/workflows/delight.lock.yml | 1 + .github/workflows/dependabot-burner.lock.yml | 1 + .../workflows/dependabot-campaign.lock.yml | 1 + .../workflows/dependabot-go-checker.lock.yml | 1 + .github/workflows/dependabot-repair.lock.yml | 1 + .github/workflows/dependabot-worker.lock.yml | 1 + .../deployment-incident-monitor.lock.yml | 1 + .../workflows/design-decision-gate.lock.yml | 1 + .../workflows/designer-drift-audit.lock.yml | 1 + .github/workflows/dev-hawk.lock.yml | 1 + .github/workflows/dev.lock.yml | 1 + .../developer-docs-consolidator.lock.yml | 1 + .github/workflows/dictation-prompt.lock.yml | 1 + .../workflows/discussion-task-miner.lock.yml | 1 + .github/workflows/docs-noob-tester.lock.yml | 1 + .github/workflows/draft-pr-cleanup.lock.yml | 1 + .../duplicate-code-detector.lock.yml | 1 + .../example-permissions-warning.lock.yml | 1 + .../example-workflow-analyzer.lock.yml | 1 + .github/workflows/firewall-escape.lock.yml | 1 + .github/workflows/firewall.lock.yml | 1 + .../workflows/functional-pragmatist.lock.yml | 1 + .../github-mcp-structural-analysis.lock.yml | 1 + .../github-mcp-tools-report.lock.yml | 1 + .../github-remote-mcp-auth-test.lock.yml | 1 + .../workflows/glossary-maintainer.lock.yml | 1 + .github/workflows/go-fan.lock.yml | 1 + .github/workflows/go-logger.lock.yml | 1 + .../workflows/go-pattern-detector.lock.yml | 1 + .github/workflows/gpclean.lock.yml | 1 + .github/workflows/grumpy-reviewer.lock.yml | 1 + .github/workflows/hippo-embed.lock.yml | 1 + .github/workflows/hourly-ci-cleaner.lock.yml | 1 + .../workflows/instructions-janitor.lock.yml | 1 + .github/workflows/issue-arborist.lock.yml | 1 + .github/workflows/issue-monster.lock.yml | 1 + .github/workflows/issue-triage-agent.lock.yml | 1 + .github/workflows/jsweep.lock.yml | 1 + .../workflows/layout-spec-maintainer.lock.yml | 1 + .github/workflows/lint-monster.lock.yml | 1 + .github/workflows/linter-miner.lock.yml | 1 + .github/workflows/lockfile-stats.lock.yml | 1 + .../mattpocock-skills-reviewer.lock.yml | 1 + .github/workflows/mcp-inspector.lock.yml | 1 + .github/workflows/mergefest.lock.yml | 1 + .github/workflows/metrics-collector.lock.yml | 1 + .github/workflows/necromancer.lock.yml | 1 + .../workflows/notion-issue-summary.lock.yml | 1 + .../objective-impact-report.lock.yml | 1 + .github/workflows/org-health-report.lock.yml | 1 + .github/workflows/outcome-collector.lock.yml | 1 + .github/workflows/pdf-summary.lock.yml | 1 + .github/workflows/plan.lock.yml | 1 + .github/workflows/poem-bot.lock.yml | 1 + .../pr-code-quality-reviewer.lock.yml | 1 + .../workflows/pr-description-caveman.lock.yml | 1 + .../workflows/pr-nitpick-reviewer.lock.yml | 1 + .github/workflows/pr-sous-chef.lock.yml | 1 + .github/workflows/pr-triage-agent.lock.yml | 1 + .../prompt-clustering-analysis.lock.yml | 1 + .github/workflows/python-data-charts.lock.yml | 1 + .github/workflows/q.lock.yml | 1 + .../workflows/refactoring-cadence.lock.yml | 1 + .github/workflows/refiner.lock.yml | 1 + .github/workflows/release.lock.yml | 1 + .../workflows/repo-audit-analyzer.lock.yml | 1 + .github/workflows/repo-tree-map.lock.yml | 1 + .../repository-quality-improver.lock.yml | 1 + .github/workflows/research.lock.yml | 1 + .github/workflows/ruflo-backed-task.lock.yml | 1 + .github/workflows/safe-output-health.lock.yml | 1 + .../schema-consistency-checker.lock.yml | 1 + .../schema-feature-coverage.lock.yml | 1 + .github/workflows/scout.lock.yml | 1 + .../workflows/security-compliance.lock.yml | 1 + .github/workflows/security-review.lock.yml | 1 + .../semantic-function-refactor.lock.yml | 1 + .github/workflows/sergo.lock.yml | 1 + .../workflows/slide-deck-maintainer.lock.yml | 1 + .../workflows/smoke-agent-all-merged.lock.yml | 1 + .../workflows/smoke-agent-all-none.lock.yml | 1 + .../smoke-agent-public-approved.lock.yml | 1 + .../smoke-agent-public-none.lock.yml | 1 + .../smoke-agent-scoped-approved.lock.yml | 1 + .github/workflows/smoke-antigravity.lock.yml | 1 + .../workflows/smoke-call-workflow.lock.yml | 1 + .github/workflows/smoke-ci.lock.yml | 1 + .github/workflows/smoke-claude.lock.yml | 1 + .github/workflows/smoke-codex.lock.yml | 1 + .../smoke-copilot-aoai-apikey.lock.yml | 1 + .../smoke-copilot-aoai-entra.lock.yml | 1 + .github/workflows/smoke-copilot-arm.lock.yml | 1 + .github/workflows/smoke-copilot-sdk.lock.yml | 1 + .github/workflows/smoke-copilot.lock.yml | 1 + .../smoke-create-cross-repo-pr.lock.yml | 1 + .github/workflows/smoke-crush.lock.yml | 1 + .github/workflows/smoke-gemini.lock.yml | 1 + .github/workflows/smoke-multi-pr.lock.yml | 1 + .github/workflows/smoke-opencode.lock.yml | 1 + .../workflows/smoke-otel-backends.lock.yml | 1 + .github/workflows/smoke-pi.lock.yml | 1 + .github/workflows/smoke-project.lock.yml | 1 + .../workflows/smoke-service-ports.lock.yml | 1 + .github/workflows/smoke-temporary-id.lock.yml | 1 + .github/workflows/smoke-test-tools.lock.yml | 1 + .../smoke-update-cross-repo-pr.lock.yml | 1 + .../smoke-workflow-call-with-inputs.lock.yml | 1 + .../workflows/smoke-workflow-call.lock.yml | 1 + .github/workflows/spec-enforcer.lock.yml | 1 + .github/workflows/spec-extractor.lock.yml | 1 + .github/workflows/spec-librarian.lock.yml | 1 + .github/workflows/stale-pr-cleanup.lock.yml | 1 + .../workflows/stale-repo-identifier.lock.yml | 1 + .../workflows/static-analysis-report.lock.yml | 1 + .../workflows/step-name-alignment.lock.yml | 1 + .github/workflows/sub-issue-closer.lock.yml | 1 + .github/workflows/super-linter.lock.yml | 1 + .../workflows/technical-doc-writer.lock.yml | 1 + .github/workflows/terminal-stylist.lock.yml | 1 + .../test-create-pr-error-handling.lock.yml | 1 + .github/workflows/test-dispatcher.lock.yml | 1 + .../test-project-url-default.lock.yml | 1 + .../workflows/test-quality-sentinel.lock.yml | 1 + .github/workflows/test-workflow.lock.yml | 1 + .github/workflows/tidy.lock.yml | 1 + .github/workflows/typist.lock.yml | 1 + .../workflows/ubuntu-image-analyzer.lock.yml | 1 + .../uk-ai-operational-resilience.lock.yml | 1 + .github/workflows/unbloat-docs.lock.yml | 1 + .github/workflows/update-astro.lock.yml | 1 + .github/workflows/video-analyzer.lock.yml | 1 + .../visual-regression-checker.lock.yml | 1 + .../weekly-blog-post-writer.lock.yml | 1 + .../weekly-editors-health-check.lock.yml | 1 + .../workflows/weekly-issue-summary.lock.yml | 1 + .../weekly-safe-outputs-spec-review.lock.yml | 1 + .github/workflows/workflow-generator.lock.yml | 1 + .../workflow-health-manager.lock.yml | 1 + .../workflows/workflow-normalizer.lock.yml | 1 + .../workflow-skill-extractor.lock.yml | 1 + .../compiler_activation_job_builder.go | 1 + .../daily_aic_workflow_guardrail_test.go | 63 ++++++++++++++++++- .../TestWasmGolden_AllEngines/claude.golden | 1 + .../TestWasmGolden_AllEngines/codex.golden | 1 + .../TestWasmGolden_AllEngines/copilot.golden | 1 + .../TestWasmGolden_AllEngines/gemini.golden | 1 + .../TestWasmGolden_AllEngines/pi.golden | 1 + .../basic-copilot.golden | 1 + .../playwright-cli-mode.golden | 1 + .../smoke-copilot.golden | 1 + .../with-imports.golden | 1 + 256 files changed, 316 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ab-testing-advisor.lock.yml b/.github/workflows/ab-testing-advisor.lock.yml index d236c18a4bb..d240004b20a 100644 --- a/.github/workflows/ab-testing-advisor.lock.yml +++ b/.github/workflows/ab-testing-advisor.lock.yml @@ -173,6 +173,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/ace-editor.lock.yml b/.github/workflows/ace-editor.lock.yml index f4a31380ff7..aaef55de51c 100644 --- a/.github/workflows/ace-editor.lock.yml +++ b/.github/workflows/ace-editor.lock.yml @@ -174,6 +174,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/agent-performance-analyzer.lock.yml b/.github/workflows/agent-performance-analyzer.lock.yml index 55ec467bbd1..90eb7f245bb 100644 --- a/.github/workflows/agent-performance-analyzer.lock.yml +++ b/.github/workflows/agent-performance-analyzer.lock.yml @@ -173,6 +173,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/agent-persona-explorer.lock.yml b/.github/workflows/agent-persona-explorer.lock.yml index 15f63176452..010628c2935 100644 --- a/.github/workflows/agent-persona-explorer.lock.yml +++ b/.github/workflows/agent-persona-explorer.lock.yml @@ -173,6 +173,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/agentic-token-audit.lock.yml b/.github/workflows/agentic-token-audit.lock.yml index 39d80f65022..17f45b44464 100644 --- a/.github/workflows/agentic-token-audit.lock.yml +++ b/.github/workflows/agentic-token-audit.lock.yml @@ -157,6 +157,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/agentic-token-optimizer.lock.yml b/.github/workflows/agentic-token-optimizer.lock.yml index be399528c9a..ba7bba6aacf 100644 --- a/.github/workflows/agentic-token-optimizer.lock.yml +++ b/.github/workflows/agentic-token-optimizer.lock.yml @@ -153,6 +153,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/agentic-token-trend-audit.lock.yml b/.github/workflows/agentic-token-trend-audit.lock.yml index 6fe3c8ed54f..04ce66a8f37 100644 --- a/.github/workflows/agentic-token-trend-audit.lock.yml +++ b/.github/workflows/agentic-token-trend-audit.lock.yml @@ -154,6 +154,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/ai-moderator.lock.yml b/.github/workflows/ai-moderator.lock.yml index 0ad58e07ec7..4fcbc9adca5 100644 --- a/.github/workflows/ai-moderator.lock.yml +++ b/.github/workflows/ai-moderator.lock.yml @@ -205,6 +205,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/api-consumption-report.lock.yml b/.github/workflows/api-consumption-report.lock.yml index 582fb24a348..ba738880438 100644 --- a/.github/workflows/api-consumption-report.lock.yml +++ b/.github/workflows/api-consumption-report.lock.yml @@ -178,6 +178,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/approach-validator.lock.yml b/.github/workflows/approach-validator.lock.yml index 497eb0c09db..de47455db8a 100644 --- a/.github/workflows/approach-validator.lock.yml +++ b/.github/workflows/approach-validator.lock.yml @@ -184,6 +184,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/archie.lock.yml b/.github/workflows/archie.lock.yml index a64b7871daa..82272d96a16 100644 --- a/.github/workflows/archie.lock.yml +++ b/.github/workflows/archie.lock.yml @@ -177,6 +177,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/architecture-guardian.lock.yml b/.github/workflows/architecture-guardian.lock.yml index 643286f2c0f..01ebfe2f5f8 100644 --- a/.github/workflows/architecture-guardian.lock.yml +++ b/.github/workflows/architecture-guardian.lock.yml @@ -177,6 +177,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/artifacts-summary.lock.yml b/.github/workflows/artifacts-summary.lock.yml index 001f2e51810..45520c4edfd 100644 --- a/.github/workflows/artifacts-summary.lock.yml +++ b/.github/workflows/artifacts-summary.lock.yml @@ -168,6 +168,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/audit-workflows.lock.yml b/.github/workflows/audit-workflows.lock.yml index 4171b58f8a5..33a073bb332 100644 --- a/.github/workflows/audit-workflows.lock.yml +++ b/.github/workflows/audit-workflows.lock.yml @@ -178,6 +178,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/auto-triage-issues.lock.yml b/.github/workflows/auto-triage-issues.lock.yml index 399cbbb6c3d..c6315e525d0 100644 --- a/.github/workflows/auto-triage-issues.lock.yml +++ b/.github/workflows/auto-triage-issues.lock.yml @@ -178,6 +178,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/avenger.lock.yml b/.github/workflows/avenger.lock.yml index 70eb814f5f7..737698a9cb7 100644 --- a/.github/workflows/avenger.lock.yml +++ b/.github/workflows/avenger.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/aw-failure-investigator.lock.yml b/.github/workflows/aw-failure-investigator.lock.yml index 0fa07bd6977..f0a06549e9f 100644 --- a/.github/workflows/aw-failure-investigator.lock.yml +++ b/.github/workflows/aw-failure-investigator.lock.yml @@ -178,6 +178,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/blog-auditor.lock.yml b/.github/workflows/blog-auditor.lock.yml index 8cb5ff232a4..5c954771a3c 100644 --- a/.github/workflows/blog-auditor.lock.yml +++ b/.github/workflows/blog-auditor.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/bot-detection.lock.yml b/.github/workflows/bot-detection.lock.yml index f2b004fc18a..686ecd3dd71 100644 --- a/.github/workflows/bot-detection.lock.yml +++ b/.github/workflows/bot-detection.lock.yml @@ -168,6 +168,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/brave.lock.yml b/.github/workflows/brave.lock.yml index 9a3a1203afc..74cd7758732 100644 --- a/.github/workflows/brave.lock.yml +++ b/.github/workflows/brave.lock.yml @@ -176,6 +176,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/breaking-change-checker.lock.yml b/.github/workflows/breaking-change-checker.lock.yml index 64a288f2c0a..ecc9055f1f1 100644 --- a/.github/workflows/breaking-change-checker.lock.yml +++ b/.github/workflows/breaking-change-checker.lock.yml @@ -175,6 +175,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/changeset.lock.yml b/.github/workflows/changeset.lock.yml index bc7671180b1..d2730904fea 100644 --- a/.github/workflows/changeset.lock.yml +++ b/.github/workflows/changeset.lock.yml @@ -188,6 +188,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml b/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml index d2fef7f25f3..b07312ec23c 100644 --- a/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml +++ b/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml @@ -167,6 +167,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/ci-coach.lock.yml b/.github/workflows/ci-coach.lock.yml index ad5989044ba..75b5c9d654c 100644 --- a/.github/workflows/ci-coach.lock.yml +++ b/.github/workflows/ci-coach.lock.yml @@ -173,6 +173,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.yml index d2a3bc1294a..4c082c664f8 100644 --- a/.github/workflows/ci-doctor.lock.yml +++ b/.github/workflows/ci-doctor.lock.yml @@ -185,6 +185,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/claude-code-user-docs-review.lock.yml b/.github/workflows/claude-code-user-docs-review.lock.yml index e865559c3e9..972275aa098 100644 --- a/.github/workflows/claude-code-user-docs-review.lock.yml +++ b/.github/workflows/claude-code-user-docs-review.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/cli-consistency-checker.lock.yml b/.github/workflows/cli-consistency-checker.lock.yml index c724d88b8eb..ad29144fc61 100644 --- a/.github/workflows/cli-consistency-checker.lock.yml +++ b/.github/workflows/cli-consistency-checker.lock.yml @@ -165,6 +165,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/cli-version-checker.lock.yml b/.github/workflows/cli-version-checker.lock.yml index 01c2a5fc62b..fdd13170f58 100644 --- a/.github/workflows/cli-version-checker.lock.yml +++ b/.github/workflows/cli-version-checker.lock.yml @@ -169,6 +169,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/cloclo.lock.yml b/.github/workflows/cloclo.lock.yml index 1e5f485d011..440f9577e7b 100644 --- a/.github/workflows/cloclo.lock.yml +++ b/.github/workflows/cloclo.lock.yml @@ -191,6 +191,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/code-scanning-fixer.lock.yml b/.github/workflows/code-scanning-fixer.lock.yml index 38b23d22fb5..9c386569956 100644 --- a/.github/workflows/code-scanning-fixer.lock.yml +++ b/.github/workflows/code-scanning-fixer.lock.yml @@ -173,6 +173,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/code-simplifier.lock.yml b/.github/workflows/code-simplifier.lock.yml index 5bfb55696c2..569dc5fe0a5 100644 --- a/.github/workflows/code-simplifier.lock.yml +++ b/.github/workflows/code-simplifier.lock.yml @@ -178,6 +178,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/codex-github-remote-mcp-test.lock.yml b/.github/workflows/codex-github-remote-mcp-test.lock.yml index fa9e8b770bf..a03caabcc7e 100644 --- a/.github/workflows/codex-github-remote-mcp-test.lock.yml +++ b/.github/workflows/codex-github-remote-mcp-test.lock.yml @@ -164,6 +164,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/commit-changes-analyzer.lock.yml b/.github/workflows/commit-changes-analyzer.lock.yml index a880e95c1cd..ed3092c14eb 100644 --- a/.github/workflows/commit-changes-analyzer.lock.yml +++ b/.github/workflows/commit-changes-analyzer.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/constraint-solving-potd.lock.yml b/.github/workflows/constraint-solving-potd.lock.yml index edd4165bb73..10d046211f1 100644 --- a/.github/workflows/constraint-solving-potd.lock.yml +++ b/.github/workflows/constraint-solving-potd.lock.yml @@ -166,6 +166,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/contribution-check.lock.yml b/.github/workflows/contribution-check.lock.yml index 5d391bd3ed5..5478a6bcd65 100644 --- a/.github/workflows/contribution-check.lock.yml +++ b/.github/workflows/contribution-check.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/copilot-agent-analysis.lock.yml b/.github/workflows/copilot-agent-analysis.lock.yml index efa1acbf45f..17c7fed1d66 100644 --- a/.github/workflows/copilot-agent-analysis.lock.yml +++ b/.github/workflows/copilot-agent-analysis.lock.yml @@ -177,6 +177,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/copilot-cli-deep-research.lock.yml b/.github/workflows/copilot-cli-deep-research.lock.yml index 1cf1463ec51..9312d086f91 100644 --- a/.github/workflows/copilot-cli-deep-research.lock.yml +++ b/.github/workflows/copilot-cli-deep-research.lock.yml @@ -167,6 +167,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/copilot-opt.lock.yml b/.github/workflows/copilot-opt.lock.yml index 09ea7675992..1d346b8c4dc 100644 --- a/.github/workflows/copilot-opt.lock.yml +++ b/.github/workflows/copilot-opt.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/copilot-pr-merged-report.lock.yml b/.github/workflows/copilot-pr-merged-report.lock.yml index 058165f1635..48d3efcf7fe 100644 --- a/.github/workflows/copilot-pr-merged-report.lock.yml +++ b/.github/workflows/copilot-pr-merged-report.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/copilot-pr-nlp-analysis.lock.yml b/.github/workflows/copilot-pr-nlp-analysis.lock.yml index 2468259928a..335045ea421 100644 --- a/.github/workflows/copilot-pr-nlp-analysis.lock.yml +++ b/.github/workflows/copilot-pr-nlp-analysis.lock.yml @@ -175,6 +175,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/copilot-pr-prompt-analysis.lock.yml b/.github/workflows/copilot-pr-prompt-analysis.lock.yml index 578400eec25..6b8f3cf87e2 100644 --- a/.github/workflows/copilot-pr-prompt-analysis.lock.yml +++ b/.github/workflows/copilot-pr-prompt-analysis.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/copilot-session-insights.lock.yml b/.github/workflows/copilot-session-insights.lock.yml index 458cdebb314..ab5d54a0635 100644 --- a/.github/workflows/copilot-session-insights.lock.yml +++ b/.github/workflows/copilot-session-insights.lock.yml @@ -178,6 +178,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/craft.lock.yml b/.github/workflows/craft.lock.yml index 0f6bc43da2b..5af9ff6731e 100644 --- a/.github/workflows/craft.lock.yml +++ b/.github/workflows/craft.lock.yml @@ -174,6 +174,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml b/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml index 51f84d432cf..8b764cf5951 100644 --- a/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml +++ b/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml @@ -178,6 +178,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-agentrx-trace-optimizer.lock.yml b/.github/workflows/daily-agentrx-trace-optimizer.lock.yml index f6f7f905fb6..57dd3f0d3cd 100644 --- a/.github/workflows/daily-agentrx-trace-optimizer.lock.yml +++ b/.github/workflows/daily-agentrx-trace-optimizer.lock.yml @@ -175,6 +175,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-ambient-context-optimizer.lock.yml b/.github/workflows/daily-ambient-context-optimizer.lock.yml index ab61b7144a6..4610389cd27 100644 --- a/.github/workflows/daily-ambient-context-optimizer.lock.yml +++ b/.github/workflows/daily-ambient-context-optimizer.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-architecture-diagram.lock.yml b/.github/workflows/daily-architecture-diagram.lock.yml index 5eefaf9ed30..61321f7e5b6 100644 --- a/.github/workflows/daily-architecture-diagram.lock.yml +++ b/.github/workflows/daily-architecture-diagram.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-assign-issue-to-user.lock.yml b/.github/workflows/daily-assign-issue-to-user.lock.yml index e9de8fef365..6319fe9081b 100644 --- a/.github/workflows/daily-assign-issue-to-user.lock.yml +++ b/.github/workflows/daily-assign-issue-to-user.lock.yml @@ -165,6 +165,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml b/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml index e3a8a60a9a3..c1ef854ad0d 100644 --- a/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml +++ b/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml b/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml index b34a15a8c35..58aa10a0413 100644 --- a/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml +++ b/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml @@ -169,6 +169,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml b/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml index 78dc37b841b..3415c15e474 100644 --- a/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml +++ b/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml @@ -168,6 +168,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-byok-ollama-test.lock.yml b/.github/workflows/daily-byok-ollama-test.lock.yml index cdc65aff383..322b3914276 100644 --- a/.github/workflows/daily-byok-ollama-test.lock.yml +++ b/.github/workflows/daily-byok-ollama-test.lock.yml @@ -147,6 +147,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-cache-strategy-analyzer.lock.yml b/.github/workflows/daily-cache-strategy-analyzer.lock.yml index cab6cabe533..3eb6875adcd 100644 --- a/.github/workflows/daily-cache-strategy-analyzer.lock.yml +++ b/.github/workflows/daily-cache-strategy-analyzer.lock.yml @@ -177,6 +177,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-caveman-optimizer.lock.yml b/.github/workflows/daily-caveman-optimizer.lock.yml index 2ff11e24cd0..af01d936325 100644 --- a/.github/workflows/daily-caveman-optimizer.lock.yml +++ b/.github/workflows/daily-caveman-optimizer.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-choice-test.lock.yml b/.github/workflows/daily-choice-test.lock.yml index 699c951a229..f7cce6d130a 100644 --- a/.github/workflows/daily-choice-test.lock.yml +++ b/.github/workflows/daily-choice-test.lock.yml @@ -168,6 +168,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-cli-performance.lock.yml b/.github/workflows/daily-cli-performance.lock.yml index 89db665fa9f..079876519d9 100644 --- a/.github/workflows/daily-cli-performance.lock.yml +++ b/.github/workflows/daily-cli-performance.lock.yml @@ -199,6 +199,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-cli-tools-tester.lock.yml b/.github/workflows/daily-cli-tools-tester.lock.yml index 60dd43ee25d..1effd9d9a12 100644 --- a/.github/workflows/daily-cli-tools-tester.lock.yml +++ b/.github/workflows/daily-cli-tools-tester.lock.yml @@ -173,6 +173,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-code-metrics.lock.yml b/.github/workflows/daily-code-metrics.lock.yml index 0a417a8b5a9..d5117ece0bf 100644 --- a/.github/workflows/daily-code-metrics.lock.yml +++ b/.github/workflows/daily-code-metrics.lock.yml @@ -176,6 +176,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-community-attribution.lock.yml b/.github/workflows/daily-community-attribution.lock.yml index ee27da59ecd..353dd65e30f 100644 --- a/.github/workflows/daily-community-attribution.lock.yml +++ b/.github/workflows/daily-community-attribution.lock.yml @@ -173,6 +173,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-compiler-quality.lock.yml b/.github/workflows/daily-compiler-quality.lock.yml index 4adce45c730..85d909dd853 100644 --- a/.github/workflows/daily-compiler-quality.lock.yml +++ b/.github/workflows/daily-compiler-quality.lock.yml @@ -175,6 +175,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml b/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml index ccfd94e2a26..459120bff40 100644 --- a/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml +++ b/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-credit-limit-test.lock.yml b/.github/workflows/daily-credit-limit-test.lock.yml index 6783cbd44e4..743f203bb75 100644 --- a/.github/workflows/daily-credit-limit-test.lock.yml +++ b/.github/workflows/daily-credit-limit-test.lock.yml @@ -149,6 +149,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-doc-healer.lock.yml b/.github/workflows/daily-doc-healer.lock.yml index 78ba92239a0..fadc4b82fab 100644 --- a/.github/workflows/daily-doc-healer.lock.yml +++ b/.github/workflows/daily-doc-healer.lock.yml @@ -175,6 +175,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-doc-updater.lock.yml b/.github/workflows/daily-doc-updater.lock.yml index 4fad36cb4b8..1fb12d1b947 100644 --- a/.github/workflows/daily-doc-updater.lock.yml +++ b/.github/workflows/daily-doc-updater.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-experiment-report.lock.yml b/.github/workflows/daily-experiment-report.lock.yml index 2a1cc658f60..f12ab561b6c 100644 --- a/.github/workflows/daily-experiment-report.lock.yml +++ b/.github/workflows/daily-experiment-report.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-fact.lock.yml b/.github/workflows/daily-fact.lock.yml index 3f0c195fd71..cb8defd5865 100644 --- a/.github/workflows/daily-fact.lock.yml +++ b/.github/workflows/daily-fact.lock.yml @@ -175,6 +175,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-file-diet.lock.yml b/.github/workflows/daily-file-diet.lock.yml index 6c721ff060e..b14c1ceb045 100644 --- a/.github/workflows/daily-file-diet.lock.yml +++ b/.github/workflows/daily-file-diet.lock.yml @@ -179,6 +179,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-firewall-report.lock.yml b/.github/workflows/daily-firewall-report.lock.yml index 164126486d6..1329541becf 100644 --- a/.github/workflows/daily-firewall-report.lock.yml +++ b/.github/workflows/daily-firewall-report.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-formal-spec-verifier.lock.yml b/.github/workflows/daily-formal-spec-verifier.lock.yml index 40489f7e20b..4f7e8c71b3e 100644 --- a/.github/workflows/daily-formal-spec-verifier.lock.yml +++ b/.github/workflows/daily-formal-spec-verifier.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-function-namer.lock.yml b/.github/workflows/daily-function-namer.lock.yml index fcc9e7e92e2..bc7351173d5 100644 --- a/.github/workflows/daily-function-namer.lock.yml +++ b/.github/workflows/daily-function-namer.lock.yml @@ -176,6 +176,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-geo-optimizer.lock.yml b/.github/workflows/daily-geo-optimizer.lock.yml index 1415d1815bd..e1767dd5bfd 100644 --- a/.github/workflows/daily-geo-optimizer.lock.yml +++ b/.github/workflows/daily-geo-optimizer.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-hippo-learn.lock.yml b/.github/workflows/daily-hippo-learn.lock.yml index a3c723c0a9a..91cd34c294f 100644 --- a/.github/workflows/daily-hippo-learn.lock.yml +++ b/.github/workflows/daily-hippo-learn.lock.yml @@ -168,6 +168,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-issues-report.lock.yml b/.github/workflows/daily-issues-report.lock.yml index 4a6da66d98e..25c30fead7c 100644 --- a/.github/workflows/daily-issues-report.lock.yml +++ b/.github/workflows/daily-issues-report.lock.yml @@ -179,6 +179,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-malicious-code-scan.lock.yml b/.github/workflows/daily-malicious-code-scan.lock.yml index 5282b7da376..335eef901e0 100644 --- a/.github/workflows/daily-malicious-code-scan.lock.yml +++ b/.github/workflows/daily-malicious-code-scan.lock.yml @@ -169,6 +169,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-mcp-concurrency-analysis.lock.yml b/.github/workflows/daily-mcp-concurrency-analysis.lock.yml index a1139aa97c8..7bbffae4f42 100644 --- a/.github/workflows/daily-mcp-concurrency-analysis.lock.yml +++ b/.github/workflows/daily-mcp-concurrency-analysis.lock.yml @@ -173,6 +173,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-model-inventory.lock.yml b/.github/workflows/daily-model-inventory.lock.yml index 82546a1fac0..1eee68d2cde 100644 --- a/.github/workflows/daily-model-inventory.lock.yml +++ b/.github/workflows/daily-model-inventory.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-multi-device-docs-tester.lock.yml b/.github/workflows/daily-multi-device-docs-tester.lock.yml index 9a514f26b7b..761463fd607 100644 --- a/.github/workflows/daily-multi-device-docs-tester.lock.yml +++ b/.github/workflows/daily-multi-device-docs-tester.lock.yml @@ -174,6 +174,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-news.lock.yml b/.github/workflows/daily-news.lock.yml index d39b665b11e..04f02ea9b3e 100644 --- a/.github/workflows/daily-news.lock.yml +++ b/.github/workflows/daily-news.lock.yml @@ -177,6 +177,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-observability-report.lock.yml b/.github/workflows/daily-observability-report.lock.yml index 8c50d18157d..2b214e326eb 100644 --- a/.github/workflows/daily-observability-report.lock.yml +++ b/.github/workflows/daily-observability-report.lock.yml @@ -176,6 +176,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-performance-summary.lock.yml b/.github/workflows/daily-performance-summary.lock.yml index b7c6066644c..cf5d496944f 100644 --- a/.github/workflows/daily-performance-summary.lock.yml +++ b/.github/workflows/daily-performance-summary.lock.yml @@ -175,6 +175,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-regulatory.lock.yml b/.github/workflows/daily-regulatory.lock.yml index 573ecb6096d..8a4f94f1005 100644 --- a/.github/workflows/daily-regulatory.lock.yml +++ b/.github/workflows/daily-regulatory.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-reliability-review.lock.yml b/.github/workflows/daily-reliability-review.lock.yml index a696325f787..f755b3ee115 100644 --- a/.github/workflows/daily-reliability-review.lock.yml +++ b/.github/workflows/daily-reliability-review.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-rendering-scripts-verifier.lock.yml b/.github/workflows/daily-rendering-scripts-verifier.lock.yml index a00e16ae322..6d02b333c70 100644 --- a/.github/workflows/daily-rendering-scripts-verifier.lock.yml +++ b/.github/workflows/daily-rendering-scripts-verifier.lock.yml @@ -183,6 +183,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-repo-chronicle.lock.yml b/.github/workflows/daily-repo-chronicle.lock.yml index 20bba1e79d0..780bfc94796 100644 --- a/.github/workflows/daily-repo-chronicle.lock.yml +++ b/.github/workflows/daily-repo-chronicle.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-safe-output-integrator.lock.yml b/.github/workflows/daily-safe-output-integrator.lock.yml index 1a77aebdc7e..c8b904480f5 100644 --- a/.github/workflows/daily-safe-output-integrator.lock.yml +++ b/.github/workflows/daily-safe-output-integrator.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-safe-output-optimizer.lock.yml b/.github/workflows/daily-safe-output-optimizer.lock.yml index 67795bee590..b51c1955d55 100644 --- a/.github/workflows/daily-safe-output-optimizer.lock.yml +++ b/.github/workflows/daily-safe-output-optimizer.lock.yml @@ -183,6 +183,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-safe-outputs-conformance.lock.yml b/.github/workflows/daily-safe-outputs-conformance.lock.yml index 3f45a48a45a..eb9a5720a55 100644 --- a/.github/workflows/daily-safe-outputs-conformance.lock.yml +++ b/.github/workflows/daily-safe-outputs-conformance.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-safeoutputs-git-simulator.lock.yml b/.github/workflows/daily-safeoutputs-git-simulator.lock.yml index 9d4dd9abd69..22175e661fd 100644 --- a/.github/workflows/daily-safeoutputs-git-simulator.lock.yml +++ b/.github/workflows/daily-safeoutputs-git-simulator.lock.yml @@ -151,6 +151,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-secrets-analysis.lock.yml b/.github/workflows/daily-secrets-analysis.lock.yml index 3d7544d9826..1b3d9ecda38 100644 --- a/.github/workflows/daily-secrets-analysis.lock.yml +++ b/.github/workflows/daily-secrets-analysis.lock.yml @@ -169,6 +169,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-security-observability.lock.yml b/.github/workflows/daily-security-observability.lock.yml index 61bfd35ebf6..483c3153a2f 100644 --- a/.github/workflows/daily-security-observability.lock.yml +++ b/.github/workflows/daily-security-observability.lock.yml @@ -183,6 +183,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-security-red-team.lock.yml b/.github/workflows/daily-security-red-team.lock.yml index 137b46c40ec..d9cc7744c64 100644 --- a/.github/workflows/daily-security-red-team.lock.yml +++ b/.github/workflows/daily-security-red-team.lock.yml @@ -174,6 +174,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-semgrep-scan.lock.yml b/.github/workflows/daily-semgrep-scan.lock.yml index 26dbfd8d0ca..5eac23c9ea7 100644 --- a/.github/workflows/daily-semgrep-scan.lock.yml +++ b/.github/workflows/daily-semgrep-scan.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-sentrux-report.lock.yml b/.github/workflows/daily-sentrux-report.lock.yml index 56b5f6c4020..bb8bdc2500b 100644 --- a/.github/workflows/daily-sentrux-report.lock.yml +++ b/.github/workflows/daily-sentrux-report.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-skill-optimizer.lock.yml b/.github/workflows/daily-skill-optimizer.lock.yml index 400b7fae276..a9ffe6c5783 100644 --- a/.github/workflows/daily-skill-optimizer.lock.yml +++ b/.github/workflows/daily-skill-optimizer.lock.yml @@ -168,6 +168,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-spdd-spec-planner.lock.yml b/.github/workflows/daily-spdd-spec-planner.lock.yml index 13bbd4063ac..40c9f5c88dd 100644 --- a/.github/workflows/daily-spdd-spec-planner.lock.yml +++ b/.github/workflows/daily-spdd-spec-planner.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-syntax-error-quality.lock.yml b/.github/workflows/daily-syntax-error-quality.lock.yml index 36b054ca1e6..09c7a208835 100644 --- a/.github/workflows/daily-syntax-error-quality.lock.yml +++ b/.github/workflows/daily-syntax-error-quality.lock.yml @@ -166,6 +166,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-team-evolution-insights.lock.yml b/.github/workflows/daily-team-evolution-insights.lock.yml index 074f4744e9b..553b26307d6 100644 --- a/.github/workflows/daily-team-evolution-insights.lock.yml +++ b/.github/workflows/daily-team-evolution-insights.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-team-status.lock.yml b/.github/workflows/daily-team-status.lock.yml index 724af397196..7337c251319 100644 --- a/.github/workflows/daily-team-status.lock.yml +++ b/.github/workflows/daily-team-status.lock.yml @@ -156,6 +156,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-testify-uber-super-expert.lock.yml b/.github/workflows/daily-testify-uber-super-expert.lock.yml index 00275ec7eaa..bf148c06b5d 100644 --- a/.github/workflows/daily-testify-uber-super-expert.lock.yml +++ b/.github/workflows/daily-testify-uber-super-expert.lock.yml @@ -179,6 +179,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-token-consumption-report.lock.yml b/.github/workflows/daily-token-consumption-report.lock.yml index 55f527f9501..608e6b8bbd3 100644 --- a/.github/workflows/daily-token-consumption-report.lock.yml +++ b/.github/workflows/daily-token-consumption-report.lock.yml @@ -178,6 +178,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-windows-terminal-integration-builder.lock.yml b/.github/workflows/daily-windows-terminal-integration-builder.lock.yml index 6bba055360a..ac72ed46064 100644 --- a/.github/workflows/daily-windows-terminal-integration-builder.lock.yml +++ b/.github/workflows/daily-windows-terminal-integration-builder.lock.yml @@ -150,6 +150,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/daily-workflow-updater.lock.yml b/.github/workflows/daily-workflow-updater.lock.yml index 2cea3d3e5f5..7430b67d728 100644 --- a/.github/workflows/daily-workflow-updater.lock.yml +++ b/.github/workflows/daily-workflow-updater.lock.yml @@ -167,6 +167,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/dataflow-pr-discussion-dataset.lock.yml b/.github/workflows/dataflow-pr-discussion-dataset.lock.yml index e86548a2456..2353f97180b 100644 --- a/.github/workflows/dataflow-pr-discussion-dataset.lock.yml +++ b/.github/workflows/dataflow-pr-discussion-dataset.lock.yml @@ -174,6 +174,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/dead-code-remover.lock.yml b/.github/workflows/dead-code-remover.lock.yml index a0275a0c19f..048cb071e07 100644 --- a/.github/workflows/dead-code-remover.lock.yml +++ b/.github/workflows/dead-code-remover.lock.yml @@ -176,6 +176,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/deep-report.lock.yml b/.github/workflows/deep-report.lock.yml index 4ac564f72ca..033cb96bf8c 100644 --- a/.github/workflows/deep-report.lock.yml +++ b/.github/workflows/deep-report.lock.yml @@ -180,6 +180,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/delight.lock.yml b/.github/workflows/delight.lock.yml index f6870f93b9e..77183aef62e 100644 --- a/.github/workflows/delight.lock.yml +++ b/.github/workflows/delight.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/dependabot-burner.lock.yml b/.github/workflows/dependabot-burner.lock.yml index 4cbf948a29d..a4c8a9da833 100644 --- a/.github/workflows/dependabot-burner.lock.yml +++ b/.github/workflows/dependabot-burner.lock.yml @@ -167,6 +167,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/dependabot-campaign.lock.yml b/.github/workflows/dependabot-campaign.lock.yml index 31af167bdee..8bc68195ec1 100644 --- a/.github/workflows/dependabot-campaign.lock.yml +++ b/.github/workflows/dependabot-campaign.lock.yml @@ -177,6 +177,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/dependabot-go-checker.lock.yml b/.github/workflows/dependabot-go-checker.lock.yml index 78a05b51189..1beedc24861 100644 --- a/.github/workflows/dependabot-go-checker.lock.yml +++ b/.github/workflows/dependabot-go-checker.lock.yml @@ -169,6 +169,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/dependabot-repair.lock.yml b/.github/workflows/dependabot-repair.lock.yml index 27f2671103d..b1b99d0e356 100644 --- a/.github/workflows/dependabot-repair.lock.yml +++ b/.github/workflows/dependabot-repair.lock.yml @@ -178,6 +178,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/dependabot-worker.lock.yml b/.github/workflows/dependabot-worker.lock.yml index e7eaaf45a2f..63d82c7574c 100644 --- a/.github/workflows/dependabot-worker.lock.yml +++ b/.github/workflows/dependabot-worker.lock.yml @@ -261,6 +261,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/deployment-incident-monitor.lock.yml b/.github/workflows/deployment-incident-monitor.lock.yml index c678d1bb6b6..9abfaffb261 100644 --- a/.github/workflows/deployment-incident-monitor.lock.yml +++ b/.github/workflows/deployment-incident-monitor.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/design-decision-gate.lock.yml b/.github/workflows/design-decision-gate.lock.yml index ba70faa8457..b240a956744 100644 --- a/.github/workflows/design-decision-gate.lock.yml +++ b/.github/workflows/design-decision-gate.lock.yml @@ -190,6 +190,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/designer-drift-audit.lock.yml b/.github/workflows/designer-drift-audit.lock.yml index 740fd0c89a5..7c8f6e3b570 100644 --- a/.github/workflows/designer-drift-audit.lock.yml +++ b/.github/workflows/designer-drift-audit.lock.yml @@ -150,6 +150,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/dev-hawk.lock.yml b/.github/workflows/dev-hawk.lock.yml index dc04cb20602..0a9a5bf2140 100644 --- a/.github/workflows/dev-hawk.lock.yml +++ b/.github/workflows/dev-hawk.lock.yml @@ -177,6 +177,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/dev.lock.yml b/.github/workflows/dev.lock.yml index 4195c011dec..c3282301ab2 100644 --- a/.github/workflows/dev.lock.yml +++ b/.github/workflows/dev.lock.yml @@ -187,6 +187,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/developer-docs-consolidator.lock.yml b/.github/workflows/developer-docs-consolidator.lock.yml index 0a9d0942d8d..f84a8bb6ab7 100644 --- a/.github/workflows/developer-docs-consolidator.lock.yml +++ b/.github/workflows/developer-docs-consolidator.lock.yml @@ -175,6 +175,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/dictation-prompt.lock.yml b/.github/workflows/dictation-prompt.lock.yml index 1e3ab46dc88..c0d7351236c 100644 --- a/.github/workflows/dictation-prompt.lock.yml +++ b/.github/workflows/dictation-prompt.lock.yml @@ -168,6 +168,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/discussion-task-miner.lock.yml b/.github/workflows/discussion-task-miner.lock.yml index 9de6f1f0dcc..ef72bbc54cf 100644 --- a/.github/workflows/discussion-task-miner.lock.yml +++ b/.github/workflows/discussion-task-miner.lock.yml @@ -169,6 +169,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/docs-noob-tester.lock.yml b/.github/workflows/docs-noob-tester.lock.yml index b7de5a93517..134c64e5141 100644 --- a/.github/workflows/docs-noob-tester.lock.yml +++ b/.github/workflows/docs-noob-tester.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/draft-pr-cleanup.lock.yml b/.github/workflows/draft-pr-cleanup.lock.yml index 84b6323697a..84703d114c9 100644 --- a/.github/workflows/draft-pr-cleanup.lock.yml +++ b/.github/workflows/draft-pr-cleanup.lock.yml @@ -166,6 +166,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/duplicate-code-detector.lock.yml b/.github/workflows/duplicate-code-detector.lock.yml index 218ac98a54a..7b15c5d2754 100644 --- a/.github/workflows/duplicate-code-detector.lock.yml +++ b/.github/workflows/duplicate-code-detector.lock.yml @@ -174,6 +174,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/example-permissions-warning.lock.yml b/.github/workflows/example-permissions-warning.lock.yml index 26b04d12ab9..37505b70355 100644 --- a/.github/workflows/example-permissions-warning.lock.yml +++ b/.github/workflows/example-permissions-warning.lock.yml @@ -163,6 +163,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/example-workflow-analyzer.lock.yml b/.github/workflows/example-workflow-analyzer.lock.yml index 6c70b95606d..ab4b3b70cb8 100644 --- a/.github/workflows/example-workflow-analyzer.lock.yml +++ b/.github/workflows/example-workflow-analyzer.lock.yml @@ -175,6 +175,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/firewall-escape.lock.yml b/.github/workflows/firewall-escape.lock.yml index 3fc60471293..9b39df7b748 100644 --- a/.github/workflows/firewall-escape.lock.yml +++ b/.github/workflows/firewall-escape.lock.yml @@ -181,6 +181,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/firewall.lock.yml b/.github/workflows/firewall.lock.yml index d1605541cac..2af0c7cc678 100644 --- a/.github/workflows/firewall.lock.yml +++ b/.github/workflows/firewall.lock.yml @@ -163,6 +163,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/functional-pragmatist.lock.yml b/.github/workflows/functional-pragmatist.lock.yml index 7f6722eab07..f3fc0985d38 100644 --- a/.github/workflows/functional-pragmatist.lock.yml +++ b/.github/workflows/functional-pragmatist.lock.yml @@ -168,6 +168,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/github-mcp-structural-analysis.lock.yml b/.github/workflows/github-mcp-structural-analysis.lock.yml index 53b6f6a4ea7..358aae89c72 100644 --- a/.github/workflows/github-mcp-structural-analysis.lock.yml +++ b/.github/workflows/github-mcp-structural-analysis.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/github-mcp-tools-report.lock.yml b/.github/workflows/github-mcp-tools-report.lock.yml index 9f99fa50661..f94dd69a8d2 100644 --- a/.github/workflows/github-mcp-tools-report.lock.yml +++ b/.github/workflows/github-mcp-tools-report.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/github-remote-mcp-auth-test.lock.yml b/.github/workflows/github-remote-mcp-auth-test.lock.yml index 4de6d2cb333..8d212f3614b 100644 --- a/.github/workflows/github-remote-mcp-auth-test.lock.yml +++ b/.github/workflows/github-remote-mcp-auth-test.lock.yml @@ -169,6 +169,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/glossary-maintainer.lock.yml b/.github/workflows/glossary-maintainer.lock.yml index 49b0ef42830..ae598f28aff 100644 --- a/.github/workflows/glossary-maintainer.lock.yml +++ b/.github/workflows/glossary-maintainer.lock.yml @@ -174,6 +174,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/go-fan.lock.yml b/.github/workflows/go-fan.lock.yml index d4a0563ab2f..1e79faead9b 100644 --- a/.github/workflows/go-fan.lock.yml +++ b/.github/workflows/go-fan.lock.yml @@ -175,6 +175,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/go-logger.lock.yml b/.github/workflows/go-logger.lock.yml index 4105680f7a8..b86f4a5da7f 100644 --- a/.github/workflows/go-logger.lock.yml +++ b/.github/workflows/go-logger.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/go-pattern-detector.lock.yml b/.github/workflows/go-pattern-detector.lock.yml index 47191b3e940..9a9d8cfb8bc 100644 --- a/.github/workflows/go-pattern-detector.lock.yml +++ b/.github/workflows/go-pattern-detector.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/gpclean.lock.yml b/.github/workflows/gpclean.lock.yml index 03d4f1e057a..4c49dc7c2dd 100644 --- a/.github/workflows/gpclean.lock.yml +++ b/.github/workflows/gpclean.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/grumpy-reviewer.lock.yml b/.github/workflows/grumpy-reviewer.lock.yml index 1e2b93c1b18..b42bde6ece1 100644 --- a/.github/workflows/grumpy-reviewer.lock.yml +++ b/.github/workflows/grumpy-reviewer.lock.yml @@ -178,6 +178,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/hippo-embed.lock.yml b/.github/workflows/hippo-embed.lock.yml index 099eb996ad1..12f91432dfd 100644 --- a/.github/workflows/hippo-embed.lock.yml +++ b/.github/workflows/hippo-embed.lock.yml @@ -166,6 +166,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/hourly-ci-cleaner.lock.yml b/.github/workflows/hourly-ci-cleaner.lock.yml index e6f6e429de8..d360ef387af 100644 --- a/.github/workflows/hourly-ci-cleaner.lock.yml +++ b/.github/workflows/hourly-ci-cleaner.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/instructions-janitor.lock.yml b/.github/workflows/instructions-janitor.lock.yml index d24b3fb61fc..d95524002e3 100644 --- a/.github/workflows/instructions-janitor.lock.yml +++ b/.github/workflows/instructions-janitor.lock.yml @@ -169,6 +169,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/issue-arborist.lock.yml b/.github/workflows/issue-arborist.lock.yml index f4a48769243..98a599ffe6f 100644 --- a/.github/workflows/issue-arborist.lock.yml +++ b/.github/workflows/issue-arborist.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/issue-monster.lock.yml b/.github/workflows/issue-monster.lock.yml index 01d776376e3..fe905dad1c3 100644 --- a/.github/workflows/issue-monster.lock.yml +++ b/.github/workflows/issue-monster.lock.yml @@ -557,6 +557,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/issue-triage-agent.lock.yml b/.github/workflows/issue-triage-agent.lock.yml index 0ea328d802f..ba5ac5b1f94 100644 --- a/.github/workflows/issue-triage-agent.lock.yml +++ b/.github/workflows/issue-triage-agent.lock.yml @@ -167,6 +167,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/jsweep.lock.yml b/.github/workflows/jsweep.lock.yml index d85555c1019..89c586a0618 100644 --- a/.github/workflows/jsweep.lock.yml +++ b/.github/workflows/jsweep.lock.yml @@ -169,6 +169,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/layout-spec-maintainer.lock.yml b/.github/workflows/layout-spec-maintainer.lock.yml index 815f551cff9..c11a95733b7 100644 --- a/.github/workflows/layout-spec-maintainer.lock.yml +++ b/.github/workflows/layout-spec-maintainer.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/lint-monster.lock.yml b/.github/workflows/lint-monster.lock.yml index 22f1a803c6b..6d767734b1e 100644 --- a/.github/workflows/lint-monster.lock.yml +++ b/.github/workflows/lint-monster.lock.yml @@ -169,6 +169,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/linter-miner.lock.yml b/.github/workflows/linter-miner.lock.yml index 4323164e0bc..c7416ac63eb 100644 --- a/.github/workflows/linter-miner.lock.yml +++ b/.github/workflows/linter-miner.lock.yml @@ -169,6 +169,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/lockfile-stats.lock.yml b/.github/workflows/lockfile-stats.lock.yml index 4b5c315a22a..e280c3c54e3 100644 --- a/.github/workflows/lockfile-stats.lock.yml +++ b/.github/workflows/lockfile-stats.lock.yml @@ -170,6 +170,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/mattpocock-skills-reviewer.lock.yml b/.github/workflows/mattpocock-skills-reviewer.lock.yml index d7684f02a25..e4b3167e469 100644 --- a/.github/workflows/mattpocock-skills-reviewer.lock.yml +++ b/.github/workflows/mattpocock-skills-reviewer.lock.yml @@ -179,6 +179,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/mcp-inspector.lock.yml b/.github/workflows/mcp-inspector.lock.yml index 6407d923214..8d08b9c0b09 100644 --- a/.github/workflows/mcp-inspector.lock.yml +++ b/.github/workflows/mcp-inspector.lock.yml @@ -215,6 +215,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/mergefest.lock.yml b/.github/workflows/mergefest.lock.yml index a504141de88..0cbe11a1ca2 100644 --- a/.github/workflows/mergefest.lock.yml +++ b/.github/workflows/mergefest.lock.yml @@ -177,6 +177,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/metrics-collector.lock.yml b/.github/workflows/metrics-collector.lock.yml index 151a1214d61..fe4f87041e7 100644 --- a/.github/workflows/metrics-collector.lock.yml +++ b/.github/workflows/metrics-collector.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/necromancer.lock.yml b/.github/workflows/necromancer.lock.yml index 2502d441506..1f35d5f3636 100644 --- a/.github/workflows/necromancer.lock.yml +++ b/.github/workflows/necromancer.lock.yml @@ -185,6 +185,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/notion-issue-summary.lock.yml b/.github/workflows/notion-issue-summary.lock.yml index 82e1b0a1315..a77d9164a8e 100644 --- a/.github/workflows/notion-issue-summary.lock.yml +++ b/.github/workflows/notion-issue-summary.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/objective-impact-report.lock.yml b/.github/workflows/objective-impact-report.lock.yml index 5e0c1d08933..ea6f6ea9556 100644 --- a/.github/workflows/objective-impact-report.lock.yml +++ b/.github/workflows/objective-impact-report.lock.yml @@ -146,6 +146,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/org-health-report.lock.yml b/.github/workflows/org-health-report.lock.yml index 91c6e12ab97..6bb8f565ee0 100644 --- a/.github/workflows/org-health-report.lock.yml +++ b/.github/workflows/org-health-report.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/outcome-collector.lock.yml b/.github/workflows/outcome-collector.lock.yml index d16bf7996f4..6a09e2b5d1f 100644 --- a/.github/workflows/outcome-collector.lock.yml +++ b/.github/workflows/outcome-collector.lock.yml @@ -168,6 +168,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/pdf-summary.lock.yml b/.github/workflows/pdf-summary.lock.yml index 3689c2f95a2..4c315b5289b 100644 --- a/.github/workflows/pdf-summary.lock.yml +++ b/.github/workflows/pdf-summary.lock.yml @@ -187,6 +187,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/plan.lock.yml b/.github/workflows/plan.lock.yml index 099d3aaf5ff..ab8cbb9f5f0 100644 --- a/.github/workflows/plan.lock.yml +++ b/.github/workflows/plan.lock.yml @@ -176,6 +176,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/poem-bot.lock.yml b/.github/workflows/poem-bot.lock.yml index 0687b7a4039..804beef3ec8 100644 --- a/.github/workflows/poem-bot.lock.yml +++ b/.github/workflows/poem-bot.lock.yml @@ -184,6 +184,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/pr-code-quality-reviewer.lock.yml b/.github/workflows/pr-code-quality-reviewer.lock.yml index ab4a05b50c0..fc0df5bc6f3 100644 --- a/.github/workflows/pr-code-quality-reviewer.lock.yml +++ b/.github/workflows/pr-code-quality-reviewer.lock.yml @@ -180,6 +180,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/pr-description-caveman.lock.yml b/.github/workflows/pr-description-caveman.lock.yml index d1fee66ca9e..4bc4921715c 100644 --- a/.github/workflows/pr-description-caveman.lock.yml +++ b/.github/workflows/pr-description-caveman.lock.yml @@ -152,6 +152,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/pr-nitpick-reviewer.lock.yml b/.github/workflows/pr-nitpick-reviewer.lock.yml index c55b89f7c56..cb2f25b64bc 100644 --- a/.github/workflows/pr-nitpick-reviewer.lock.yml +++ b/.github/workflows/pr-nitpick-reviewer.lock.yml @@ -178,6 +178,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/pr-sous-chef.lock.yml b/.github/workflows/pr-sous-chef.lock.yml index a203802d68d..d78b6347eb7 100644 --- a/.github/workflows/pr-sous-chef.lock.yml +++ b/.github/workflows/pr-sous-chef.lock.yml @@ -173,6 +173,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/pr-triage-agent.lock.yml b/.github/workflows/pr-triage-agent.lock.yml index 7bf037835e4..ce36ca6ca69 100644 --- a/.github/workflows/pr-triage-agent.lock.yml +++ b/.github/workflows/pr-triage-agent.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/prompt-clustering-analysis.lock.yml b/.github/workflows/prompt-clustering-analysis.lock.yml index ce67d39203f..7f969d65384 100644 --- a/.github/workflows/prompt-clustering-analysis.lock.yml +++ b/.github/workflows/prompt-clustering-analysis.lock.yml @@ -184,6 +184,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/python-data-charts.lock.yml b/.github/workflows/python-data-charts.lock.yml index 03ce2d23905..44c1a877e44 100644 --- a/.github/workflows/python-data-charts.lock.yml +++ b/.github/workflows/python-data-charts.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/q.lock.yml b/.github/workflows/q.lock.yml index d4b49dd7622..447c67ba08d 100644 --- a/.github/workflows/q.lock.yml +++ b/.github/workflows/q.lock.yml @@ -203,6 +203,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/refactoring-cadence.lock.yml b/.github/workflows/refactoring-cadence.lock.yml index 464a6b437ff..f169dc69a7d 100644 --- a/.github/workflows/refactoring-cadence.lock.yml +++ b/.github/workflows/refactoring-cadence.lock.yml @@ -174,6 +174,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/refiner.lock.yml b/.github/workflows/refiner.lock.yml index ee4e7184f0e..64b0b3848c7 100644 --- a/.github/workflows/refiner.lock.yml +++ b/.github/workflows/refiner.lock.yml @@ -188,6 +188,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/release.lock.yml b/.github/workflows/release.lock.yml index 80a9b97ac0f..2aac75b8d23 100644 --- a/.github/workflows/release.lock.yml +++ b/.github/workflows/release.lock.yml @@ -186,6 +186,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/repo-audit-analyzer.lock.yml b/.github/workflows/repo-audit-analyzer.lock.yml index dff2cfda035..25cdb58122e 100644 --- a/.github/workflows/repo-audit-analyzer.lock.yml +++ b/.github/workflows/repo-audit-analyzer.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/repo-tree-map.lock.yml b/.github/workflows/repo-tree-map.lock.yml index feefdec73bf..7e880c456a7 100644 --- a/.github/workflows/repo-tree-map.lock.yml +++ b/.github/workflows/repo-tree-map.lock.yml @@ -168,6 +168,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/repository-quality-improver.lock.yml b/.github/workflows/repository-quality-improver.lock.yml index f4ffd1cb849..7e2d9ac8b3c 100644 --- a/.github/workflows/repository-quality-improver.lock.yml +++ b/.github/workflows/repository-quality-improver.lock.yml @@ -177,6 +177,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/research.lock.yml b/.github/workflows/research.lock.yml index 15e5ce86e9c..3d95349f734 100644 --- a/.github/workflows/research.lock.yml +++ b/.github/workflows/research.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/ruflo-backed-task.lock.yml b/.github/workflows/ruflo-backed-task.lock.yml index fedebc07233..377037c14c4 100644 --- a/.github/workflows/ruflo-backed-task.lock.yml +++ b/.github/workflows/ruflo-backed-task.lock.yml @@ -163,6 +163,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/safe-output-health.lock.yml b/.github/workflows/safe-output-health.lock.yml index f0cab91a2ad..dbb63706819 100644 --- a/.github/workflows/safe-output-health.lock.yml +++ b/.github/workflows/safe-output-health.lock.yml @@ -175,6 +175,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/schema-consistency-checker.lock.yml b/.github/workflows/schema-consistency-checker.lock.yml index c600b14bef4..bb88d9123f1 100644 --- a/.github/workflows/schema-consistency-checker.lock.yml +++ b/.github/workflows/schema-consistency-checker.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/schema-feature-coverage.lock.yml b/.github/workflows/schema-feature-coverage.lock.yml index cb4a42128f2..09994905e3e 100644 --- a/.github/workflows/schema-feature-coverage.lock.yml +++ b/.github/workflows/schema-feature-coverage.lock.yml @@ -168,6 +168,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/scout.lock.yml b/.github/workflows/scout.lock.yml index f3556f4659b..142b3c6c8a8 100644 --- a/.github/workflows/scout.lock.yml +++ b/.github/workflows/scout.lock.yml @@ -200,6 +200,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/security-compliance.lock.yml b/.github/workflows/security-compliance.lock.yml index 15f284c402c..5386d90a104 100644 --- a/.github/workflows/security-compliance.lock.yml +++ b/.github/workflows/security-compliance.lock.yml @@ -176,6 +176,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/security-review.lock.yml b/.github/workflows/security-review.lock.yml index aea95d844e7..f7882ce7d52 100644 --- a/.github/workflows/security-review.lock.yml +++ b/.github/workflows/security-review.lock.yml @@ -179,6 +179,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/semantic-function-refactor.lock.yml b/.github/workflows/semantic-function-refactor.lock.yml index ccf2c8c2946..0dfb19fea59 100644 --- a/.github/workflows/semantic-function-refactor.lock.yml +++ b/.github/workflows/semantic-function-refactor.lock.yml @@ -173,6 +173,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/sergo.lock.yml b/.github/workflows/sergo.lock.yml index 9a7836ff8dc..abad088e470 100644 --- a/.github/workflows/sergo.lock.yml +++ b/.github/workflows/sergo.lock.yml @@ -174,6 +174,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/slide-deck-maintainer.lock.yml b/.github/workflows/slide-deck-maintainer.lock.yml index 7d0aeb0ba98..a7c5909d518 100644 --- a/.github/workflows/slide-deck-maintainer.lock.yml +++ b/.github/workflows/slide-deck-maintainer.lock.yml @@ -180,6 +180,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-agent-all-merged.lock.yml b/.github/workflows/smoke-agent-all-merged.lock.yml index 6748cca4470..3abc3a58338 100644 --- a/.github/workflows/smoke-agent-all-merged.lock.yml +++ b/.github/workflows/smoke-agent-all-merged.lock.yml @@ -181,6 +181,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-agent-all-none.lock.yml b/.github/workflows/smoke-agent-all-none.lock.yml index 741673a9be5..b26e23fefe3 100644 --- a/.github/workflows/smoke-agent-all-none.lock.yml +++ b/.github/workflows/smoke-agent-all-none.lock.yml @@ -181,6 +181,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-agent-public-approved.lock.yml b/.github/workflows/smoke-agent-public-approved.lock.yml index 3dda2a3e730..ce78fe05cd0 100644 --- a/.github/workflows/smoke-agent-public-approved.lock.yml +++ b/.github/workflows/smoke-agent-public-approved.lock.yml @@ -183,6 +183,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-agent-public-none.lock.yml b/.github/workflows/smoke-agent-public-none.lock.yml index 855c129cefc..613732f017c 100644 --- a/.github/workflows/smoke-agent-public-none.lock.yml +++ b/.github/workflows/smoke-agent-public-none.lock.yml @@ -181,6 +181,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-agent-scoped-approved.lock.yml b/.github/workflows/smoke-agent-scoped-approved.lock.yml index 681c4ce6e55..662bb852ff3 100644 --- a/.github/workflows/smoke-agent-scoped-approved.lock.yml +++ b/.github/workflows/smoke-agent-scoped-approved.lock.yml @@ -182,6 +182,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-antigravity.lock.yml b/.github/workflows/smoke-antigravity.lock.yml index 3ed377477c9..2a23dc8f90b 100644 --- a/.github/workflows/smoke-antigravity.lock.yml +++ b/.github/workflows/smoke-antigravity.lock.yml @@ -185,6 +185,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-call-workflow.lock.yml b/.github/workflows/smoke-call-workflow.lock.yml index 0c94cb42991..e06713bed5a 100644 --- a/.github/workflows/smoke-call-workflow.lock.yml +++ b/.github/workflows/smoke-call-workflow.lock.yml @@ -184,6 +184,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-ci.lock.yml b/.github/workflows/smoke-ci.lock.yml index a715c30f317..082f14dd655 100644 --- a/.github/workflows/smoke-ci.lock.yml +++ b/.github/workflows/smoke-ci.lock.yml @@ -189,6 +189,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-claude.lock.yml b/.github/workflows/smoke-claude.lock.yml index 7cf48eb9f3b..83439e6b6b8 100644 --- a/.github/workflows/smoke-claude.lock.yml +++ b/.github/workflows/smoke-claude.lock.yml @@ -194,6 +194,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-codex.lock.yml b/.github/workflows/smoke-codex.lock.yml index 8b333b20640..4832c60d8fd 100644 --- a/.github/workflows/smoke-codex.lock.yml +++ b/.github/workflows/smoke-codex.lock.yml @@ -193,6 +193,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-copilot-aoai-apikey.lock.yml b/.github/workflows/smoke-copilot-aoai-apikey.lock.yml index 32b423d40fb..41ecd417bb3 100644 --- a/.github/workflows/smoke-copilot-aoai-apikey.lock.yml +++ b/.github/workflows/smoke-copilot-aoai-apikey.lock.yml @@ -192,6 +192,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-copilot-aoai-entra.lock.yml b/.github/workflows/smoke-copilot-aoai-entra.lock.yml index f955971752b..30789293396 100644 --- a/.github/workflows/smoke-copilot-aoai-entra.lock.yml +++ b/.github/workflows/smoke-copilot-aoai-entra.lock.yml @@ -191,6 +191,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-copilot-arm.lock.yml b/.github/workflows/smoke-copilot-arm.lock.yml index ca0a9d8e7d7..e1a7b65bdd9 100644 --- a/.github/workflows/smoke-copilot-arm.lock.yml +++ b/.github/workflows/smoke-copilot-arm.lock.yml @@ -192,6 +192,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-copilot-sdk.lock.yml b/.github/workflows/smoke-copilot-sdk.lock.yml index 267c8c1de4f..fc6951fa688 100644 --- a/.github/workflows/smoke-copilot-sdk.lock.yml +++ b/.github/workflows/smoke-copilot-sdk.lock.yml @@ -161,6 +161,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-copilot.lock.yml b/.github/workflows/smoke-copilot.lock.yml index bfd26c202eb..cd2deecaea6 100644 --- a/.github/workflows/smoke-copilot.lock.yml +++ b/.github/workflows/smoke-copilot.lock.yml @@ -193,6 +193,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-create-cross-repo-pr.lock.yml b/.github/workflows/smoke-create-cross-repo-pr.lock.yml index 802275037f5..a2345f8ba9c 100644 --- a/.github/workflows/smoke-create-cross-repo-pr.lock.yml +++ b/.github/workflows/smoke-create-cross-repo-pr.lock.yml @@ -182,6 +182,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-crush.lock.yml b/.github/workflows/smoke-crush.lock.yml index 2257cb91209..c1769bee422 100644 --- a/.github/workflows/smoke-crush.lock.yml +++ b/.github/workflows/smoke-crush.lock.yml @@ -183,6 +183,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-gemini.lock.yml b/.github/workflows/smoke-gemini.lock.yml index 0874d54b575..0b4edb5ed15 100644 --- a/.github/workflows/smoke-gemini.lock.yml +++ b/.github/workflows/smoke-gemini.lock.yml @@ -186,6 +186,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-multi-pr.lock.yml b/.github/workflows/smoke-multi-pr.lock.yml index 0fbbd749eb0..b2526073ba5 100644 --- a/.github/workflows/smoke-multi-pr.lock.yml +++ b/.github/workflows/smoke-multi-pr.lock.yml @@ -183,6 +183,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-opencode.lock.yml b/.github/workflows/smoke-opencode.lock.yml index 904f11d0dda..d284ff22130 100644 --- a/.github/workflows/smoke-opencode.lock.yml +++ b/.github/workflows/smoke-opencode.lock.yml @@ -184,6 +184,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-otel-backends.lock.yml b/.github/workflows/smoke-otel-backends.lock.yml index 91973099905..375bc34371b 100644 --- a/.github/workflows/smoke-otel-backends.lock.yml +++ b/.github/workflows/smoke-otel-backends.lock.yml @@ -198,6 +198,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-pi.lock.yml b/.github/workflows/smoke-pi.lock.yml index aaf39f66ae3..8fc2262e4e4 100644 --- a/.github/workflows/smoke-pi.lock.yml +++ b/.github/workflows/smoke-pi.lock.yml @@ -185,6 +185,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-project.lock.yml b/.github/workflows/smoke-project.lock.yml index afc89372bd2..a421fb7f632 100644 --- a/.github/workflows/smoke-project.lock.yml +++ b/.github/workflows/smoke-project.lock.yml @@ -186,6 +186,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-service-ports.lock.yml b/.github/workflows/smoke-service-ports.lock.yml index 2d03cdd98b1..5e4d601bef5 100644 --- a/.github/workflows/smoke-service-ports.lock.yml +++ b/.github/workflows/smoke-service-ports.lock.yml @@ -175,6 +175,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-temporary-id.lock.yml b/.github/workflows/smoke-temporary-id.lock.yml index 76330e241aa..db5d3ccedb2 100644 --- a/.github/workflows/smoke-temporary-id.lock.yml +++ b/.github/workflows/smoke-temporary-id.lock.yml @@ -184,6 +184,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-test-tools.lock.yml b/.github/workflows/smoke-test-tools.lock.yml index bf4db3b52c5..06be5e5588f 100644 --- a/.github/workflows/smoke-test-tools.lock.yml +++ b/.github/workflows/smoke-test-tools.lock.yml @@ -186,6 +186,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-update-cross-repo-pr.lock.yml b/.github/workflows/smoke-update-cross-repo-pr.lock.yml index 92ac5e36cae..20f69997934 100644 --- a/.github/workflows/smoke-update-cross-repo-pr.lock.yml +++ b/.github/workflows/smoke-update-cross-repo-pr.lock.yml @@ -182,6 +182,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-workflow-call-with-inputs.lock.yml b/.github/workflows/smoke-workflow-call-with-inputs.lock.yml index 42ba2c14e8f..d0303b97f33 100644 --- a/.github/workflows/smoke-workflow-call-with-inputs.lock.yml +++ b/.github/workflows/smoke-workflow-call-with-inputs.lock.yml @@ -233,6 +233,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/smoke-workflow-call.lock.yml b/.github/workflows/smoke-workflow-call.lock.yml index a236b88f781..bad5d075a0a 100644 --- a/.github/workflows/smoke-workflow-call.lock.yml +++ b/.github/workflows/smoke-workflow-call.lock.yml @@ -236,6 +236,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/spec-enforcer.lock.yml b/.github/workflows/spec-enforcer.lock.yml index dd45934dfbb..8ec530ac766 100644 --- a/.github/workflows/spec-enforcer.lock.yml +++ b/.github/workflows/spec-enforcer.lock.yml @@ -175,6 +175,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/spec-extractor.lock.yml b/.github/workflows/spec-extractor.lock.yml index 9a29543c37b..661033beeb9 100644 --- a/.github/workflows/spec-extractor.lock.yml +++ b/.github/workflows/spec-extractor.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/spec-librarian.lock.yml b/.github/workflows/spec-librarian.lock.yml index 80b229859a0..8ad83f46b47 100644 --- a/.github/workflows/spec-librarian.lock.yml +++ b/.github/workflows/spec-librarian.lock.yml @@ -179,6 +179,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/stale-pr-cleanup.lock.yml b/.github/workflows/stale-pr-cleanup.lock.yml index 9b19b6fa9aa..b679ec25c16 100644 --- a/.github/workflows/stale-pr-cleanup.lock.yml +++ b/.github/workflows/stale-pr-cleanup.lock.yml @@ -166,6 +166,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/stale-repo-identifier.lock.yml b/.github/workflows/stale-repo-identifier.lock.yml index b97bf965a9f..80e089eaa9c 100644 --- a/.github/workflows/stale-repo-identifier.lock.yml +++ b/.github/workflows/stale-repo-identifier.lock.yml @@ -184,6 +184,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/static-analysis-report.lock.yml b/.github/workflows/static-analysis-report.lock.yml index 55dc91dbf06..b06f4fb2570 100644 --- a/.github/workflows/static-analysis-report.lock.yml +++ b/.github/workflows/static-analysis-report.lock.yml @@ -173,6 +173,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/step-name-alignment.lock.yml b/.github/workflows/step-name-alignment.lock.yml index 988e14b338b..916db6de74b 100644 --- a/.github/workflows/step-name-alignment.lock.yml +++ b/.github/workflows/step-name-alignment.lock.yml @@ -168,6 +168,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/sub-issue-closer.lock.yml b/.github/workflows/sub-issue-closer.lock.yml index c2d5142cb5b..6960a9bda03 100644 --- a/.github/workflows/sub-issue-closer.lock.yml +++ b/.github/workflows/sub-issue-closer.lock.yml @@ -168,6 +168,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/super-linter.lock.yml b/.github/workflows/super-linter.lock.yml index 71b1ba08cf5..4c3d41c8cf6 100644 --- a/.github/workflows/super-linter.lock.yml +++ b/.github/workflows/super-linter.lock.yml @@ -169,6 +169,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/technical-doc-writer.lock.yml b/.github/workflows/technical-doc-writer.lock.yml index aa57cfb4507..e3ae1728664 100644 --- a/.github/workflows/technical-doc-writer.lock.yml +++ b/.github/workflows/technical-doc-writer.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/terminal-stylist.lock.yml b/.github/workflows/terminal-stylist.lock.yml index 21842d2efe9..c4e04d4d793 100644 --- a/.github/workflows/terminal-stylist.lock.yml +++ b/.github/workflows/terminal-stylist.lock.yml @@ -174,6 +174,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/test-create-pr-error-handling.lock.yml b/.github/workflows/test-create-pr-error-handling.lock.yml index 39f7573ef34..80151c977c3 100644 --- a/.github/workflows/test-create-pr-error-handling.lock.yml +++ b/.github/workflows/test-create-pr-error-handling.lock.yml @@ -165,6 +165,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/test-dispatcher.lock.yml b/.github/workflows/test-dispatcher.lock.yml index a8ce4add977..b697f0d84b9 100644 --- a/.github/workflows/test-dispatcher.lock.yml +++ b/.github/workflows/test-dispatcher.lock.yml @@ -163,6 +163,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/test-project-url-default.lock.yml b/.github/workflows/test-project-url-default.lock.yml index c9e63b0557f..0976d56b461 100644 --- a/.github/workflows/test-project-url-default.lock.yml +++ b/.github/workflows/test-project-url-default.lock.yml @@ -164,6 +164,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/test-quality-sentinel.lock.yml b/.github/workflows/test-quality-sentinel.lock.yml index 0d0b566ea5a..4c684073b31 100644 --- a/.github/workflows/test-quality-sentinel.lock.yml +++ b/.github/workflows/test-quality-sentinel.lock.yml @@ -179,6 +179,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/test-workflow.lock.yml b/.github/workflows/test-workflow.lock.yml index 2e61ae2e491..446f60fcf22 100644 --- a/.github/workflows/test-workflow.lock.yml +++ b/.github/workflows/test-workflow.lock.yml @@ -166,6 +166,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/tidy.lock.yml b/.github/workflows/tidy.lock.yml index c9b909c8cc6..6f7489910cd 100644 --- a/.github/workflows/tidy.lock.yml +++ b/.github/workflows/tidy.lock.yml @@ -189,6 +189,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/typist.lock.yml b/.github/workflows/typist.lock.yml index bddc48de2d3..77948a9aeff 100644 --- a/.github/workflows/typist.lock.yml +++ b/.github/workflows/typist.lock.yml @@ -176,6 +176,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/ubuntu-image-analyzer.lock.yml b/.github/workflows/ubuntu-image-analyzer.lock.yml index e01e16383ff..dfbb00476c5 100644 --- a/.github/workflows/ubuntu-image-analyzer.lock.yml +++ b/.github/workflows/ubuntu-image-analyzer.lock.yml @@ -177,6 +177,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/uk-ai-operational-resilience.lock.yml b/.github/workflows/uk-ai-operational-resilience.lock.yml index 1d0c721404b..7b3e7d99cc8 100644 --- a/.github/workflows/uk-ai-operational-resilience.lock.yml +++ b/.github/workflows/uk-ai-operational-resilience.lock.yml @@ -179,6 +179,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/unbloat-docs.lock.yml b/.github/workflows/unbloat-docs.lock.yml index a48ffdf057e..2ac190b72af 100644 --- a/.github/workflows/unbloat-docs.lock.yml +++ b/.github/workflows/unbloat-docs.lock.yml @@ -183,6 +183,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/update-astro.lock.yml b/.github/workflows/update-astro.lock.yml index 14750c74592..ea9e42139ac 100644 --- a/.github/workflows/update-astro.lock.yml +++ b/.github/workflows/update-astro.lock.yml @@ -175,6 +175,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/video-analyzer.lock.yml b/.github/workflows/video-analyzer.lock.yml index 8856ffed55f..d62d8410607 100644 --- a/.github/workflows/video-analyzer.lock.yml +++ b/.github/workflows/video-analyzer.lock.yml @@ -169,6 +169,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/visual-regression-checker.lock.yml b/.github/workflows/visual-regression-checker.lock.yml index 59e6e6b74b5..e216db9a60e 100644 --- a/.github/workflows/visual-regression-checker.lock.yml +++ b/.github/workflows/visual-regression-checker.lock.yml @@ -177,6 +177,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/weekly-blog-post-writer.lock.yml b/.github/workflows/weekly-blog-post-writer.lock.yml index 97053ef3e9e..646d4e9525a 100644 --- a/.github/workflows/weekly-blog-post-writer.lock.yml +++ b/.github/workflows/weekly-blog-post-writer.lock.yml @@ -174,6 +174,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/weekly-editors-health-check.lock.yml b/.github/workflows/weekly-editors-health-check.lock.yml index c83bdd0a0a1..bd6de4d5f2d 100644 --- a/.github/workflows/weekly-editors-health-check.lock.yml +++ b/.github/workflows/weekly-editors-health-check.lock.yml @@ -168,6 +168,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/weekly-issue-summary.lock.yml b/.github/workflows/weekly-issue-summary.lock.yml index bc53dab1806..8cfb48efed8 100644 --- a/.github/workflows/weekly-issue-summary.lock.yml +++ b/.github/workflows/weekly-issue-summary.lock.yml @@ -174,6 +174,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/weekly-safe-outputs-spec-review.lock.yml b/.github/workflows/weekly-safe-outputs-spec-review.lock.yml index 5414902f814..baa55c236a9 100644 --- a/.github/workflows/weekly-safe-outputs-spec-review.lock.yml +++ b/.github/workflows/weekly-safe-outputs-spec-review.lock.yml @@ -169,6 +169,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/workflow-generator.lock.yml b/.github/workflows/workflow-generator.lock.yml index 643fcb6b93d..c88e01fdff1 100644 --- a/.github/workflows/workflow-generator.lock.yml +++ b/.github/workflows/workflow-generator.lock.yml @@ -172,6 +172,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/workflow-health-manager.lock.yml b/.github/workflows/workflow-health-manager.lock.yml index 2a796c84595..ea9fba7d82f 100644 --- a/.github/workflows/workflow-health-manager.lock.yml +++ b/.github/workflows/workflow-health-manager.lock.yml @@ -169,6 +169,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/workflow-normalizer.lock.yml b/.github/workflows/workflow-normalizer.lock.yml index eedb3d19f85..0268e8bfcf6 100644 --- a/.github/workflows/workflow-normalizer.lock.yml +++ b/.github/workflows/workflow-normalizer.lock.yml @@ -171,6 +171,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/.github/workflows/workflow-skill-extractor.lock.yml b/.github/workflows/workflow-skill-extractor.lock.yml index 066cebd9af9..aaaa43be7a7 100644 --- a/.github/workflows/workflow-skill-extractor.lock.yml +++ b/.github/workflows/workflow-skill-extractor.lock.yml @@ -168,6 +168,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/pkg/workflow/compiler_activation_job_builder.go b/pkg/workflow/compiler_activation_job_builder.go index cf9bac69f4d..c9f7da97a21 100644 --- a/pkg/workflow/compiler_activation_job_builder.go +++ b/pkg/workflow/compiler_activation_job_builder.go @@ -352,6 +352,7 @@ func (c *Compiler) buildActivationDailyAICGuardrailStep(data *WorkflowData) []st steps = append(steps, " - name: Detect daily AIC usage cache miss\n") steps = append(steps, " id: detect-daily-aic-cache-miss\n") steps = append(steps, fmt.Sprintf(" if: %s\n", maxDailyAICreditsConfiguredIfExpr)) + steps = append(steps, " continue-on-error: true\n") steps = append(steps, " env:\n") steps = append(steps, " GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }}\n") steps = append(steps, " GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }}\n") diff --git a/pkg/workflow/daily_aic_workflow_guardrail_test.go b/pkg/workflow/daily_aic_workflow_guardrail_test.go index f82e83f33b2..d3163cb006d 100644 --- a/pkg/workflow/daily_aic_workflow_guardrail_test.go +++ b/pkg/workflow/daily_aic_workflow_guardrail_test.go @@ -4,6 +4,7 @@ package workflow import ( "os" + "os/exec" "path/filepath" "strings" "testing" @@ -169,6 +170,11 @@ Guardrail test workflow` if !strings.Contains(activationSection, "id: detect-daily-aic-cache-miss") { t.Fatal("expected activation job to include a cache-miss detection step before fallback") } + detectIdx := strings.Index(activationSection, "id: detect-daily-aic-cache-miss") + fallbackIdx := strings.Index(activationSection, "id: restore-daily-aic-cache-fallback") + if detectIdx == -1 || fallbackIdx == -1 || detectIdx >= fallbackIdx { + t.Fatal("expected detect-daily-aic-cache-miss to appear before restore-daily-aic-cache-fallback") + } if !strings.Contains(activationSection, "GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }}") { t.Fatal("expected cache-miss detection to pass cache-hit output via env for template-injection safety") } @@ -178,8 +184,9 @@ Guardrail test workflow` if !strings.Contains(activationSection, `if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then`) { t.Fatal("expected cache-miss detection to treat missing matched key as a true miss") } - if !strings.Contains(activationSection, "steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true'") { - t.Fatal("expected artifact fallback step to run only when cache-miss detection reports a miss") + wantFallbackIf := "if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }}" + if !strings.Contains(activationSection, wantFallbackIf) { + t.Fatalf("expected artifact fallback step if: to use a single ${{}} expression wrapping both conditions, want %q", wantFallbackIf) } if !strings.Contains(lockStr, "id: upload-daily-aic-cache") { t.Fatal("expected conclusion job to include the AIC usage cache artifact upload step") @@ -310,3 +317,55 @@ Invalid negative daily guardrail value` t.Fatalf("expected validation error rejecting -2, got: %v", err) } } + +// TestCacheMissDetectionLogic exercises the four branch cases of the +// detect-daily-aic-cache-miss shell predicate. +// +// cache-hit cache-matched-key expected cache_miss +// "" "" true (step skipped / runner error) +// "false" "" true (true miss) +// "false" "some-key" false (restore-key hit — original bug) +// "true" "some-key" false (exact hit) +func TestCacheMissDetectionLogic(t *testing.T) { + if _, err := exec.LookPath("bash"); err != nil { + t.Skip("bash not available") + } + + script := ` + if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then + echo "cache_miss=true" + else + echo "cache_miss=false" + fi + ` + + cases := []struct { + name string + cacheHit string + matchedKey string + wantMiss string + }{ + {"step skipped / no outputs", "", "", "cache_miss=true"}, + {"true miss", "false", "", "cache_miss=true"}, + {"restore-key hit (original bug)", "false", "agentic-workflow-usage-cache-123", "cache_miss=false"}, + {"exact hit", "true", "agentic-workflow-usage-cache-123", "cache_miss=false"}, + } + + for _, tc := range cases { + t.Run(tc.name, func(t *testing.T) { + cmd := exec.Command("bash", "-c", script) + cmd.Env = append(os.Environ(), + "GH_AW_RESTORE_DAILY_AIC_CACHE_HIT="+tc.cacheHit, + "GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY="+tc.matchedKey, + ) + out, err := cmd.Output() + if err != nil { + t.Fatalf("script failed: %v", err) + } + got := strings.TrimSpace(string(out)) + if got != tc.wantMiss { + t.Errorf("cache_miss: got %q, want %q", got, tc.wantMiss) + } + }) + } +} diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden index 9f773d58e17..177450840fa 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden @@ -99,6 +99,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden index ced7e19bb89..c5c79f4b478 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden @@ -99,6 +99,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden index fed559eba70..2fe9eef7c3a 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden @@ -99,6 +99,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden index 46352266375..320618f1eb3 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden @@ -97,6 +97,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden index fdd9a679139..767bea3570d 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden @@ -98,6 +98,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden index fafb65a1e0a..4a29249f95b 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden @@ -99,6 +99,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden index e23f66a3966..a7270715b71 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden @@ -99,6 +99,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden index dc73b5a1f43..510c911d42e 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden @@ -114,6 +114,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden index 1aca3fc96af..0785c4a2a01 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden @@ -99,6 +99,7 @@ jobs: - name: Detect daily AIC usage cache miss id: detect-daily-aic-cache-miss if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} + continue-on-error: true env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} From 33914b9ff4d183a344601ed4a3a5c6b77803a49a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 15 Jun 2026 13:51:18 +0000 Subject: [PATCH 8/8] Integrate cache-miss detection into JS, remove separate bash step Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/ab-testing-advisor.lock.yml | 16 +--- .github/workflows/ace-editor.lock.yml | 16 +--- .../agent-performance-analyzer.lock.yml | 16 +--- .../workflows/agent-persona-explorer.lock.yml | 16 +--- .../workflows/agentic-token-audit.lock.yml | 16 +--- .../agentic-token-optimizer.lock.yml | 16 +--- .../agentic-token-trend-audit.lock.yml | 16 +--- .github/workflows/ai-moderator.lock.yml | 16 +--- .../workflows/api-consumption-report.lock.yml | 16 +--- .github/workflows/approach-validator.lock.yml | 16 +--- .github/workflows/archie.lock.yml | 16 +--- .../workflows/architecture-guardian.lock.yml | 16 +--- .github/workflows/artifacts-summary.lock.yml | 16 +--- .github/workflows/audit-workflows.lock.yml | 16 +--- .github/workflows/auto-triage-issues.lock.yml | 16 +--- .github/workflows/avenger.lock.yml | 16 +--- .../aw-failure-investigator.lock.yml | 16 +--- .github/workflows/blog-auditor.lock.yml | 16 +--- .github/workflows/bot-detection.lock.yml | 16 +--- .github/workflows/brave.lock.yml | 16 +--- .../breaking-change-checker.lock.yml | 16 +--- .github/workflows/changeset.lock.yml | 16 +--- .../workflows/chaos-pr-bundle-fuzzer.lock.yml | 16 +--- .github/workflows/ci-coach.lock.yml | 16 +--- .github/workflows/ci-doctor.lock.yml | 16 +--- .../claude-code-user-docs-review.lock.yml | 16 +--- .../cli-consistency-checker.lock.yml | 16 +--- .../workflows/cli-version-checker.lock.yml | 16 +--- .github/workflows/cloclo.lock.yml | 16 +--- .../workflows/code-scanning-fixer.lock.yml | 16 +--- .github/workflows/code-simplifier.lock.yml | 16 +--- .../codex-github-remote-mcp-test.lock.yml | 16 +--- .../commit-changes-analyzer.lock.yml | 16 +--- .../constraint-solving-potd.lock.yml | 16 +--- .github/workflows/contribution-check.lock.yml | 16 +--- .../workflows/copilot-agent-analysis.lock.yml | 16 +--- .../copilot-cli-deep-research.lock.yml | 16 +--- .github/workflows/copilot-opt.lock.yml | 16 +--- .../copilot-pr-merged-report.lock.yml | 16 +--- .../copilot-pr-nlp-analysis.lock.yml | 16 +--- .../copilot-pr-prompt-analysis.lock.yml | 16 +--- .../copilot-session-insights.lock.yml | 16 +--- .github/workflows/craft.lock.yml | 16 +--- ...aily-agent-of-the-day-blog-writer.lock.yml | 16 +--- .../daily-agentrx-trace-optimizer.lock.yml | 16 +--- .../daily-ambient-context-optimizer.lock.yml | 16 +--- .../daily-architecture-diagram.lock.yml | 16 +--- .../daily-assign-issue-to-user.lock.yml | 16 +--- ...strostylelite-markdown-spellcheck.lock.yml | 16 +--- ...daily-aw-cross-repo-compile-check.lock.yml | 16 +--- ...daily-awf-spec-compiler-surfacing.lock.yml | 16 +--- .../workflows/daily-byok-ollama-test.lock.yml | 16 +--- .../daily-cache-strategy-analyzer.lock.yml | 16 +--- .../daily-caveman-optimizer.lock.yml | 16 +--- .github/workflows/daily-choice-test.lock.yml | 16 +--- .../workflows/daily-cli-performance.lock.yml | 16 +--- .../workflows/daily-cli-tools-tester.lock.yml | 16 +--- .github/workflows/daily-code-metrics.lock.yml | 16 +--- .../daily-community-attribution.lock.yml | 16 +--- .../workflows/daily-compiler-quality.lock.yml | 16 +--- ...ly-compiler-threat-spec-optimizer.lock.yml | 16 +--- .../daily-credit-limit-test.lock.yml | 16 +--- .github/workflows/daily-doc-healer.lock.yml | 16 +--- .github/workflows/daily-doc-updater.lock.yml | 16 +--- .../daily-experiment-report.lock.yml | 16 +--- .github/workflows/daily-fact.lock.yml | 16 +--- .github/workflows/daily-file-diet.lock.yml | 16 +--- .../workflows/daily-firewall-report.lock.yml | 16 +--- .../daily-formal-spec-verifier.lock.yml | 16 +--- .../workflows/daily-function-namer.lock.yml | 16 +--- .../workflows/daily-geo-optimizer.lock.yml | 16 +--- .github/workflows/daily-hippo-learn.lock.yml | 16 +--- .../workflows/daily-issues-report.lock.yml | 16 +--- .../daily-malicious-code-scan.lock.yml | 16 +--- .../daily-mcp-concurrency-analysis.lock.yml | 16 +--- .../workflows/daily-model-inventory.lock.yml | 16 +--- .../daily-multi-device-docs-tester.lock.yml | 16 +--- .github/workflows/daily-news.lock.yml | 16 +--- .../daily-observability-report.lock.yml | 16 +--- .../daily-performance-summary.lock.yml | 16 +--- .github/workflows/daily-regulatory.lock.yml | 16 +--- .../daily-reliability-review.lock.yml | 16 +--- .../daily-rendering-scripts-verifier.lock.yml | 16 +--- .../workflows/daily-repo-chronicle.lock.yml | 16 +--- .../daily-safe-output-integrator.lock.yml | 16 +--- .../daily-safe-output-optimizer.lock.yml | 16 +--- .../daily-safe-outputs-conformance.lock.yml | 16 +--- .../daily-safeoutputs-git-simulator.lock.yml | 16 +--- .../workflows/daily-secrets-analysis.lock.yml | 16 +--- .../daily-security-observability.lock.yml | 16 +--- .../daily-security-red-team.lock.yml | 16 +--- .github/workflows/daily-semgrep-scan.lock.yml | 16 +--- .../workflows/daily-sentrux-report.lock.yml | 16 +--- .../workflows/daily-skill-optimizer.lock.yml | 16 +--- .../daily-spdd-spec-planner.lock.yml | 16 +--- .../daily-syntax-error-quality.lock.yml | 16 +--- .../daily-team-evolution-insights.lock.yml | 16 +--- .github/workflows/daily-team-status.lock.yml | 16 +--- .../daily-testify-uber-super-expert.lock.yml | 16 +--- .../daily-token-consumption-report.lock.yml | 16 +--- ...dows-terminal-integration-builder.lock.yml | 16 +--- .../workflows/daily-workflow-updater.lock.yml | 16 +--- .../dataflow-pr-discussion-dataset.lock.yml | 16 +--- .github/workflows/dead-code-remover.lock.yml | 16 +--- .github/workflows/deep-report.lock.yml | 16 +--- .github/workflows/delight.lock.yml | 16 +--- .github/workflows/dependabot-burner.lock.yml | 16 +--- .../workflows/dependabot-campaign.lock.yml | 16 +--- .../workflows/dependabot-go-checker.lock.yml | 16 +--- .github/workflows/dependabot-repair.lock.yml | 16 +--- .github/workflows/dependabot-worker.lock.yml | 16 +--- .../deployment-incident-monitor.lock.yml | 16 +--- .../workflows/design-decision-gate.lock.yml | 16 +--- .../workflows/designer-drift-audit.lock.yml | 16 +--- .github/workflows/dev-hawk.lock.yml | 16 +--- .github/workflows/dev.lock.yml | 16 +--- .../developer-docs-consolidator.lock.yml | 16 +--- .github/workflows/dictation-prompt.lock.yml | 16 +--- .../workflows/discussion-task-miner.lock.yml | 16 +--- .github/workflows/docs-noob-tester.lock.yml | 16 +--- .github/workflows/draft-pr-cleanup.lock.yml | 16 +--- .../duplicate-code-detector.lock.yml | 16 +--- .../example-permissions-warning.lock.yml | 16 +--- .../example-workflow-analyzer.lock.yml | 16 +--- .github/workflows/firewall-escape.lock.yml | 16 +--- .github/workflows/firewall.lock.yml | 16 +--- .../workflows/functional-pragmatist.lock.yml | 16 +--- .../github-mcp-structural-analysis.lock.yml | 16 +--- .../github-mcp-tools-report.lock.yml | 16 +--- .../github-remote-mcp-auth-test.lock.yml | 16 +--- .../workflows/glossary-maintainer.lock.yml | 16 +--- .github/workflows/go-fan.lock.yml | 16 +--- .github/workflows/go-logger.lock.yml | 16 +--- .../workflows/go-pattern-detector.lock.yml | 16 +--- .github/workflows/gpclean.lock.yml | 16 +--- .github/workflows/grumpy-reviewer.lock.yml | 16 +--- .github/workflows/hippo-embed.lock.yml | 16 +--- .github/workflows/hourly-ci-cleaner.lock.yml | 16 +--- .../workflows/instructions-janitor.lock.yml | 16 +--- .github/workflows/issue-arborist.lock.yml | 16 +--- .github/workflows/issue-monster.lock.yml | 16 +--- .github/workflows/issue-triage-agent.lock.yml | 16 +--- .github/workflows/jsweep.lock.yml | 16 +--- .../workflows/layout-spec-maintainer.lock.yml | 16 +--- .github/workflows/lint-monster.lock.yml | 16 +--- .github/workflows/linter-miner.lock.yml | 16 +--- .github/workflows/lockfile-stats.lock.yml | 16 +--- .../mattpocock-skills-reviewer.lock.yml | 16 +--- .github/workflows/mcp-inspector.lock.yml | 16 +--- .github/workflows/mergefest.lock.yml | 16 +--- .github/workflows/metrics-collector.lock.yml | 16 +--- .github/workflows/necromancer.lock.yml | 16 +--- .../workflows/notion-issue-summary.lock.yml | 16 +--- .../objective-impact-report.lock.yml | 16 +--- .github/workflows/org-health-report.lock.yml | 16 +--- .github/workflows/outcome-collector.lock.yml | 16 +--- .github/workflows/pdf-summary.lock.yml | 16 +--- .github/workflows/plan.lock.yml | 16 +--- .github/workflows/poem-bot.lock.yml | 16 +--- .../pr-code-quality-reviewer.lock.yml | 16 +--- .../workflows/pr-description-caveman.lock.yml | 16 +--- .../workflows/pr-nitpick-reviewer.lock.yml | 16 +--- .github/workflows/pr-sous-chef.lock.yml | 16 +--- .github/workflows/pr-triage-agent.lock.yml | 16 +--- .../prompt-clustering-analysis.lock.yml | 16 +--- .github/workflows/python-data-charts.lock.yml | 16 +--- .github/workflows/q.lock.yml | 16 +--- .../workflows/refactoring-cadence.lock.yml | 16 +--- .github/workflows/refiner.lock.yml | 16 +--- .github/workflows/release.lock.yml | 16 +--- .../workflows/repo-audit-analyzer.lock.yml | 16 +--- .github/workflows/repo-tree-map.lock.yml | 16 +--- .../repository-quality-improver.lock.yml | 16 +--- .github/workflows/research.lock.yml | 16 +--- .github/workflows/ruflo-backed-task.lock.yml | 16 +--- .github/workflows/safe-output-health.lock.yml | 16 +--- .../schema-consistency-checker.lock.yml | 16 +--- .../schema-feature-coverage.lock.yml | 16 +--- .github/workflows/scout.lock.yml | 16 +--- .../workflows/security-compliance.lock.yml | 16 +--- .github/workflows/security-review.lock.yml | 16 +--- .../semantic-function-refactor.lock.yml | 16 +--- .github/workflows/sergo.lock.yml | 16 +--- .../workflows/slide-deck-maintainer.lock.yml | 16 +--- .../workflows/smoke-agent-all-merged.lock.yml | 16 +--- .../workflows/smoke-agent-all-none.lock.yml | 16 +--- .../smoke-agent-public-approved.lock.yml | 16 +--- .../smoke-agent-public-none.lock.yml | 16 +--- .../smoke-agent-scoped-approved.lock.yml | 16 +--- .github/workflows/smoke-antigravity.lock.yml | 16 +--- .../workflows/smoke-call-workflow.lock.yml | 16 +--- .github/workflows/smoke-ci.lock.yml | 16 +--- .github/workflows/smoke-claude.lock.yml | 16 +--- .github/workflows/smoke-codex.lock.yml | 16 +--- .../smoke-copilot-aoai-apikey.lock.yml | 16 +--- .../smoke-copilot-aoai-entra.lock.yml | 16 +--- .github/workflows/smoke-copilot-arm.lock.yml | 16 +--- .github/workflows/smoke-copilot-sdk.lock.yml | 16 +--- .github/workflows/smoke-copilot.lock.yml | 16 +--- .../smoke-create-cross-repo-pr.lock.yml | 16 +--- .github/workflows/smoke-crush.lock.yml | 16 +--- .github/workflows/smoke-gemini.lock.yml | 16 +--- .github/workflows/smoke-multi-pr.lock.yml | 16 +--- .github/workflows/smoke-opencode.lock.yml | 16 +--- .../workflows/smoke-otel-backends.lock.yml | 16 +--- .github/workflows/smoke-pi.lock.yml | 16 +--- .github/workflows/smoke-project.lock.yml | 16 +--- .../workflows/smoke-service-ports.lock.yml | 16 +--- .github/workflows/smoke-temporary-id.lock.yml | 16 +--- .github/workflows/smoke-test-tools.lock.yml | 16 +--- .../smoke-update-cross-repo-pr.lock.yml | 16 +--- .../smoke-workflow-call-with-inputs.lock.yml | 16 +--- .../workflows/smoke-workflow-call.lock.yml | 16 +--- .github/workflows/spec-enforcer.lock.yml | 16 +--- .github/workflows/spec-extractor.lock.yml | 16 +--- .github/workflows/spec-librarian.lock.yml | 16 +--- .github/workflows/stale-pr-cleanup.lock.yml | 16 +--- .../workflows/stale-repo-identifier.lock.yml | 16 +--- .../workflows/static-analysis-report.lock.yml | 16 +--- .../workflows/step-name-alignment.lock.yml | 16 +--- .github/workflows/sub-issue-closer.lock.yml | 16 +--- .github/workflows/super-linter.lock.yml | 16 +--- .../workflows/technical-doc-writer.lock.yml | 16 +--- .github/workflows/terminal-stylist.lock.yml | 16 +--- .../test-create-pr-error-handling.lock.yml | 16 +--- .github/workflows/test-dispatcher.lock.yml | 16 +--- .../test-project-url-default.lock.yml | 16 +--- .../workflows/test-quality-sentinel.lock.yml | 16 +--- .github/workflows/test-workflow.lock.yml | 16 +--- .github/workflows/tidy.lock.yml | 16 +--- .github/workflows/typist.lock.yml | 16 +--- .../workflows/ubuntu-image-analyzer.lock.yml | 16 +--- .../uk-ai-operational-resilience.lock.yml | 16 +--- .github/workflows/unbloat-docs.lock.yml | 16 +--- .github/workflows/update-astro.lock.yml | 16 +--- .github/workflows/video-analyzer.lock.yml | 16 +--- .../visual-regression-checker.lock.yml | 16 +--- .../weekly-blog-post-writer.lock.yml | 16 +--- .../weekly-editors-health-check.lock.yml | 16 +--- .../workflows/weekly-issue-summary.lock.yml | 16 +--- .../weekly-safe-outputs-spec-review.lock.yml | 16 +--- .github/workflows/workflow-generator.lock.yml | 16 +--- .../workflow-health-manager.lock.yml | 16 +--- .../workflows/workflow-normalizer.lock.yml | 16 +--- .../workflow-skill-extractor.lock.yml | 16 +--- .../js/restore_aic_usage_cache_fallback.cjs | 19 ++++- .../restore_aic_usage_cache_fallback.test.cjs | 49 +++++++++++- .../compiler_activation_job_builder.go | 25 ++----- .../daily_aic_workflow_guardrail_test.go | 75 ++----------------- .../TestWasmGolden_AllEngines/claude.golden | 16 +--- .../TestWasmGolden_AllEngines/codex.golden | 16 +--- .../TestWasmGolden_AllEngines/copilot.golden | 16 +--- .../TestWasmGolden_AllEngines/gemini.golden | 16 +--- .../TestWasmGolden_AllEngines/pi.golden | 16 +--- .../basic-copilot.golden | 16 +--- .../playwright-cli-mode.golden | 16 +--- .../smoke-copilot.golden | 16 +--- .../with-imports.golden | 16 +--- 258 files changed, 837 insertions(+), 3395 deletions(-) diff --git a/.github/workflows/ab-testing-advisor.lock.yml b/.github/workflows/ab-testing-advisor.lock.yml index d240004b20a..8d69e55f46e 100644 --- a/.github/workflows/ab-testing-advisor.lock.yml +++ b/.github/workflows/ab-testing-advisor.lock.yml @@ -170,24 +170,14 @@ jobs: key: agentic-workflow-usage-abtestingadvisor-${{ github.run_id }} restore-keys: agentic-workflow-usage-abtestingadvisor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/ace-editor.lock.yml b/.github/workflows/ace-editor.lock.yml index aaef55de51c..8046419267c 100644 --- a/.github/workflows/ace-editor.lock.yml +++ b/.github/workflows/ace-editor.lock.yml @@ -171,24 +171,14 @@ jobs: key: agentic-workflow-usage-aceeditor-${{ github.run_id }} restore-keys: agentic-workflow-usage-aceeditor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/agent-performance-analyzer.lock.yml b/.github/workflows/agent-performance-analyzer.lock.yml index 90eb7f245bb..87c86751688 100644 --- a/.github/workflows/agent-performance-analyzer.lock.yml +++ b/.github/workflows/agent-performance-analyzer.lock.yml @@ -170,24 +170,14 @@ jobs: key: agentic-workflow-usage-agentperformanceanalyzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-agentperformanceanalyzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/agent-persona-explorer.lock.yml b/.github/workflows/agent-persona-explorer.lock.yml index 010628c2935..d22d0423717 100644 --- a/.github/workflows/agent-persona-explorer.lock.yml +++ b/.github/workflows/agent-persona-explorer.lock.yml @@ -170,24 +170,14 @@ jobs: key: agentic-workflow-usage-agentpersonaexplorer-${{ github.run_id }} restore-keys: agentic-workflow-usage-agentpersonaexplorer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/agentic-token-audit.lock.yml b/.github/workflows/agentic-token-audit.lock.yml index 17f45b44464..460c40b0014 100644 --- a/.github/workflows/agentic-token-audit.lock.yml +++ b/.github/workflows/agentic-token-audit.lock.yml @@ -154,24 +154,14 @@ jobs: key: agentic-workflow-usage-agentictokenaudit-${{ github.run_id }} restore-keys: agentic-workflow-usage-agentictokenaudit- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/agentic-token-optimizer.lock.yml b/.github/workflows/agentic-token-optimizer.lock.yml index ba7bba6aacf..ede14cab711 100644 --- a/.github/workflows/agentic-token-optimizer.lock.yml +++ b/.github/workflows/agentic-token-optimizer.lock.yml @@ -150,24 +150,14 @@ jobs: key: agentic-workflow-usage-agentictokenoptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-agentictokenoptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/agentic-token-trend-audit.lock.yml b/.github/workflows/agentic-token-trend-audit.lock.yml index 04ce66a8f37..dc4d826425d 100644 --- a/.github/workflows/agentic-token-trend-audit.lock.yml +++ b/.github/workflows/agentic-token-trend-audit.lock.yml @@ -151,24 +151,14 @@ jobs: key: agentic-workflow-usage-agentictokentrendaudit-${{ github.run_id }} restore-keys: agentic-workflow-usage-agentictokentrendaudit- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/ai-moderator.lock.yml b/.github/workflows/ai-moderator.lock.yml index 4fcbc9adca5..1e0341d85f3 100644 --- a/.github/workflows/ai-moderator.lock.yml +++ b/.github/workflows/ai-moderator.lock.yml @@ -202,24 +202,14 @@ jobs: key: agentic-workflow-usage-aimoderator-${{ github.run_id }} restore-keys: agentic-workflow-usage-aimoderator- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/api-consumption-report.lock.yml b/.github/workflows/api-consumption-report.lock.yml index ba738880438..e0f9564dab3 100644 --- a/.github/workflows/api-consumption-report.lock.yml +++ b/.github/workflows/api-consumption-report.lock.yml @@ -175,24 +175,14 @@ jobs: key: agentic-workflow-usage-apiconsumptionreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-apiconsumptionreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/approach-validator.lock.yml b/.github/workflows/approach-validator.lock.yml index de47455db8a..d56e23c36a6 100644 --- a/.github/workflows/approach-validator.lock.yml +++ b/.github/workflows/approach-validator.lock.yml @@ -181,24 +181,14 @@ jobs: key: agentic-workflow-usage-approachvalidator-${{ github.run_id }} restore-keys: agentic-workflow-usage-approachvalidator- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/archie.lock.yml b/.github/workflows/archie.lock.yml index 82272d96a16..3065e08da82 100644 --- a/.github/workflows/archie.lock.yml +++ b/.github/workflows/archie.lock.yml @@ -174,24 +174,14 @@ jobs: key: agentic-workflow-usage-archie-${{ github.run_id }} restore-keys: agentic-workflow-usage-archie- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/architecture-guardian.lock.yml b/.github/workflows/architecture-guardian.lock.yml index 01ebfe2f5f8..8275ae1bdf3 100644 --- a/.github/workflows/architecture-guardian.lock.yml +++ b/.github/workflows/architecture-guardian.lock.yml @@ -174,24 +174,14 @@ jobs: key: agentic-workflow-usage-architectureguardian-${{ github.run_id }} restore-keys: agentic-workflow-usage-architectureguardian- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/artifacts-summary.lock.yml b/.github/workflows/artifacts-summary.lock.yml index 45520c4edfd..eb566728b4f 100644 --- a/.github/workflows/artifacts-summary.lock.yml +++ b/.github/workflows/artifacts-summary.lock.yml @@ -165,24 +165,14 @@ jobs: key: agentic-workflow-usage-artifactssummary-${{ github.run_id }} restore-keys: agentic-workflow-usage-artifactssummary- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/audit-workflows.lock.yml b/.github/workflows/audit-workflows.lock.yml index 33a073bb332..a54eade1bfa 100644 --- a/.github/workflows/audit-workflows.lock.yml +++ b/.github/workflows/audit-workflows.lock.yml @@ -175,24 +175,14 @@ jobs: key: agentic-workflow-usage-auditworkflows-${{ github.run_id }} restore-keys: agentic-workflow-usage-auditworkflows- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/auto-triage-issues.lock.yml b/.github/workflows/auto-triage-issues.lock.yml index c6315e525d0..fb5bd0f78bf 100644 --- a/.github/workflows/auto-triage-issues.lock.yml +++ b/.github/workflows/auto-triage-issues.lock.yml @@ -175,24 +175,14 @@ jobs: key: agentic-workflow-usage-autotriageissues-${{ github.run_id }} restore-keys: agentic-workflow-usage-autotriageissues- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/avenger.lock.yml b/.github/workflows/avenger.lock.yml index 737698a9cb7..a2c9f7dff96 100644 --- a/.github/workflows/avenger.lock.yml +++ b/.github/workflows/avenger.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-avenger-${{ github.run_id }} restore-keys: agentic-workflow-usage-avenger- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/aw-failure-investigator.lock.yml b/.github/workflows/aw-failure-investigator.lock.yml index f0a06549e9f..b7b60914557 100644 --- a/.github/workflows/aw-failure-investigator.lock.yml +++ b/.github/workflows/aw-failure-investigator.lock.yml @@ -175,24 +175,14 @@ jobs: key: agentic-workflow-usage-awfailureinvestigator-${{ github.run_id }} restore-keys: agentic-workflow-usage-awfailureinvestigator- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/blog-auditor.lock.yml b/.github/workflows/blog-auditor.lock.yml index 5c954771a3c..32c9fa96a8a 100644 --- a/.github/workflows/blog-auditor.lock.yml +++ b/.github/workflows/blog-auditor.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-blogauditor-${{ github.run_id }} restore-keys: agentic-workflow-usage-blogauditor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/bot-detection.lock.yml b/.github/workflows/bot-detection.lock.yml index 686ecd3dd71..d6836565734 100644 --- a/.github/workflows/bot-detection.lock.yml +++ b/.github/workflows/bot-detection.lock.yml @@ -165,24 +165,14 @@ jobs: key: agentic-workflow-usage-botdetection-${{ github.run_id }} restore-keys: agentic-workflow-usage-botdetection- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/brave.lock.yml b/.github/workflows/brave.lock.yml index 74cd7758732..61259f20946 100644 --- a/.github/workflows/brave.lock.yml +++ b/.github/workflows/brave.lock.yml @@ -173,24 +173,14 @@ jobs: key: agentic-workflow-usage-brave-${{ github.run_id }} restore-keys: agentic-workflow-usage-brave- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/breaking-change-checker.lock.yml b/.github/workflows/breaking-change-checker.lock.yml index ecc9055f1f1..590f3b1c542 100644 --- a/.github/workflows/breaking-change-checker.lock.yml +++ b/.github/workflows/breaking-change-checker.lock.yml @@ -172,24 +172,14 @@ jobs: key: agentic-workflow-usage-breakingchangechecker-${{ github.run_id }} restore-keys: agentic-workflow-usage-breakingchangechecker- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/changeset.lock.yml b/.github/workflows/changeset.lock.yml index d2730904fea..c9ae5a89f77 100644 --- a/.github/workflows/changeset.lock.yml +++ b/.github/workflows/changeset.lock.yml @@ -185,24 +185,14 @@ jobs: key: agentic-workflow-usage-changeset-${{ github.run_id }} restore-keys: agentic-workflow-usage-changeset- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml b/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml index b07312ec23c..b976e628c8f 100644 --- a/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml +++ b/.github/workflows/chaos-pr-bundle-fuzzer.lock.yml @@ -164,24 +164,14 @@ jobs: key: agentic-workflow-usage-chaosprbundlefuzzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-chaosprbundlefuzzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/ci-coach.lock.yml b/.github/workflows/ci-coach.lock.yml index 75b5c9d654c..b08ac9546e9 100644 --- a/.github/workflows/ci-coach.lock.yml +++ b/.github/workflows/ci-coach.lock.yml @@ -170,24 +170,14 @@ jobs: key: agentic-workflow-usage-cicoach-${{ github.run_id }} restore-keys: agentic-workflow-usage-cicoach- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.yml index 4c082c664f8..70a08e09cf8 100644 --- a/.github/workflows/ci-doctor.lock.yml +++ b/.github/workflows/ci-doctor.lock.yml @@ -182,24 +182,14 @@ jobs: key: agentic-workflow-usage-cidoctor-${{ github.run_id }} restore-keys: agentic-workflow-usage-cidoctor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/claude-code-user-docs-review.lock.yml b/.github/workflows/claude-code-user-docs-review.lock.yml index 972275aa098..4169c836458 100644 --- a/.github/workflows/claude-code-user-docs-review.lock.yml +++ b/.github/workflows/claude-code-user-docs-review.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-claudecodeuserdocsreview-${{ github.run_id }} restore-keys: agentic-workflow-usage-claudecodeuserdocsreview- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/cli-consistency-checker.lock.yml b/.github/workflows/cli-consistency-checker.lock.yml index ad29144fc61..d4f811bd434 100644 --- a/.github/workflows/cli-consistency-checker.lock.yml +++ b/.github/workflows/cli-consistency-checker.lock.yml @@ -162,24 +162,14 @@ jobs: key: agentic-workflow-usage-cliconsistencychecker-${{ github.run_id }} restore-keys: agentic-workflow-usage-cliconsistencychecker- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/cli-version-checker.lock.yml b/.github/workflows/cli-version-checker.lock.yml index fdd13170f58..2259e99accf 100644 --- a/.github/workflows/cli-version-checker.lock.yml +++ b/.github/workflows/cli-version-checker.lock.yml @@ -166,24 +166,14 @@ jobs: key: agentic-workflow-usage-cliversionchecker-${{ github.run_id }} restore-keys: agentic-workflow-usage-cliversionchecker- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/cloclo.lock.yml b/.github/workflows/cloclo.lock.yml index 440f9577e7b..ba7fe8ebbf9 100644 --- a/.github/workflows/cloclo.lock.yml +++ b/.github/workflows/cloclo.lock.yml @@ -188,24 +188,14 @@ jobs: key: agentic-workflow-usage-cloclo-${{ github.run_id }} restore-keys: agentic-workflow-usage-cloclo- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/code-scanning-fixer.lock.yml b/.github/workflows/code-scanning-fixer.lock.yml index 9c386569956..ec8c72664fe 100644 --- a/.github/workflows/code-scanning-fixer.lock.yml +++ b/.github/workflows/code-scanning-fixer.lock.yml @@ -170,24 +170,14 @@ jobs: key: agentic-workflow-usage-codescanningfixer-${{ github.run_id }} restore-keys: agentic-workflow-usage-codescanningfixer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/code-simplifier.lock.yml b/.github/workflows/code-simplifier.lock.yml index 569dc5fe0a5..23f1016dff8 100644 --- a/.github/workflows/code-simplifier.lock.yml +++ b/.github/workflows/code-simplifier.lock.yml @@ -175,24 +175,14 @@ jobs: key: agentic-workflow-usage-codesimplifier-${{ github.run_id }} restore-keys: agentic-workflow-usage-codesimplifier- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/codex-github-remote-mcp-test.lock.yml b/.github/workflows/codex-github-remote-mcp-test.lock.yml index a03caabcc7e..1b1456c3030 100644 --- a/.github/workflows/codex-github-remote-mcp-test.lock.yml +++ b/.github/workflows/codex-github-remote-mcp-test.lock.yml @@ -161,24 +161,14 @@ jobs: key: agentic-workflow-usage-codexgithubremotemcptest-${{ github.run_id }} restore-keys: agentic-workflow-usage-codexgithubremotemcptest- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/commit-changes-analyzer.lock.yml b/.github/workflows/commit-changes-analyzer.lock.yml index ed3092c14eb..a40e7798173 100644 --- a/.github/workflows/commit-changes-analyzer.lock.yml +++ b/.github/workflows/commit-changes-analyzer.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-commitchangesanalyzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-commitchangesanalyzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/constraint-solving-potd.lock.yml b/.github/workflows/constraint-solving-potd.lock.yml index 10d046211f1..f9290c42a58 100644 --- a/.github/workflows/constraint-solving-potd.lock.yml +++ b/.github/workflows/constraint-solving-potd.lock.yml @@ -163,24 +163,14 @@ jobs: key: agentic-workflow-usage-constraintsolvingpotd-${{ github.run_id }} restore-keys: agentic-workflow-usage-constraintsolvingpotd- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/contribution-check.lock.yml b/.github/workflows/contribution-check.lock.yml index 5478a6bcd65..fed702dc8c3 100644 --- a/.github/workflows/contribution-check.lock.yml +++ b/.github/workflows/contribution-check.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-contributioncheck-${{ github.run_id }} restore-keys: agentic-workflow-usage-contributioncheck- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/copilot-agent-analysis.lock.yml b/.github/workflows/copilot-agent-analysis.lock.yml index 17c7fed1d66..1398ce79105 100644 --- a/.github/workflows/copilot-agent-analysis.lock.yml +++ b/.github/workflows/copilot-agent-analysis.lock.yml @@ -174,24 +174,14 @@ jobs: key: agentic-workflow-usage-copilotagentanalysis-${{ github.run_id }} restore-keys: agentic-workflow-usage-copilotagentanalysis- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/copilot-cli-deep-research.lock.yml b/.github/workflows/copilot-cli-deep-research.lock.yml index 9312d086f91..27bfa0cec74 100644 --- a/.github/workflows/copilot-cli-deep-research.lock.yml +++ b/.github/workflows/copilot-cli-deep-research.lock.yml @@ -164,24 +164,14 @@ jobs: key: agentic-workflow-usage-copilotclideepresearch-${{ github.run_id }} restore-keys: agentic-workflow-usage-copilotclideepresearch- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/copilot-opt.lock.yml b/.github/workflows/copilot-opt.lock.yml index 1d346b8c4dc..b5528a93942 100644 --- a/.github/workflows/copilot-opt.lock.yml +++ b/.github/workflows/copilot-opt.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-copilotopt-${{ github.run_id }} restore-keys: agentic-workflow-usage-copilotopt- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/copilot-pr-merged-report.lock.yml b/.github/workflows/copilot-pr-merged-report.lock.yml index 48d3efcf7fe..ddc639c3adb 100644 --- a/.github/workflows/copilot-pr-merged-report.lock.yml +++ b/.github/workflows/copilot-pr-merged-report.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-copilotprmergedreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-copilotprmergedreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/copilot-pr-nlp-analysis.lock.yml b/.github/workflows/copilot-pr-nlp-analysis.lock.yml index 335045ea421..8b2a9e6a808 100644 --- a/.github/workflows/copilot-pr-nlp-analysis.lock.yml +++ b/.github/workflows/copilot-pr-nlp-analysis.lock.yml @@ -172,24 +172,14 @@ jobs: key: agentic-workflow-usage-copilotprnlpanalysis-${{ github.run_id }} restore-keys: agentic-workflow-usage-copilotprnlpanalysis- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/copilot-pr-prompt-analysis.lock.yml b/.github/workflows/copilot-pr-prompt-analysis.lock.yml index 6b8f3cf87e2..3fef0bc79c5 100644 --- a/.github/workflows/copilot-pr-prompt-analysis.lock.yml +++ b/.github/workflows/copilot-pr-prompt-analysis.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-copilotprpromptanalysis-${{ github.run_id }} restore-keys: agentic-workflow-usage-copilotprpromptanalysis- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/copilot-session-insights.lock.yml b/.github/workflows/copilot-session-insights.lock.yml index ab5d54a0635..d527cdddde6 100644 --- a/.github/workflows/copilot-session-insights.lock.yml +++ b/.github/workflows/copilot-session-insights.lock.yml @@ -175,24 +175,14 @@ jobs: key: agentic-workflow-usage-copilotsessioninsights-${{ github.run_id }} restore-keys: agentic-workflow-usage-copilotsessioninsights- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/craft.lock.yml b/.github/workflows/craft.lock.yml index 5af9ff6731e..4a58071a7b0 100644 --- a/.github/workflows/craft.lock.yml +++ b/.github/workflows/craft.lock.yml @@ -171,24 +171,14 @@ jobs: key: agentic-workflow-usage-craft-${{ github.run_id }} restore-keys: agentic-workflow-usage-craft- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml b/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml index 8b764cf5951..a7d82dba697 100644 --- a/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml +++ b/.github/workflows/daily-agent-of-the-day-blog-writer.lock.yml @@ -175,24 +175,14 @@ jobs: key: agentic-workflow-usage-dailyagentofthedayblogwriter-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyagentofthedayblogwriter- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-agentrx-trace-optimizer.lock.yml b/.github/workflows/daily-agentrx-trace-optimizer.lock.yml index 57dd3f0d3cd..3789ebcecc3 100644 --- a/.github/workflows/daily-agentrx-trace-optimizer.lock.yml +++ b/.github/workflows/daily-agentrx-trace-optimizer.lock.yml @@ -172,24 +172,14 @@ jobs: key: agentic-workflow-usage-dailyagentrxtraceoptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyagentrxtraceoptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-ambient-context-optimizer.lock.yml b/.github/workflows/daily-ambient-context-optimizer.lock.yml index 4610389cd27..41bcf1dd63c 100644 --- a/.github/workflows/daily-ambient-context-optimizer.lock.yml +++ b/.github/workflows/daily-ambient-context-optimizer.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-dailyambientcontextoptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyambientcontextoptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-architecture-diagram.lock.yml b/.github/workflows/daily-architecture-diagram.lock.yml index 61321f7e5b6..0dc1dbaa295 100644 --- a/.github/workflows/daily-architecture-diagram.lock.yml +++ b/.github/workflows/daily-architecture-diagram.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-dailyarchitecturediagram-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyarchitecturediagram- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-assign-issue-to-user.lock.yml b/.github/workflows/daily-assign-issue-to-user.lock.yml index 6319fe9081b..7b187fa334a 100644 --- a/.github/workflows/daily-assign-issue-to-user.lock.yml +++ b/.github/workflows/daily-assign-issue-to-user.lock.yml @@ -162,24 +162,14 @@ jobs: key: agentic-workflow-usage-dailyassignissuetouser-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyassignissuetouser- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml b/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml index c1ef854ad0d..3ff16e523a0 100644 --- a/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml +++ b/.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-dailyastrostylelitemarkdownspellcheck-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyastrostylelitemarkdownspellcheck- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml b/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml index 58aa10a0413..5c633c70e89 100644 --- a/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml +++ b/.github/workflows/daily-aw-cross-repo-compile-check.lock.yml @@ -166,24 +166,14 @@ jobs: key: agentic-workflow-usage-dailyawcrossrepocompilecheck-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyawcrossrepocompilecheck- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml b/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml index 3415c15e474..d9b73453c75 100644 --- a/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml +++ b/.github/workflows/daily-awf-spec-compiler-surfacing.lock.yml @@ -165,24 +165,14 @@ jobs: key: agentic-workflow-usage-dailyawfspeccompilersurfacing-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyawfspeccompilersurfacing- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-byok-ollama-test.lock.yml b/.github/workflows/daily-byok-ollama-test.lock.yml index 322b3914276..bc238a7e65f 100644 --- a/.github/workflows/daily-byok-ollama-test.lock.yml +++ b/.github/workflows/daily-byok-ollama-test.lock.yml @@ -144,24 +144,14 @@ jobs: key: agentic-workflow-usage-dailybyokollamatest-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailybyokollamatest- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-cache-strategy-analyzer.lock.yml b/.github/workflows/daily-cache-strategy-analyzer.lock.yml index 3eb6875adcd..4d50e36f6eb 100644 --- a/.github/workflows/daily-cache-strategy-analyzer.lock.yml +++ b/.github/workflows/daily-cache-strategy-analyzer.lock.yml @@ -174,24 +174,14 @@ jobs: key: agentic-workflow-usage-dailycachestrategyanalyzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycachestrategyanalyzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-caveman-optimizer.lock.yml b/.github/workflows/daily-caveman-optimizer.lock.yml index af01d936325..8ef060f03c6 100644 --- a/.github/workflows/daily-caveman-optimizer.lock.yml +++ b/.github/workflows/daily-caveman-optimizer.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-dailycavemanoptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycavemanoptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-choice-test.lock.yml b/.github/workflows/daily-choice-test.lock.yml index f7cce6d130a..edb5c249953 100644 --- a/.github/workflows/daily-choice-test.lock.yml +++ b/.github/workflows/daily-choice-test.lock.yml @@ -165,24 +165,14 @@ jobs: key: agentic-workflow-usage-dailychoicetest-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailychoicetest- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-cli-performance.lock.yml b/.github/workflows/daily-cli-performance.lock.yml index 079876519d9..3799271907e 100644 --- a/.github/workflows/daily-cli-performance.lock.yml +++ b/.github/workflows/daily-cli-performance.lock.yml @@ -196,24 +196,14 @@ jobs: key: agentic-workflow-usage-dailycliperformance-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycliperformance- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-cli-tools-tester.lock.yml b/.github/workflows/daily-cli-tools-tester.lock.yml index 1effd9d9a12..b8d723f130f 100644 --- a/.github/workflows/daily-cli-tools-tester.lock.yml +++ b/.github/workflows/daily-cli-tools-tester.lock.yml @@ -170,24 +170,14 @@ jobs: key: agentic-workflow-usage-dailyclitoolstester-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyclitoolstester- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-code-metrics.lock.yml b/.github/workflows/daily-code-metrics.lock.yml index d5117ece0bf..83c62437460 100644 --- a/.github/workflows/daily-code-metrics.lock.yml +++ b/.github/workflows/daily-code-metrics.lock.yml @@ -173,24 +173,14 @@ jobs: key: agentic-workflow-usage-dailycodemetrics-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycodemetrics- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-community-attribution.lock.yml b/.github/workflows/daily-community-attribution.lock.yml index 353dd65e30f..eff9a669fb8 100644 --- a/.github/workflows/daily-community-attribution.lock.yml +++ b/.github/workflows/daily-community-attribution.lock.yml @@ -170,24 +170,14 @@ jobs: key: agentic-workflow-usage-dailycommunityattribution-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycommunityattribution- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-compiler-quality.lock.yml b/.github/workflows/daily-compiler-quality.lock.yml index 85d909dd853..3fac225df3d 100644 --- a/.github/workflows/daily-compiler-quality.lock.yml +++ b/.github/workflows/daily-compiler-quality.lock.yml @@ -172,24 +172,14 @@ jobs: key: agentic-workflow-usage-dailycompilerquality-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycompilerquality- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml b/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml index 459120bff40..b2e9b38cd97 100644 --- a/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml +++ b/.github/workflows/daily-compiler-threat-spec-optimizer.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-dailycompilerthreatspecoptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycompilerthreatspecoptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-credit-limit-test.lock.yml b/.github/workflows/daily-credit-limit-test.lock.yml index 743f203bb75..0dd965de110 100644 --- a/.github/workflows/daily-credit-limit-test.lock.yml +++ b/.github/workflows/daily-credit-limit-test.lock.yml @@ -146,24 +146,14 @@ jobs: key: agentic-workflow-usage-dailycreditlimittest-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailycreditlimittest- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-doc-healer.lock.yml b/.github/workflows/daily-doc-healer.lock.yml index fadc4b82fab..a17cc33965a 100644 --- a/.github/workflows/daily-doc-healer.lock.yml +++ b/.github/workflows/daily-doc-healer.lock.yml @@ -172,24 +172,14 @@ jobs: key: agentic-workflow-usage-dailydochealer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailydochealer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-doc-updater.lock.yml b/.github/workflows/daily-doc-updater.lock.yml index 1fb12d1b947..aad28893f32 100644 --- a/.github/workflows/daily-doc-updater.lock.yml +++ b/.github/workflows/daily-doc-updater.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-dailydocupdater-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailydocupdater- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-experiment-report.lock.yml b/.github/workflows/daily-experiment-report.lock.yml index f12ab561b6c..430b2806cf8 100644 --- a/.github/workflows/daily-experiment-report.lock.yml +++ b/.github/workflows/daily-experiment-report.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-dailyexperimentreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyexperimentreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-fact.lock.yml b/.github/workflows/daily-fact.lock.yml index cb8defd5865..d8befc74192 100644 --- a/.github/workflows/daily-fact.lock.yml +++ b/.github/workflows/daily-fact.lock.yml @@ -172,24 +172,14 @@ jobs: key: agentic-workflow-usage-dailyfact-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyfact- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-file-diet.lock.yml b/.github/workflows/daily-file-diet.lock.yml index b14c1ceb045..96fb790c8c0 100644 --- a/.github/workflows/daily-file-diet.lock.yml +++ b/.github/workflows/daily-file-diet.lock.yml @@ -176,24 +176,14 @@ jobs: key: agentic-workflow-usage-dailyfilediet-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyfilediet- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-firewall-report.lock.yml b/.github/workflows/daily-firewall-report.lock.yml index 1329541becf..d9744f92c84 100644 --- a/.github/workflows/daily-firewall-report.lock.yml +++ b/.github/workflows/daily-firewall-report.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-dailyfirewallreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyfirewallreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-formal-spec-verifier.lock.yml b/.github/workflows/daily-formal-spec-verifier.lock.yml index 4f7e8c71b3e..0513c4b269b 100644 --- a/.github/workflows/daily-formal-spec-verifier.lock.yml +++ b/.github/workflows/daily-formal-spec-verifier.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-dailyformalspecverifier-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyformalspecverifier- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-function-namer.lock.yml b/.github/workflows/daily-function-namer.lock.yml index bc7351173d5..028d8ca411f 100644 --- a/.github/workflows/daily-function-namer.lock.yml +++ b/.github/workflows/daily-function-namer.lock.yml @@ -173,24 +173,14 @@ jobs: key: agentic-workflow-usage-dailyfunctionnamer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyfunctionnamer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-geo-optimizer.lock.yml b/.github/workflows/daily-geo-optimizer.lock.yml index e1767dd5bfd..07d5d8e3b99 100644 --- a/.github/workflows/daily-geo-optimizer.lock.yml +++ b/.github/workflows/daily-geo-optimizer.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-dailygeooptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailygeooptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-hippo-learn.lock.yml b/.github/workflows/daily-hippo-learn.lock.yml index 91cd34c294f..e7c34c55546 100644 --- a/.github/workflows/daily-hippo-learn.lock.yml +++ b/.github/workflows/daily-hippo-learn.lock.yml @@ -165,24 +165,14 @@ jobs: key: agentic-workflow-usage-dailyhippolearn-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyhippolearn- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-issues-report.lock.yml b/.github/workflows/daily-issues-report.lock.yml index 25c30fead7c..72adbf55651 100644 --- a/.github/workflows/daily-issues-report.lock.yml +++ b/.github/workflows/daily-issues-report.lock.yml @@ -176,24 +176,14 @@ jobs: key: agentic-workflow-usage-dailyissuesreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyissuesreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-malicious-code-scan.lock.yml b/.github/workflows/daily-malicious-code-scan.lock.yml index 335eef901e0..82a24993af6 100644 --- a/.github/workflows/daily-malicious-code-scan.lock.yml +++ b/.github/workflows/daily-malicious-code-scan.lock.yml @@ -166,24 +166,14 @@ jobs: key: agentic-workflow-usage-dailymaliciouscodescan-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailymaliciouscodescan- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-mcp-concurrency-analysis.lock.yml b/.github/workflows/daily-mcp-concurrency-analysis.lock.yml index 7bbffae4f42..972eb20e9d8 100644 --- a/.github/workflows/daily-mcp-concurrency-analysis.lock.yml +++ b/.github/workflows/daily-mcp-concurrency-analysis.lock.yml @@ -170,24 +170,14 @@ jobs: key: agentic-workflow-usage-dailymcpconcurrencyanalysis-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailymcpconcurrencyanalysis- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-model-inventory.lock.yml b/.github/workflows/daily-model-inventory.lock.yml index 1eee68d2cde..60a3eff6a0f 100644 --- a/.github/workflows/daily-model-inventory.lock.yml +++ b/.github/workflows/daily-model-inventory.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-dailymodelinventory-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailymodelinventory- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-multi-device-docs-tester.lock.yml b/.github/workflows/daily-multi-device-docs-tester.lock.yml index 761463fd607..c27146969da 100644 --- a/.github/workflows/daily-multi-device-docs-tester.lock.yml +++ b/.github/workflows/daily-multi-device-docs-tester.lock.yml @@ -171,24 +171,14 @@ jobs: key: agentic-workflow-usage-dailymultidevicedocstester-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailymultidevicedocstester- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-news.lock.yml b/.github/workflows/daily-news.lock.yml index 04f02ea9b3e..e926371e5b9 100644 --- a/.github/workflows/daily-news.lock.yml +++ b/.github/workflows/daily-news.lock.yml @@ -174,24 +174,14 @@ jobs: key: agentic-workflow-usage-dailynews-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailynews- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-observability-report.lock.yml b/.github/workflows/daily-observability-report.lock.yml index 2b214e326eb..75f8a97e5d8 100644 --- a/.github/workflows/daily-observability-report.lock.yml +++ b/.github/workflows/daily-observability-report.lock.yml @@ -173,24 +173,14 @@ jobs: key: agentic-workflow-usage-dailyobservabilityreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyobservabilityreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-performance-summary.lock.yml b/.github/workflows/daily-performance-summary.lock.yml index cf5d496944f..1f69fce63ed 100644 --- a/.github/workflows/daily-performance-summary.lock.yml +++ b/.github/workflows/daily-performance-summary.lock.yml @@ -172,24 +172,14 @@ jobs: key: agentic-workflow-usage-dailyperformancesummary-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyperformancesummary- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-regulatory.lock.yml b/.github/workflows/daily-regulatory.lock.yml index 8a4f94f1005..ff374cb6814 100644 --- a/.github/workflows/daily-regulatory.lock.yml +++ b/.github/workflows/daily-regulatory.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-dailyregulatory-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyregulatory- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-reliability-review.lock.yml b/.github/workflows/daily-reliability-review.lock.yml index f755b3ee115..a35ae4f7be8 100644 --- a/.github/workflows/daily-reliability-review.lock.yml +++ b/.github/workflows/daily-reliability-review.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-dailyreliabilityreview-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyreliabilityreview- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-rendering-scripts-verifier.lock.yml b/.github/workflows/daily-rendering-scripts-verifier.lock.yml index 6d02b333c70..c68f60f7f37 100644 --- a/.github/workflows/daily-rendering-scripts-verifier.lock.yml +++ b/.github/workflows/daily-rendering-scripts-verifier.lock.yml @@ -180,24 +180,14 @@ jobs: key: agentic-workflow-usage-dailyrenderingscriptsverifier-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyrenderingscriptsverifier- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-repo-chronicle.lock.yml b/.github/workflows/daily-repo-chronicle.lock.yml index 780bfc94796..ab52db1601b 100644 --- a/.github/workflows/daily-repo-chronicle.lock.yml +++ b/.github/workflows/daily-repo-chronicle.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-dailyrepochronicle-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyrepochronicle- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-safe-output-integrator.lock.yml b/.github/workflows/daily-safe-output-integrator.lock.yml index c8b904480f5..f8faaf90d94 100644 --- a/.github/workflows/daily-safe-output-integrator.lock.yml +++ b/.github/workflows/daily-safe-output-integrator.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-dailysafeoutputintegrator-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysafeoutputintegrator- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-safe-output-optimizer.lock.yml b/.github/workflows/daily-safe-output-optimizer.lock.yml index b51c1955d55..cefd9aa0dcd 100644 --- a/.github/workflows/daily-safe-output-optimizer.lock.yml +++ b/.github/workflows/daily-safe-output-optimizer.lock.yml @@ -180,24 +180,14 @@ jobs: key: agentic-workflow-usage-dailysafeoutputoptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysafeoutputoptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-safe-outputs-conformance.lock.yml b/.github/workflows/daily-safe-outputs-conformance.lock.yml index eb9a5720a55..2ab911a3fd5 100644 --- a/.github/workflows/daily-safe-outputs-conformance.lock.yml +++ b/.github/workflows/daily-safe-outputs-conformance.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-dailysafeoutputsconformance-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysafeoutputsconformance- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-safeoutputs-git-simulator.lock.yml b/.github/workflows/daily-safeoutputs-git-simulator.lock.yml index 22175e661fd..6cfa817bd3a 100644 --- a/.github/workflows/daily-safeoutputs-git-simulator.lock.yml +++ b/.github/workflows/daily-safeoutputs-git-simulator.lock.yml @@ -148,24 +148,14 @@ jobs: key: agentic-workflow-usage-dailysafeoutputsgitsimulator-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysafeoutputsgitsimulator- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-secrets-analysis.lock.yml b/.github/workflows/daily-secrets-analysis.lock.yml index 1b3d9ecda38..299b399d7aa 100644 --- a/.github/workflows/daily-secrets-analysis.lock.yml +++ b/.github/workflows/daily-secrets-analysis.lock.yml @@ -166,24 +166,14 @@ jobs: key: agentic-workflow-usage-dailysecretsanalysis-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysecretsanalysis- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-security-observability.lock.yml b/.github/workflows/daily-security-observability.lock.yml index 483c3153a2f..377b136d671 100644 --- a/.github/workflows/daily-security-observability.lock.yml +++ b/.github/workflows/daily-security-observability.lock.yml @@ -180,24 +180,14 @@ jobs: key: agentic-workflow-usage-dailysecurityobservability-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysecurityobservability- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-security-red-team.lock.yml b/.github/workflows/daily-security-red-team.lock.yml index d9cc7744c64..428f0526bbb 100644 --- a/.github/workflows/daily-security-red-team.lock.yml +++ b/.github/workflows/daily-security-red-team.lock.yml @@ -171,24 +171,14 @@ jobs: key: agentic-workflow-usage-dailysecurityredteam-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysecurityredteam- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-semgrep-scan.lock.yml b/.github/workflows/daily-semgrep-scan.lock.yml index 5eac23c9ea7..d3f64b793c2 100644 --- a/.github/workflows/daily-semgrep-scan.lock.yml +++ b/.github/workflows/daily-semgrep-scan.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-dailysemgrepscan-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysemgrepscan- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-sentrux-report.lock.yml b/.github/workflows/daily-sentrux-report.lock.yml index bb8bdc2500b..b7cb1de6cb5 100644 --- a/.github/workflows/daily-sentrux-report.lock.yml +++ b/.github/workflows/daily-sentrux-report.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-dailysentruxreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysentruxreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-skill-optimizer.lock.yml b/.github/workflows/daily-skill-optimizer.lock.yml index a9ffe6c5783..3c5347978b1 100644 --- a/.github/workflows/daily-skill-optimizer.lock.yml +++ b/.github/workflows/daily-skill-optimizer.lock.yml @@ -165,24 +165,14 @@ jobs: key: agentic-workflow-usage-dailyskilloptimizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyskilloptimizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-spdd-spec-planner.lock.yml b/.github/workflows/daily-spdd-spec-planner.lock.yml index 40c9f5c88dd..5645669a753 100644 --- a/.github/workflows/daily-spdd-spec-planner.lock.yml +++ b/.github/workflows/daily-spdd-spec-planner.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-dailyspddspecplanner-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyspddspecplanner- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-syntax-error-quality.lock.yml b/.github/workflows/daily-syntax-error-quality.lock.yml index 09c7a208835..b44786d9539 100644 --- a/.github/workflows/daily-syntax-error-quality.lock.yml +++ b/.github/workflows/daily-syntax-error-quality.lock.yml @@ -163,24 +163,14 @@ jobs: key: agentic-workflow-usage-dailysyntaxerrorquality-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailysyntaxerrorquality- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-team-evolution-insights.lock.yml b/.github/workflows/daily-team-evolution-insights.lock.yml index 553b26307d6..ede4af4de2e 100644 --- a/.github/workflows/daily-team-evolution-insights.lock.yml +++ b/.github/workflows/daily-team-evolution-insights.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-dailyteamevolutioninsights-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyteamevolutioninsights- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-team-status.lock.yml b/.github/workflows/daily-team-status.lock.yml index 7337c251319..6ce2faf1efa 100644 --- a/.github/workflows/daily-team-status.lock.yml +++ b/.github/workflows/daily-team-status.lock.yml @@ -153,24 +153,14 @@ jobs: key: agentic-workflow-usage-dailyteamstatus-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyteamstatus- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-testify-uber-super-expert.lock.yml b/.github/workflows/daily-testify-uber-super-expert.lock.yml index bf148c06b5d..c096cc7b94f 100644 --- a/.github/workflows/daily-testify-uber-super-expert.lock.yml +++ b/.github/workflows/daily-testify-uber-super-expert.lock.yml @@ -176,24 +176,14 @@ jobs: key: agentic-workflow-usage-dailytestifyubersuperexpert-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailytestifyubersuperexpert- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-token-consumption-report.lock.yml b/.github/workflows/daily-token-consumption-report.lock.yml index 608e6b8bbd3..79e575c6867 100644 --- a/.github/workflows/daily-token-consumption-report.lock.yml +++ b/.github/workflows/daily-token-consumption-report.lock.yml @@ -175,24 +175,14 @@ jobs: key: agentic-workflow-usage-dailytokenconsumptionreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailytokenconsumptionreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-windows-terminal-integration-builder.lock.yml b/.github/workflows/daily-windows-terminal-integration-builder.lock.yml index ac72ed46064..8a068f18ac0 100644 --- a/.github/workflows/daily-windows-terminal-integration-builder.lock.yml +++ b/.github/workflows/daily-windows-terminal-integration-builder.lock.yml @@ -147,24 +147,14 @@ jobs: key: agentic-workflow-usage-dailywindowsterminalintegrationbuilder-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailywindowsterminalintegrationbuilder- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/daily-workflow-updater.lock.yml b/.github/workflows/daily-workflow-updater.lock.yml index 7430b67d728..9e96e346443 100644 --- a/.github/workflows/daily-workflow-updater.lock.yml +++ b/.github/workflows/daily-workflow-updater.lock.yml @@ -164,24 +164,14 @@ jobs: key: agentic-workflow-usage-dailyworkflowupdater-${{ github.run_id }} restore-keys: agentic-workflow-usage-dailyworkflowupdater- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/dataflow-pr-discussion-dataset.lock.yml b/.github/workflows/dataflow-pr-discussion-dataset.lock.yml index 2353f97180b..542c0d5adcc 100644 --- a/.github/workflows/dataflow-pr-discussion-dataset.lock.yml +++ b/.github/workflows/dataflow-pr-discussion-dataset.lock.yml @@ -171,24 +171,14 @@ jobs: key: agentic-workflow-usage-dataflowprdiscussiondataset-${{ github.run_id }} restore-keys: agentic-workflow-usage-dataflowprdiscussiondataset- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/dead-code-remover.lock.yml b/.github/workflows/dead-code-remover.lock.yml index 048cb071e07..d522ef4ea26 100644 --- a/.github/workflows/dead-code-remover.lock.yml +++ b/.github/workflows/dead-code-remover.lock.yml @@ -173,24 +173,14 @@ jobs: key: agentic-workflow-usage-deadcoderemover-${{ github.run_id }} restore-keys: agentic-workflow-usage-deadcoderemover- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/deep-report.lock.yml b/.github/workflows/deep-report.lock.yml index 033cb96bf8c..8808ce58f5d 100644 --- a/.github/workflows/deep-report.lock.yml +++ b/.github/workflows/deep-report.lock.yml @@ -177,24 +177,14 @@ jobs: key: agentic-workflow-usage-deepreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-deepreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/delight.lock.yml b/.github/workflows/delight.lock.yml index 77183aef62e..bd7c734dfb6 100644 --- a/.github/workflows/delight.lock.yml +++ b/.github/workflows/delight.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-delight-${{ github.run_id }} restore-keys: agentic-workflow-usage-delight- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/dependabot-burner.lock.yml b/.github/workflows/dependabot-burner.lock.yml index a4c8a9da833..cc29d6df620 100644 --- a/.github/workflows/dependabot-burner.lock.yml +++ b/.github/workflows/dependabot-burner.lock.yml @@ -164,24 +164,14 @@ jobs: key: agentic-workflow-usage-dependabotburner-${{ github.run_id }} restore-keys: agentic-workflow-usage-dependabotburner- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/dependabot-campaign.lock.yml b/.github/workflows/dependabot-campaign.lock.yml index 8bc68195ec1..90544dfc19e 100644 --- a/.github/workflows/dependabot-campaign.lock.yml +++ b/.github/workflows/dependabot-campaign.lock.yml @@ -174,24 +174,14 @@ jobs: key: agentic-workflow-usage-dependabotcampaign-${{ github.run_id }} restore-keys: agentic-workflow-usage-dependabotcampaign- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/dependabot-go-checker.lock.yml b/.github/workflows/dependabot-go-checker.lock.yml index 1beedc24861..7469540bec9 100644 --- a/.github/workflows/dependabot-go-checker.lock.yml +++ b/.github/workflows/dependabot-go-checker.lock.yml @@ -166,24 +166,14 @@ jobs: key: agentic-workflow-usage-dependabotgochecker-${{ github.run_id }} restore-keys: agentic-workflow-usage-dependabotgochecker- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/dependabot-repair.lock.yml b/.github/workflows/dependabot-repair.lock.yml index b1b99d0e356..a932f813362 100644 --- a/.github/workflows/dependabot-repair.lock.yml +++ b/.github/workflows/dependabot-repair.lock.yml @@ -175,24 +175,14 @@ jobs: key: agentic-workflow-usage-dependabotrepair-${{ github.run_id }} restore-keys: agentic-workflow-usage-dependabotrepair- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/dependabot-worker.lock.yml b/.github/workflows/dependabot-worker.lock.yml index 63d82c7574c..d05e33c25ca 100644 --- a/.github/workflows/dependabot-worker.lock.yml +++ b/.github/workflows/dependabot-worker.lock.yml @@ -258,24 +258,14 @@ jobs: key: agentic-workflow-usage-dependabotworker-${{ github.run_id }} restore-keys: agentic-workflow-usage-dependabotworker- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/deployment-incident-monitor.lock.yml b/.github/workflows/deployment-incident-monitor.lock.yml index 9abfaffb261..509e379ed9b 100644 --- a/.github/workflows/deployment-incident-monitor.lock.yml +++ b/.github/workflows/deployment-incident-monitor.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-deploymentincidentmonitor-${{ github.run_id }} restore-keys: agentic-workflow-usage-deploymentincidentmonitor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/design-decision-gate.lock.yml b/.github/workflows/design-decision-gate.lock.yml index b240a956744..822a8ae2f26 100644 --- a/.github/workflows/design-decision-gate.lock.yml +++ b/.github/workflows/design-decision-gate.lock.yml @@ -187,24 +187,14 @@ jobs: key: agentic-workflow-usage-designdecisiongate-${{ github.run_id }} restore-keys: agentic-workflow-usage-designdecisiongate- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/designer-drift-audit.lock.yml b/.github/workflows/designer-drift-audit.lock.yml index 7c8f6e3b570..95e9949dd31 100644 --- a/.github/workflows/designer-drift-audit.lock.yml +++ b/.github/workflows/designer-drift-audit.lock.yml @@ -147,24 +147,14 @@ jobs: key: agentic-workflow-usage-designerdriftaudit-${{ github.run_id }} restore-keys: agentic-workflow-usage-designerdriftaudit- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/dev-hawk.lock.yml b/.github/workflows/dev-hawk.lock.yml index 0a9a5bf2140..84a8d5ea766 100644 --- a/.github/workflows/dev-hawk.lock.yml +++ b/.github/workflows/dev-hawk.lock.yml @@ -174,24 +174,14 @@ jobs: key: agentic-workflow-usage-devhawk-${{ github.run_id }} restore-keys: agentic-workflow-usage-devhawk- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/dev.lock.yml b/.github/workflows/dev.lock.yml index c3282301ab2..89f1f9cfe89 100644 --- a/.github/workflows/dev.lock.yml +++ b/.github/workflows/dev.lock.yml @@ -184,24 +184,14 @@ jobs: key: agentic-workflow-usage-dev-${{ github.run_id }} restore-keys: agentic-workflow-usage-dev- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/developer-docs-consolidator.lock.yml b/.github/workflows/developer-docs-consolidator.lock.yml index f84a8bb6ab7..9875e7319ab 100644 --- a/.github/workflows/developer-docs-consolidator.lock.yml +++ b/.github/workflows/developer-docs-consolidator.lock.yml @@ -172,24 +172,14 @@ jobs: key: agentic-workflow-usage-developerdocsconsolidator-${{ github.run_id }} restore-keys: agentic-workflow-usage-developerdocsconsolidator- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/dictation-prompt.lock.yml b/.github/workflows/dictation-prompt.lock.yml index c0d7351236c..f058ad3230d 100644 --- a/.github/workflows/dictation-prompt.lock.yml +++ b/.github/workflows/dictation-prompt.lock.yml @@ -165,24 +165,14 @@ jobs: key: agentic-workflow-usage-dictationprompt-${{ github.run_id }} restore-keys: agentic-workflow-usage-dictationprompt- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/discussion-task-miner.lock.yml b/.github/workflows/discussion-task-miner.lock.yml index ef72bbc54cf..b238f4edd52 100644 --- a/.github/workflows/discussion-task-miner.lock.yml +++ b/.github/workflows/discussion-task-miner.lock.yml @@ -166,24 +166,14 @@ jobs: key: agentic-workflow-usage-discussiontaskminer-${{ github.run_id }} restore-keys: agentic-workflow-usage-discussiontaskminer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/docs-noob-tester.lock.yml b/.github/workflows/docs-noob-tester.lock.yml index 134c64e5141..f83014deea8 100644 --- a/.github/workflows/docs-noob-tester.lock.yml +++ b/.github/workflows/docs-noob-tester.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-docsnoobtester-${{ github.run_id }} restore-keys: agentic-workflow-usage-docsnoobtester- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/draft-pr-cleanup.lock.yml b/.github/workflows/draft-pr-cleanup.lock.yml index 84703d114c9..5fa87cde99b 100644 --- a/.github/workflows/draft-pr-cleanup.lock.yml +++ b/.github/workflows/draft-pr-cleanup.lock.yml @@ -163,24 +163,14 @@ jobs: key: agentic-workflow-usage-draftprcleanup-${{ github.run_id }} restore-keys: agentic-workflow-usage-draftprcleanup- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/duplicate-code-detector.lock.yml b/.github/workflows/duplicate-code-detector.lock.yml index 7b15c5d2754..186ab42c5e6 100644 --- a/.github/workflows/duplicate-code-detector.lock.yml +++ b/.github/workflows/duplicate-code-detector.lock.yml @@ -171,24 +171,14 @@ jobs: key: agentic-workflow-usage-duplicatecodedetector-${{ github.run_id }} restore-keys: agentic-workflow-usage-duplicatecodedetector- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/example-permissions-warning.lock.yml b/.github/workflows/example-permissions-warning.lock.yml index 37505b70355..12345c7c5a3 100644 --- a/.github/workflows/example-permissions-warning.lock.yml +++ b/.github/workflows/example-permissions-warning.lock.yml @@ -160,24 +160,14 @@ jobs: key: agentic-workflow-usage-examplepermissionswarning-${{ github.run_id }} restore-keys: agentic-workflow-usage-examplepermissionswarning- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/example-workflow-analyzer.lock.yml b/.github/workflows/example-workflow-analyzer.lock.yml index ab4b3b70cb8..e5157d115fd 100644 --- a/.github/workflows/example-workflow-analyzer.lock.yml +++ b/.github/workflows/example-workflow-analyzer.lock.yml @@ -172,24 +172,14 @@ jobs: key: agentic-workflow-usage-exampleworkflowanalyzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-exampleworkflowanalyzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/firewall-escape.lock.yml b/.github/workflows/firewall-escape.lock.yml index 9b39df7b748..89d31a9999a 100644 --- a/.github/workflows/firewall-escape.lock.yml +++ b/.github/workflows/firewall-escape.lock.yml @@ -178,24 +178,14 @@ jobs: key: agentic-workflow-usage-firewallescape-${{ github.run_id }} restore-keys: agentic-workflow-usage-firewallescape- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/firewall.lock.yml b/.github/workflows/firewall.lock.yml index 2af0c7cc678..ca0d85c27b9 100644 --- a/.github/workflows/firewall.lock.yml +++ b/.github/workflows/firewall.lock.yml @@ -160,24 +160,14 @@ jobs: key: agentic-workflow-usage-firewall-${{ github.run_id }} restore-keys: agentic-workflow-usage-firewall- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/functional-pragmatist.lock.yml b/.github/workflows/functional-pragmatist.lock.yml index f3fc0985d38..bbf75b79c44 100644 --- a/.github/workflows/functional-pragmatist.lock.yml +++ b/.github/workflows/functional-pragmatist.lock.yml @@ -165,24 +165,14 @@ jobs: key: agentic-workflow-usage-functionalpragmatist-${{ github.run_id }} restore-keys: agentic-workflow-usage-functionalpragmatist- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/github-mcp-structural-analysis.lock.yml b/.github/workflows/github-mcp-structural-analysis.lock.yml index 358aae89c72..b716065fcd6 100644 --- a/.github/workflows/github-mcp-structural-analysis.lock.yml +++ b/.github/workflows/github-mcp-structural-analysis.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-githubmcpstructuralanalysis-${{ github.run_id }} restore-keys: agentic-workflow-usage-githubmcpstructuralanalysis- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/github-mcp-tools-report.lock.yml b/.github/workflows/github-mcp-tools-report.lock.yml index f94dd69a8d2..f7b8834458b 100644 --- a/.github/workflows/github-mcp-tools-report.lock.yml +++ b/.github/workflows/github-mcp-tools-report.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-githubmcptoolsreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-githubmcptoolsreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/github-remote-mcp-auth-test.lock.yml b/.github/workflows/github-remote-mcp-auth-test.lock.yml index 8d212f3614b..fad11d62994 100644 --- a/.github/workflows/github-remote-mcp-auth-test.lock.yml +++ b/.github/workflows/github-remote-mcp-auth-test.lock.yml @@ -166,24 +166,14 @@ jobs: key: agentic-workflow-usage-githubremotemcpauthtest-${{ github.run_id }} restore-keys: agentic-workflow-usage-githubremotemcpauthtest- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/glossary-maintainer.lock.yml b/.github/workflows/glossary-maintainer.lock.yml index ae598f28aff..c85c71d56c9 100644 --- a/.github/workflows/glossary-maintainer.lock.yml +++ b/.github/workflows/glossary-maintainer.lock.yml @@ -171,24 +171,14 @@ jobs: key: agentic-workflow-usage-glossarymaintainer-${{ github.run_id }} restore-keys: agentic-workflow-usage-glossarymaintainer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/go-fan.lock.yml b/.github/workflows/go-fan.lock.yml index 1e79faead9b..b67c3b8382b 100644 --- a/.github/workflows/go-fan.lock.yml +++ b/.github/workflows/go-fan.lock.yml @@ -172,24 +172,14 @@ jobs: key: agentic-workflow-usage-gofan-${{ github.run_id }} restore-keys: agentic-workflow-usage-gofan- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/go-logger.lock.yml b/.github/workflows/go-logger.lock.yml index b86f4a5da7f..3162494dc94 100644 --- a/.github/workflows/go-logger.lock.yml +++ b/.github/workflows/go-logger.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-gologger-${{ github.run_id }} restore-keys: agentic-workflow-usage-gologger- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/go-pattern-detector.lock.yml b/.github/workflows/go-pattern-detector.lock.yml index 9a9d8cfb8bc..3a93235ed2d 100644 --- a/.github/workflows/go-pattern-detector.lock.yml +++ b/.github/workflows/go-pattern-detector.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-gopatterndetector-${{ github.run_id }} restore-keys: agentic-workflow-usage-gopatterndetector- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/gpclean.lock.yml b/.github/workflows/gpclean.lock.yml index 4c49dc7c2dd..f8b583e30f1 100644 --- a/.github/workflows/gpclean.lock.yml +++ b/.github/workflows/gpclean.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-gpclean-${{ github.run_id }} restore-keys: agentic-workflow-usage-gpclean- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/grumpy-reviewer.lock.yml b/.github/workflows/grumpy-reviewer.lock.yml index b42bde6ece1..d52959ef531 100644 --- a/.github/workflows/grumpy-reviewer.lock.yml +++ b/.github/workflows/grumpy-reviewer.lock.yml @@ -175,24 +175,14 @@ jobs: key: agentic-workflow-usage-grumpyreviewer-${{ github.run_id }} restore-keys: agentic-workflow-usage-grumpyreviewer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/hippo-embed.lock.yml b/.github/workflows/hippo-embed.lock.yml index 12f91432dfd..fd05d224c7e 100644 --- a/.github/workflows/hippo-embed.lock.yml +++ b/.github/workflows/hippo-embed.lock.yml @@ -163,24 +163,14 @@ jobs: key: agentic-workflow-usage-hippoembed-${{ github.run_id }} restore-keys: agentic-workflow-usage-hippoembed- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/hourly-ci-cleaner.lock.yml b/.github/workflows/hourly-ci-cleaner.lock.yml index d360ef387af..0099b2234fd 100644 --- a/.github/workflows/hourly-ci-cleaner.lock.yml +++ b/.github/workflows/hourly-ci-cleaner.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-hourlycicleaner-${{ github.run_id }} restore-keys: agentic-workflow-usage-hourlycicleaner- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/instructions-janitor.lock.yml b/.github/workflows/instructions-janitor.lock.yml index d95524002e3..a607134ec24 100644 --- a/.github/workflows/instructions-janitor.lock.yml +++ b/.github/workflows/instructions-janitor.lock.yml @@ -166,24 +166,14 @@ jobs: key: agentic-workflow-usage-instructionsjanitor-${{ github.run_id }} restore-keys: agentic-workflow-usage-instructionsjanitor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/issue-arborist.lock.yml b/.github/workflows/issue-arborist.lock.yml index 98a599ffe6f..e7b308defa5 100644 --- a/.github/workflows/issue-arborist.lock.yml +++ b/.github/workflows/issue-arborist.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-issuearborist-${{ github.run_id }} restore-keys: agentic-workflow-usage-issuearborist- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/issue-monster.lock.yml b/.github/workflows/issue-monster.lock.yml index fe905dad1c3..607e6ff08a6 100644 --- a/.github/workflows/issue-monster.lock.yml +++ b/.github/workflows/issue-monster.lock.yml @@ -554,24 +554,14 @@ jobs: key: agentic-workflow-usage-issuemonster-${{ github.run_id }} restore-keys: agentic-workflow-usage-issuemonster- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/issue-triage-agent.lock.yml b/.github/workflows/issue-triage-agent.lock.yml index ba5ac5b1f94..3051b90d236 100644 --- a/.github/workflows/issue-triage-agent.lock.yml +++ b/.github/workflows/issue-triage-agent.lock.yml @@ -164,24 +164,14 @@ jobs: key: agentic-workflow-usage-issuetriageagent-${{ github.run_id }} restore-keys: agentic-workflow-usage-issuetriageagent- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/jsweep.lock.yml b/.github/workflows/jsweep.lock.yml index 89c586a0618..b6cae55ec02 100644 --- a/.github/workflows/jsweep.lock.yml +++ b/.github/workflows/jsweep.lock.yml @@ -166,24 +166,14 @@ jobs: key: agentic-workflow-usage-jsweep-${{ github.run_id }} restore-keys: agentic-workflow-usage-jsweep- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/layout-spec-maintainer.lock.yml b/.github/workflows/layout-spec-maintainer.lock.yml index c11a95733b7..225a4aef174 100644 --- a/.github/workflows/layout-spec-maintainer.lock.yml +++ b/.github/workflows/layout-spec-maintainer.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-layoutspecmaintainer-${{ github.run_id }} restore-keys: agentic-workflow-usage-layoutspecmaintainer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/lint-monster.lock.yml b/.github/workflows/lint-monster.lock.yml index 6d767734b1e..e7c8db2c4b5 100644 --- a/.github/workflows/lint-monster.lock.yml +++ b/.github/workflows/lint-monster.lock.yml @@ -166,24 +166,14 @@ jobs: key: agentic-workflow-usage-lintmonster-${{ github.run_id }} restore-keys: agentic-workflow-usage-lintmonster- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/linter-miner.lock.yml b/.github/workflows/linter-miner.lock.yml index c7416ac63eb..76a9c6b1b11 100644 --- a/.github/workflows/linter-miner.lock.yml +++ b/.github/workflows/linter-miner.lock.yml @@ -166,24 +166,14 @@ jobs: key: agentic-workflow-usage-linterminer-${{ github.run_id }} restore-keys: agentic-workflow-usage-linterminer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/lockfile-stats.lock.yml b/.github/workflows/lockfile-stats.lock.yml index e280c3c54e3..258185836ee 100644 --- a/.github/workflows/lockfile-stats.lock.yml +++ b/.github/workflows/lockfile-stats.lock.yml @@ -167,24 +167,14 @@ jobs: key: agentic-workflow-usage-lockfilestats-${{ github.run_id }} restore-keys: agentic-workflow-usage-lockfilestats- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/mattpocock-skills-reviewer.lock.yml b/.github/workflows/mattpocock-skills-reviewer.lock.yml index e4b3167e469..b07e632f599 100644 --- a/.github/workflows/mattpocock-skills-reviewer.lock.yml +++ b/.github/workflows/mattpocock-skills-reviewer.lock.yml @@ -176,24 +176,14 @@ jobs: key: agentic-workflow-usage-mattpocockskillsreviewer-${{ github.run_id }} restore-keys: agentic-workflow-usage-mattpocockskillsreviewer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/mcp-inspector.lock.yml b/.github/workflows/mcp-inspector.lock.yml index 8d08b9c0b09..f314e4f9fc1 100644 --- a/.github/workflows/mcp-inspector.lock.yml +++ b/.github/workflows/mcp-inspector.lock.yml @@ -212,24 +212,14 @@ jobs: key: agentic-workflow-usage-mcpinspector-${{ github.run_id }} restore-keys: agentic-workflow-usage-mcpinspector- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/mergefest.lock.yml b/.github/workflows/mergefest.lock.yml index 0cbe11a1ca2..1748906af20 100644 --- a/.github/workflows/mergefest.lock.yml +++ b/.github/workflows/mergefest.lock.yml @@ -174,24 +174,14 @@ jobs: key: agentic-workflow-usage-mergefest-${{ github.run_id }} restore-keys: agentic-workflow-usage-mergefest- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/metrics-collector.lock.yml b/.github/workflows/metrics-collector.lock.yml index fe4f87041e7..b9f82cfc4d8 100644 --- a/.github/workflows/metrics-collector.lock.yml +++ b/.github/workflows/metrics-collector.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-metricscollector-${{ github.run_id }} restore-keys: agentic-workflow-usage-metricscollector- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/necromancer.lock.yml b/.github/workflows/necromancer.lock.yml index 1f35d5f3636..e5c0948f317 100644 --- a/.github/workflows/necromancer.lock.yml +++ b/.github/workflows/necromancer.lock.yml @@ -182,24 +182,14 @@ jobs: key: agentic-workflow-usage-necromancer-${{ github.run_id }} restore-keys: agentic-workflow-usage-necromancer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/notion-issue-summary.lock.yml b/.github/workflows/notion-issue-summary.lock.yml index a77d9164a8e..52c2cc70d48 100644 --- a/.github/workflows/notion-issue-summary.lock.yml +++ b/.github/workflows/notion-issue-summary.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-notionissuesummary-${{ github.run_id }} restore-keys: agentic-workflow-usage-notionissuesummary- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/objective-impact-report.lock.yml b/.github/workflows/objective-impact-report.lock.yml index ea6f6ea9556..98caee8b183 100644 --- a/.github/workflows/objective-impact-report.lock.yml +++ b/.github/workflows/objective-impact-report.lock.yml @@ -143,24 +143,14 @@ jobs: key: agentic-workflow-usage-objectiveimpactreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-objectiveimpactreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/org-health-report.lock.yml b/.github/workflows/org-health-report.lock.yml index 6bb8f565ee0..e09e7c20c0e 100644 --- a/.github/workflows/org-health-report.lock.yml +++ b/.github/workflows/org-health-report.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-orghealthreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-orghealthreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/outcome-collector.lock.yml b/.github/workflows/outcome-collector.lock.yml index 6a09e2b5d1f..43d45e22d70 100644 --- a/.github/workflows/outcome-collector.lock.yml +++ b/.github/workflows/outcome-collector.lock.yml @@ -165,24 +165,14 @@ jobs: key: agentic-workflow-usage-outcomecollector-${{ github.run_id }} restore-keys: agentic-workflow-usage-outcomecollector- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/pdf-summary.lock.yml b/.github/workflows/pdf-summary.lock.yml index 4c315b5289b..43fb63c81cd 100644 --- a/.github/workflows/pdf-summary.lock.yml +++ b/.github/workflows/pdf-summary.lock.yml @@ -184,24 +184,14 @@ jobs: key: agentic-workflow-usage-pdfsummary-${{ github.run_id }} restore-keys: agentic-workflow-usage-pdfsummary- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/plan.lock.yml b/.github/workflows/plan.lock.yml index ab8cbb9f5f0..6daf768785f 100644 --- a/.github/workflows/plan.lock.yml +++ b/.github/workflows/plan.lock.yml @@ -173,24 +173,14 @@ jobs: key: agentic-workflow-usage-plan-${{ github.run_id }} restore-keys: agentic-workflow-usage-plan- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/poem-bot.lock.yml b/.github/workflows/poem-bot.lock.yml index 804beef3ec8..fee89c0f2c8 100644 --- a/.github/workflows/poem-bot.lock.yml +++ b/.github/workflows/poem-bot.lock.yml @@ -181,24 +181,14 @@ jobs: key: agentic-workflow-usage-poembot-${{ github.run_id }} restore-keys: agentic-workflow-usage-poembot- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/pr-code-quality-reviewer.lock.yml b/.github/workflows/pr-code-quality-reviewer.lock.yml index fc0df5bc6f3..542f36e42cc 100644 --- a/.github/workflows/pr-code-quality-reviewer.lock.yml +++ b/.github/workflows/pr-code-quality-reviewer.lock.yml @@ -177,24 +177,14 @@ jobs: key: agentic-workflow-usage-prcodequalityreviewer-${{ github.run_id }} restore-keys: agentic-workflow-usage-prcodequalityreviewer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/pr-description-caveman.lock.yml b/.github/workflows/pr-description-caveman.lock.yml index 4bc4921715c..3684144a305 100644 --- a/.github/workflows/pr-description-caveman.lock.yml +++ b/.github/workflows/pr-description-caveman.lock.yml @@ -149,24 +149,14 @@ jobs: key: agentic-workflow-usage-prdescriptioncaveman-${{ github.run_id }} restore-keys: agentic-workflow-usage-prdescriptioncaveman- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/pr-nitpick-reviewer.lock.yml b/.github/workflows/pr-nitpick-reviewer.lock.yml index cb2f25b64bc..c12d04fb344 100644 --- a/.github/workflows/pr-nitpick-reviewer.lock.yml +++ b/.github/workflows/pr-nitpick-reviewer.lock.yml @@ -175,24 +175,14 @@ jobs: key: agentic-workflow-usage-prnitpickreviewer-${{ github.run_id }} restore-keys: agentic-workflow-usage-prnitpickreviewer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/pr-sous-chef.lock.yml b/.github/workflows/pr-sous-chef.lock.yml index d78b6347eb7..d2985108d47 100644 --- a/.github/workflows/pr-sous-chef.lock.yml +++ b/.github/workflows/pr-sous-chef.lock.yml @@ -170,24 +170,14 @@ jobs: key: agentic-workflow-usage-prsouschef-${{ github.run_id }} restore-keys: agentic-workflow-usage-prsouschef- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/pr-triage-agent.lock.yml b/.github/workflows/pr-triage-agent.lock.yml index ce36ca6ca69..a7b56a3547b 100644 --- a/.github/workflows/pr-triage-agent.lock.yml +++ b/.github/workflows/pr-triage-agent.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-prtriageagent-${{ github.run_id }} restore-keys: agentic-workflow-usage-prtriageagent- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/prompt-clustering-analysis.lock.yml b/.github/workflows/prompt-clustering-analysis.lock.yml index 7f969d65384..66a3580707a 100644 --- a/.github/workflows/prompt-clustering-analysis.lock.yml +++ b/.github/workflows/prompt-clustering-analysis.lock.yml @@ -181,24 +181,14 @@ jobs: key: agentic-workflow-usage-promptclusteringanalysis-${{ github.run_id }} restore-keys: agentic-workflow-usage-promptclusteringanalysis- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/python-data-charts.lock.yml b/.github/workflows/python-data-charts.lock.yml index 44c1a877e44..85a4329aa82 100644 --- a/.github/workflows/python-data-charts.lock.yml +++ b/.github/workflows/python-data-charts.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-pythondatacharts-${{ github.run_id }} restore-keys: agentic-workflow-usage-pythondatacharts- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/q.lock.yml b/.github/workflows/q.lock.yml index 447c67ba08d..f46007c0372 100644 --- a/.github/workflows/q.lock.yml +++ b/.github/workflows/q.lock.yml @@ -200,24 +200,14 @@ jobs: key: agentic-workflow-usage-q-${{ github.run_id }} restore-keys: agentic-workflow-usage-q- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/refactoring-cadence.lock.yml b/.github/workflows/refactoring-cadence.lock.yml index f169dc69a7d..c417a4e109c 100644 --- a/.github/workflows/refactoring-cadence.lock.yml +++ b/.github/workflows/refactoring-cadence.lock.yml @@ -171,24 +171,14 @@ jobs: key: agentic-workflow-usage-refactoringcadence-${{ github.run_id }} restore-keys: agentic-workflow-usage-refactoringcadence- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/refiner.lock.yml b/.github/workflows/refiner.lock.yml index 64b0b3848c7..b200d1f03cf 100644 --- a/.github/workflows/refiner.lock.yml +++ b/.github/workflows/refiner.lock.yml @@ -185,24 +185,14 @@ jobs: key: agentic-workflow-usage-refiner-${{ github.run_id }} restore-keys: agentic-workflow-usage-refiner- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/release.lock.yml b/.github/workflows/release.lock.yml index 2aac75b8d23..2e31627a7b6 100644 --- a/.github/workflows/release.lock.yml +++ b/.github/workflows/release.lock.yml @@ -183,24 +183,14 @@ jobs: key: agentic-workflow-usage-release-${{ github.run_id }} restore-keys: agentic-workflow-usage-release- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/repo-audit-analyzer.lock.yml b/.github/workflows/repo-audit-analyzer.lock.yml index 25cdb58122e..0eac12ba902 100644 --- a/.github/workflows/repo-audit-analyzer.lock.yml +++ b/.github/workflows/repo-audit-analyzer.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-repoauditanalyzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-repoauditanalyzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/repo-tree-map.lock.yml b/.github/workflows/repo-tree-map.lock.yml index 7e880c456a7..a83d656c28e 100644 --- a/.github/workflows/repo-tree-map.lock.yml +++ b/.github/workflows/repo-tree-map.lock.yml @@ -165,24 +165,14 @@ jobs: key: agentic-workflow-usage-repotreemap-${{ github.run_id }} restore-keys: agentic-workflow-usage-repotreemap- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/repository-quality-improver.lock.yml b/.github/workflows/repository-quality-improver.lock.yml index 7e2d9ac8b3c..9bbadbdb128 100644 --- a/.github/workflows/repository-quality-improver.lock.yml +++ b/.github/workflows/repository-quality-improver.lock.yml @@ -174,24 +174,14 @@ jobs: key: agentic-workflow-usage-repositoryqualityimprover-${{ github.run_id }} restore-keys: agentic-workflow-usage-repositoryqualityimprover- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/research.lock.yml b/.github/workflows/research.lock.yml index 3d95349f734..d8656411bf5 100644 --- a/.github/workflows/research.lock.yml +++ b/.github/workflows/research.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-research-${{ github.run_id }} restore-keys: agentic-workflow-usage-research- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/ruflo-backed-task.lock.yml b/.github/workflows/ruflo-backed-task.lock.yml index 377037c14c4..3cbc0c6a282 100644 --- a/.github/workflows/ruflo-backed-task.lock.yml +++ b/.github/workflows/ruflo-backed-task.lock.yml @@ -160,24 +160,14 @@ jobs: key: agentic-workflow-usage-ruflobackedtask-${{ github.run_id }} restore-keys: agentic-workflow-usage-ruflobackedtask- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/safe-output-health.lock.yml b/.github/workflows/safe-output-health.lock.yml index dbb63706819..11c4092d0af 100644 --- a/.github/workflows/safe-output-health.lock.yml +++ b/.github/workflows/safe-output-health.lock.yml @@ -172,24 +172,14 @@ jobs: key: agentic-workflow-usage-safeoutputhealth-${{ github.run_id }} restore-keys: agentic-workflow-usage-safeoutputhealth- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/schema-consistency-checker.lock.yml b/.github/workflows/schema-consistency-checker.lock.yml index bb88d9123f1..2f9efaef23c 100644 --- a/.github/workflows/schema-consistency-checker.lock.yml +++ b/.github/workflows/schema-consistency-checker.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-schemaconsistencychecker-${{ github.run_id }} restore-keys: agentic-workflow-usage-schemaconsistencychecker- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/schema-feature-coverage.lock.yml b/.github/workflows/schema-feature-coverage.lock.yml index 09994905e3e..dfbc4643747 100644 --- a/.github/workflows/schema-feature-coverage.lock.yml +++ b/.github/workflows/schema-feature-coverage.lock.yml @@ -165,24 +165,14 @@ jobs: key: agentic-workflow-usage-schemafeaturecoverage-${{ github.run_id }} restore-keys: agentic-workflow-usage-schemafeaturecoverage- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/scout.lock.yml b/.github/workflows/scout.lock.yml index 142b3c6c8a8..2f2fd2956f6 100644 --- a/.github/workflows/scout.lock.yml +++ b/.github/workflows/scout.lock.yml @@ -197,24 +197,14 @@ jobs: key: agentic-workflow-usage-scout-${{ github.run_id }} restore-keys: agentic-workflow-usage-scout- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/security-compliance.lock.yml b/.github/workflows/security-compliance.lock.yml index 5386d90a104..204b1114b77 100644 --- a/.github/workflows/security-compliance.lock.yml +++ b/.github/workflows/security-compliance.lock.yml @@ -173,24 +173,14 @@ jobs: key: agentic-workflow-usage-securitycompliance-${{ github.run_id }} restore-keys: agentic-workflow-usage-securitycompliance- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/security-review.lock.yml b/.github/workflows/security-review.lock.yml index f7882ce7d52..ffccda38976 100644 --- a/.github/workflows/security-review.lock.yml +++ b/.github/workflows/security-review.lock.yml @@ -176,24 +176,14 @@ jobs: key: agentic-workflow-usage-securityreview-${{ github.run_id }} restore-keys: agentic-workflow-usage-securityreview- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/semantic-function-refactor.lock.yml b/.github/workflows/semantic-function-refactor.lock.yml index 0dfb19fea59..2b09653b88c 100644 --- a/.github/workflows/semantic-function-refactor.lock.yml +++ b/.github/workflows/semantic-function-refactor.lock.yml @@ -170,24 +170,14 @@ jobs: key: agentic-workflow-usage-semanticfunctionrefactor-${{ github.run_id }} restore-keys: agentic-workflow-usage-semanticfunctionrefactor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/sergo.lock.yml b/.github/workflows/sergo.lock.yml index abad088e470..fec403ddc88 100644 --- a/.github/workflows/sergo.lock.yml +++ b/.github/workflows/sergo.lock.yml @@ -171,24 +171,14 @@ jobs: key: agentic-workflow-usage-sergo-${{ github.run_id }} restore-keys: agentic-workflow-usage-sergo- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/slide-deck-maintainer.lock.yml b/.github/workflows/slide-deck-maintainer.lock.yml index a7c5909d518..591ba29007e 100644 --- a/.github/workflows/slide-deck-maintainer.lock.yml +++ b/.github/workflows/slide-deck-maintainer.lock.yml @@ -177,24 +177,14 @@ jobs: key: agentic-workflow-usage-slidedeckmaintainer-${{ github.run_id }} restore-keys: agentic-workflow-usage-slidedeckmaintainer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-agent-all-merged.lock.yml b/.github/workflows/smoke-agent-all-merged.lock.yml index 3abc3a58338..283c6f6dbb1 100644 --- a/.github/workflows/smoke-agent-all-merged.lock.yml +++ b/.github/workflows/smoke-agent-all-merged.lock.yml @@ -178,24 +178,14 @@ jobs: key: agentic-workflow-usage-smokeagentallmerged-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeagentallmerged- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-agent-all-none.lock.yml b/.github/workflows/smoke-agent-all-none.lock.yml index b26e23fefe3..b1f9e0589a9 100644 --- a/.github/workflows/smoke-agent-all-none.lock.yml +++ b/.github/workflows/smoke-agent-all-none.lock.yml @@ -178,24 +178,14 @@ jobs: key: agentic-workflow-usage-smokeagentallnone-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeagentallnone- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-agent-public-approved.lock.yml b/.github/workflows/smoke-agent-public-approved.lock.yml index ce78fe05cd0..d92212ff368 100644 --- a/.github/workflows/smoke-agent-public-approved.lock.yml +++ b/.github/workflows/smoke-agent-public-approved.lock.yml @@ -180,24 +180,14 @@ jobs: key: agentic-workflow-usage-smokeagentpublicapproved-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeagentpublicapproved- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-agent-public-none.lock.yml b/.github/workflows/smoke-agent-public-none.lock.yml index 613732f017c..35eedcdd33c 100644 --- a/.github/workflows/smoke-agent-public-none.lock.yml +++ b/.github/workflows/smoke-agent-public-none.lock.yml @@ -178,24 +178,14 @@ jobs: key: agentic-workflow-usage-smokeagentpublicnone-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeagentpublicnone- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-agent-scoped-approved.lock.yml b/.github/workflows/smoke-agent-scoped-approved.lock.yml index 662bb852ff3..5b0924581ef 100644 --- a/.github/workflows/smoke-agent-scoped-approved.lock.yml +++ b/.github/workflows/smoke-agent-scoped-approved.lock.yml @@ -179,24 +179,14 @@ jobs: key: agentic-workflow-usage-smokeagentscopedapproved-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeagentscopedapproved- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-antigravity.lock.yml b/.github/workflows/smoke-antigravity.lock.yml index 2a23dc8f90b..cb8b1d680ab 100644 --- a/.github/workflows/smoke-antigravity.lock.yml +++ b/.github/workflows/smoke-antigravity.lock.yml @@ -182,24 +182,14 @@ jobs: key: agentic-workflow-usage-smokeantigravity-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeantigravity- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-call-workflow.lock.yml b/.github/workflows/smoke-call-workflow.lock.yml index e06713bed5a..4bf43a06de6 100644 --- a/.github/workflows/smoke-call-workflow.lock.yml +++ b/.github/workflows/smoke-call-workflow.lock.yml @@ -181,24 +181,14 @@ jobs: key: agentic-workflow-usage-smokecallworkflow-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecallworkflow- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-ci.lock.yml b/.github/workflows/smoke-ci.lock.yml index 082f14dd655..55b4a3bbbfc 100644 --- a/.github/workflows/smoke-ci.lock.yml +++ b/.github/workflows/smoke-ci.lock.yml @@ -186,24 +186,14 @@ jobs: key: agentic-workflow-usage-smokeci-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeci- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-claude.lock.yml b/.github/workflows/smoke-claude.lock.yml index 83439e6b6b8..f46ece84046 100644 --- a/.github/workflows/smoke-claude.lock.yml +++ b/.github/workflows/smoke-claude.lock.yml @@ -191,24 +191,14 @@ jobs: key: agentic-workflow-usage-smokeclaude-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeclaude- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-codex.lock.yml b/.github/workflows/smoke-codex.lock.yml index 4832c60d8fd..6ef974bac30 100644 --- a/.github/workflows/smoke-codex.lock.yml +++ b/.github/workflows/smoke-codex.lock.yml @@ -190,24 +190,14 @@ jobs: key: agentic-workflow-usage-smokecodex-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecodex- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-copilot-aoai-apikey.lock.yml b/.github/workflows/smoke-copilot-aoai-apikey.lock.yml index 41ecd417bb3..b5e2aef8666 100644 --- a/.github/workflows/smoke-copilot-aoai-apikey.lock.yml +++ b/.github/workflows/smoke-copilot-aoai-apikey.lock.yml @@ -189,24 +189,14 @@ jobs: key: agentic-workflow-usage-smokecopilotaoaiapikey-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecopilotaoaiapikey- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-copilot-aoai-entra.lock.yml b/.github/workflows/smoke-copilot-aoai-entra.lock.yml index 30789293396..74cc9735b32 100644 --- a/.github/workflows/smoke-copilot-aoai-entra.lock.yml +++ b/.github/workflows/smoke-copilot-aoai-entra.lock.yml @@ -188,24 +188,14 @@ jobs: key: agentic-workflow-usage-smokecopilotaoaientra-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecopilotaoaientra- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-copilot-arm.lock.yml b/.github/workflows/smoke-copilot-arm.lock.yml index e1a7b65bdd9..46696730100 100644 --- a/.github/workflows/smoke-copilot-arm.lock.yml +++ b/.github/workflows/smoke-copilot-arm.lock.yml @@ -189,24 +189,14 @@ jobs: key: agentic-workflow-usage-smokecopilotarm-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecopilotarm- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-copilot-sdk.lock.yml b/.github/workflows/smoke-copilot-sdk.lock.yml index fc6951fa688..f340c058af9 100644 --- a/.github/workflows/smoke-copilot-sdk.lock.yml +++ b/.github/workflows/smoke-copilot-sdk.lock.yml @@ -158,24 +158,14 @@ jobs: key: agentic-workflow-usage-smokecopilotsdk-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecopilotsdk- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-copilot.lock.yml b/.github/workflows/smoke-copilot.lock.yml index cd2deecaea6..b20f9f700c9 100644 --- a/.github/workflows/smoke-copilot.lock.yml +++ b/.github/workflows/smoke-copilot.lock.yml @@ -190,24 +190,14 @@ jobs: key: agentic-workflow-usage-smokecopilot-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecopilot- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-create-cross-repo-pr.lock.yml b/.github/workflows/smoke-create-cross-repo-pr.lock.yml index a2345f8ba9c..161ed352895 100644 --- a/.github/workflows/smoke-create-cross-repo-pr.lock.yml +++ b/.github/workflows/smoke-create-cross-repo-pr.lock.yml @@ -179,24 +179,14 @@ jobs: key: agentic-workflow-usage-smokecreatecrossrepopr-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecreatecrossrepopr- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-crush.lock.yml b/.github/workflows/smoke-crush.lock.yml index c1769bee422..7e13dc59f21 100644 --- a/.github/workflows/smoke-crush.lock.yml +++ b/.github/workflows/smoke-crush.lock.yml @@ -180,24 +180,14 @@ jobs: key: agentic-workflow-usage-smokecrush-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecrush- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-gemini.lock.yml b/.github/workflows/smoke-gemini.lock.yml index 0b4edb5ed15..79a59ca9bdc 100644 --- a/.github/workflows/smoke-gemini.lock.yml +++ b/.github/workflows/smoke-gemini.lock.yml @@ -183,24 +183,14 @@ jobs: key: agentic-workflow-usage-smokegemini-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokegemini- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-multi-pr.lock.yml b/.github/workflows/smoke-multi-pr.lock.yml index b2526073ba5..79887bbf914 100644 --- a/.github/workflows/smoke-multi-pr.lock.yml +++ b/.github/workflows/smoke-multi-pr.lock.yml @@ -180,24 +180,14 @@ jobs: key: agentic-workflow-usage-smokemultipr-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokemultipr- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-opencode.lock.yml b/.github/workflows/smoke-opencode.lock.yml index d284ff22130..ec7ad6fd958 100644 --- a/.github/workflows/smoke-opencode.lock.yml +++ b/.github/workflows/smoke-opencode.lock.yml @@ -181,24 +181,14 @@ jobs: key: agentic-workflow-usage-smokeopencode-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeopencode- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-otel-backends.lock.yml b/.github/workflows/smoke-otel-backends.lock.yml index 375bc34371b..9eff4acd77d 100644 --- a/.github/workflows/smoke-otel-backends.lock.yml +++ b/.github/workflows/smoke-otel-backends.lock.yml @@ -195,24 +195,14 @@ jobs: key: agentic-workflow-usage-smokeotelbackends-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeotelbackends- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-pi.lock.yml b/.github/workflows/smoke-pi.lock.yml index 8fc2262e4e4..8a21a477966 100644 --- a/.github/workflows/smoke-pi.lock.yml +++ b/.github/workflows/smoke-pi.lock.yml @@ -182,24 +182,14 @@ jobs: key: agentic-workflow-usage-smokepi-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokepi- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-project.lock.yml b/.github/workflows/smoke-project.lock.yml index a421fb7f632..77e5ee52417 100644 --- a/.github/workflows/smoke-project.lock.yml +++ b/.github/workflows/smoke-project.lock.yml @@ -183,24 +183,14 @@ jobs: key: agentic-workflow-usage-smokeproject-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeproject- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-service-ports.lock.yml b/.github/workflows/smoke-service-ports.lock.yml index 5e4d601bef5..f4eea4b6195 100644 --- a/.github/workflows/smoke-service-ports.lock.yml +++ b/.github/workflows/smoke-service-ports.lock.yml @@ -172,24 +172,14 @@ jobs: key: agentic-workflow-usage-smokeserviceports-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeserviceports- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-temporary-id.lock.yml b/.github/workflows/smoke-temporary-id.lock.yml index db5d3ccedb2..9869c84e79a 100644 --- a/.github/workflows/smoke-temporary-id.lock.yml +++ b/.github/workflows/smoke-temporary-id.lock.yml @@ -181,24 +181,14 @@ jobs: key: agentic-workflow-usage-smoketemporaryid-${{ github.run_id }} restore-keys: agentic-workflow-usage-smoketemporaryid- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-test-tools.lock.yml b/.github/workflows/smoke-test-tools.lock.yml index 06be5e5588f..a82ec1c7a02 100644 --- a/.github/workflows/smoke-test-tools.lock.yml +++ b/.github/workflows/smoke-test-tools.lock.yml @@ -183,24 +183,14 @@ jobs: key: agentic-workflow-usage-smoketesttools-${{ github.run_id }} restore-keys: agentic-workflow-usage-smoketesttools- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-update-cross-repo-pr.lock.yml b/.github/workflows/smoke-update-cross-repo-pr.lock.yml index 20f69997934..a5e6c67f2a0 100644 --- a/.github/workflows/smoke-update-cross-repo-pr.lock.yml +++ b/.github/workflows/smoke-update-cross-repo-pr.lock.yml @@ -179,24 +179,14 @@ jobs: key: agentic-workflow-usage-smokeupdatecrossrepopr-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeupdatecrossrepopr- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-workflow-call-with-inputs.lock.yml b/.github/workflows/smoke-workflow-call-with-inputs.lock.yml index d0303b97f33..fae8fc84a6a 100644 --- a/.github/workflows/smoke-workflow-call-with-inputs.lock.yml +++ b/.github/workflows/smoke-workflow-call-with-inputs.lock.yml @@ -230,24 +230,14 @@ jobs: key: agentic-workflow-usage-smokeworkflowcallwithinputs-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeworkflowcallwithinputs- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/smoke-workflow-call.lock.yml b/.github/workflows/smoke-workflow-call.lock.yml index bad5d075a0a..aa9f7b0ee04 100644 --- a/.github/workflows/smoke-workflow-call.lock.yml +++ b/.github/workflows/smoke-workflow-call.lock.yml @@ -233,24 +233,14 @@ jobs: key: agentic-workflow-usage-smokeworkflowcall-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokeworkflowcall- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/spec-enforcer.lock.yml b/.github/workflows/spec-enforcer.lock.yml index 8ec530ac766..af09c40b181 100644 --- a/.github/workflows/spec-enforcer.lock.yml +++ b/.github/workflows/spec-enforcer.lock.yml @@ -172,24 +172,14 @@ jobs: key: agentic-workflow-usage-specenforcer-${{ github.run_id }} restore-keys: agentic-workflow-usage-specenforcer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/spec-extractor.lock.yml b/.github/workflows/spec-extractor.lock.yml index 661033beeb9..11bb4317fdf 100644 --- a/.github/workflows/spec-extractor.lock.yml +++ b/.github/workflows/spec-extractor.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-specextractor-${{ github.run_id }} restore-keys: agentic-workflow-usage-specextractor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/spec-librarian.lock.yml b/.github/workflows/spec-librarian.lock.yml index 8ad83f46b47..6845967aa92 100644 --- a/.github/workflows/spec-librarian.lock.yml +++ b/.github/workflows/spec-librarian.lock.yml @@ -176,24 +176,14 @@ jobs: key: agentic-workflow-usage-speclibrarian-${{ github.run_id }} restore-keys: agentic-workflow-usage-speclibrarian- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/stale-pr-cleanup.lock.yml b/.github/workflows/stale-pr-cleanup.lock.yml index b679ec25c16..a53be4bce76 100644 --- a/.github/workflows/stale-pr-cleanup.lock.yml +++ b/.github/workflows/stale-pr-cleanup.lock.yml @@ -163,24 +163,14 @@ jobs: key: agentic-workflow-usage-staleprcleanup-${{ github.run_id }} restore-keys: agentic-workflow-usage-staleprcleanup- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/stale-repo-identifier.lock.yml b/.github/workflows/stale-repo-identifier.lock.yml index 80e089eaa9c..19684219da7 100644 --- a/.github/workflows/stale-repo-identifier.lock.yml +++ b/.github/workflows/stale-repo-identifier.lock.yml @@ -181,24 +181,14 @@ jobs: key: agentic-workflow-usage-stalerepoidentifier-${{ github.run_id }} restore-keys: agentic-workflow-usage-stalerepoidentifier- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/static-analysis-report.lock.yml b/.github/workflows/static-analysis-report.lock.yml index b06f4fb2570..117511b90db 100644 --- a/.github/workflows/static-analysis-report.lock.yml +++ b/.github/workflows/static-analysis-report.lock.yml @@ -170,24 +170,14 @@ jobs: key: agentic-workflow-usage-staticanalysisreport-${{ github.run_id }} restore-keys: agentic-workflow-usage-staticanalysisreport- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/step-name-alignment.lock.yml b/.github/workflows/step-name-alignment.lock.yml index 916db6de74b..55c0ad2e72c 100644 --- a/.github/workflows/step-name-alignment.lock.yml +++ b/.github/workflows/step-name-alignment.lock.yml @@ -165,24 +165,14 @@ jobs: key: agentic-workflow-usage-stepnamealignment-${{ github.run_id }} restore-keys: agentic-workflow-usage-stepnamealignment- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/sub-issue-closer.lock.yml b/.github/workflows/sub-issue-closer.lock.yml index 6960a9bda03..ca6b927172f 100644 --- a/.github/workflows/sub-issue-closer.lock.yml +++ b/.github/workflows/sub-issue-closer.lock.yml @@ -165,24 +165,14 @@ jobs: key: agentic-workflow-usage-subissuecloser-${{ github.run_id }} restore-keys: agentic-workflow-usage-subissuecloser- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/super-linter.lock.yml b/.github/workflows/super-linter.lock.yml index 4c3d41c8cf6..cd64103f664 100644 --- a/.github/workflows/super-linter.lock.yml +++ b/.github/workflows/super-linter.lock.yml @@ -166,24 +166,14 @@ jobs: key: agentic-workflow-usage-superlinter-${{ github.run_id }} restore-keys: agentic-workflow-usage-superlinter- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/technical-doc-writer.lock.yml b/.github/workflows/technical-doc-writer.lock.yml index e3ae1728664..fcf52705501 100644 --- a/.github/workflows/technical-doc-writer.lock.yml +++ b/.github/workflows/technical-doc-writer.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-technicaldocwriter-${{ github.run_id }} restore-keys: agentic-workflow-usage-technicaldocwriter- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/terminal-stylist.lock.yml b/.github/workflows/terminal-stylist.lock.yml index c4e04d4d793..1049800f920 100644 --- a/.github/workflows/terminal-stylist.lock.yml +++ b/.github/workflows/terminal-stylist.lock.yml @@ -171,24 +171,14 @@ jobs: key: agentic-workflow-usage-terminalstylist-${{ github.run_id }} restore-keys: agentic-workflow-usage-terminalstylist- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/test-create-pr-error-handling.lock.yml b/.github/workflows/test-create-pr-error-handling.lock.yml index 80151c977c3..0b88b364c84 100644 --- a/.github/workflows/test-create-pr-error-handling.lock.yml +++ b/.github/workflows/test-create-pr-error-handling.lock.yml @@ -162,24 +162,14 @@ jobs: key: agentic-workflow-usage-testcreateprerrorhandling-${{ github.run_id }} restore-keys: agentic-workflow-usage-testcreateprerrorhandling- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/test-dispatcher.lock.yml b/.github/workflows/test-dispatcher.lock.yml index b697f0d84b9..c69ca3b5367 100644 --- a/.github/workflows/test-dispatcher.lock.yml +++ b/.github/workflows/test-dispatcher.lock.yml @@ -160,24 +160,14 @@ jobs: key: agentic-workflow-usage-testdispatcher-${{ github.run_id }} restore-keys: agentic-workflow-usage-testdispatcher- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/test-project-url-default.lock.yml b/.github/workflows/test-project-url-default.lock.yml index 0976d56b461..7124295363f 100644 --- a/.github/workflows/test-project-url-default.lock.yml +++ b/.github/workflows/test-project-url-default.lock.yml @@ -161,24 +161,14 @@ jobs: key: agentic-workflow-usage-testprojecturldefault-${{ github.run_id }} restore-keys: agentic-workflow-usage-testprojecturldefault- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/test-quality-sentinel.lock.yml b/.github/workflows/test-quality-sentinel.lock.yml index 4c684073b31..1ee591e7ceb 100644 --- a/.github/workflows/test-quality-sentinel.lock.yml +++ b/.github/workflows/test-quality-sentinel.lock.yml @@ -176,24 +176,14 @@ jobs: key: agentic-workflow-usage-testqualitysentinel-${{ github.run_id }} restore-keys: agentic-workflow-usage-testqualitysentinel- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/test-workflow.lock.yml b/.github/workflows/test-workflow.lock.yml index 446f60fcf22..34760680df6 100644 --- a/.github/workflows/test-workflow.lock.yml +++ b/.github/workflows/test-workflow.lock.yml @@ -163,24 +163,14 @@ jobs: key: agentic-workflow-usage-testworkflow-${{ github.run_id }} restore-keys: agentic-workflow-usage-testworkflow- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/tidy.lock.yml b/.github/workflows/tidy.lock.yml index 6f7489910cd..77c6091d45b 100644 --- a/.github/workflows/tidy.lock.yml +++ b/.github/workflows/tidy.lock.yml @@ -186,24 +186,14 @@ jobs: key: agentic-workflow-usage-tidy-${{ github.run_id }} restore-keys: agentic-workflow-usage-tidy- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/typist.lock.yml b/.github/workflows/typist.lock.yml index 77948a9aeff..b0b96dcc9cf 100644 --- a/.github/workflows/typist.lock.yml +++ b/.github/workflows/typist.lock.yml @@ -173,24 +173,14 @@ jobs: key: agentic-workflow-usage-typist-${{ github.run_id }} restore-keys: agentic-workflow-usage-typist- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/ubuntu-image-analyzer.lock.yml b/.github/workflows/ubuntu-image-analyzer.lock.yml index dfbb00476c5..88dae273dbd 100644 --- a/.github/workflows/ubuntu-image-analyzer.lock.yml +++ b/.github/workflows/ubuntu-image-analyzer.lock.yml @@ -174,24 +174,14 @@ jobs: key: agentic-workflow-usage-ubuntuimageanalyzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-ubuntuimageanalyzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/uk-ai-operational-resilience.lock.yml b/.github/workflows/uk-ai-operational-resilience.lock.yml index 7b3e7d99cc8..1ac624c66d8 100644 --- a/.github/workflows/uk-ai-operational-resilience.lock.yml +++ b/.github/workflows/uk-ai-operational-resilience.lock.yml @@ -176,24 +176,14 @@ jobs: key: agentic-workflow-usage-ukaioperationalresilience-${{ github.run_id }} restore-keys: agentic-workflow-usage-ukaioperationalresilience- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/unbloat-docs.lock.yml b/.github/workflows/unbloat-docs.lock.yml index 2ac190b72af..1e5c98ab82b 100644 --- a/.github/workflows/unbloat-docs.lock.yml +++ b/.github/workflows/unbloat-docs.lock.yml @@ -180,24 +180,14 @@ jobs: key: agentic-workflow-usage-unbloatdocs-${{ github.run_id }} restore-keys: agentic-workflow-usage-unbloatdocs- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/update-astro.lock.yml b/.github/workflows/update-astro.lock.yml index ea9e42139ac..ba187284250 100644 --- a/.github/workflows/update-astro.lock.yml +++ b/.github/workflows/update-astro.lock.yml @@ -172,24 +172,14 @@ jobs: key: agentic-workflow-usage-updateastro-${{ github.run_id }} restore-keys: agentic-workflow-usage-updateastro- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/video-analyzer.lock.yml b/.github/workflows/video-analyzer.lock.yml index d62d8410607..656298289f2 100644 --- a/.github/workflows/video-analyzer.lock.yml +++ b/.github/workflows/video-analyzer.lock.yml @@ -166,24 +166,14 @@ jobs: key: agentic-workflow-usage-videoanalyzer-${{ github.run_id }} restore-keys: agentic-workflow-usage-videoanalyzer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/visual-regression-checker.lock.yml b/.github/workflows/visual-regression-checker.lock.yml index e216db9a60e..c155c4cb97e 100644 --- a/.github/workflows/visual-regression-checker.lock.yml +++ b/.github/workflows/visual-regression-checker.lock.yml @@ -174,24 +174,14 @@ jobs: key: agentic-workflow-usage-visualregressionchecker-${{ github.run_id }} restore-keys: agentic-workflow-usage-visualregressionchecker- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/weekly-blog-post-writer.lock.yml b/.github/workflows/weekly-blog-post-writer.lock.yml index 646d4e9525a..1f82a06d1b8 100644 --- a/.github/workflows/weekly-blog-post-writer.lock.yml +++ b/.github/workflows/weekly-blog-post-writer.lock.yml @@ -171,24 +171,14 @@ jobs: key: agentic-workflow-usage-weeklyblogpostwriter-${{ github.run_id }} restore-keys: agentic-workflow-usage-weeklyblogpostwriter- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/weekly-editors-health-check.lock.yml b/.github/workflows/weekly-editors-health-check.lock.yml index bd6de4d5f2d..7e055165238 100644 --- a/.github/workflows/weekly-editors-health-check.lock.yml +++ b/.github/workflows/weekly-editors-health-check.lock.yml @@ -165,24 +165,14 @@ jobs: key: agentic-workflow-usage-weeklyeditorshealthcheck-${{ github.run_id }} restore-keys: agentic-workflow-usage-weeklyeditorshealthcheck- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/weekly-issue-summary.lock.yml b/.github/workflows/weekly-issue-summary.lock.yml index 8cfb48efed8..20e539bc1ce 100644 --- a/.github/workflows/weekly-issue-summary.lock.yml +++ b/.github/workflows/weekly-issue-summary.lock.yml @@ -171,24 +171,14 @@ jobs: key: agentic-workflow-usage-weeklyissuesummary-${{ github.run_id }} restore-keys: agentic-workflow-usage-weeklyissuesummary- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/weekly-safe-outputs-spec-review.lock.yml b/.github/workflows/weekly-safe-outputs-spec-review.lock.yml index baa55c236a9..dc44998fd02 100644 --- a/.github/workflows/weekly-safe-outputs-spec-review.lock.yml +++ b/.github/workflows/weekly-safe-outputs-spec-review.lock.yml @@ -166,24 +166,14 @@ jobs: key: agentic-workflow-usage-weeklysafeoutputsspecreview-${{ github.run_id }} restore-keys: agentic-workflow-usage-weeklysafeoutputsspecreview- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/workflow-generator.lock.yml b/.github/workflows/workflow-generator.lock.yml index c88e01fdff1..5d22d43c6d5 100644 --- a/.github/workflows/workflow-generator.lock.yml +++ b/.github/workflows/workflow-generator.lock.yml @@ -169,24 +169,14 @@ jobs: key: agentic-workflow-usage-workflowgenerator-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflowgenerator- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/workflow-health-manager.lock.yml b/.github/workflows/workflow-health-manager.lock.yml index ea9fba7d82f..4d059ca31b0 100644 --- a/.github/workflows/workflow-health-manager.lock.yml +++ b/.github/workflows/workflow-health-manager.lock.yml @@ -166,24 +166,14 @@ jobs: key: agentic-workflow-usage-workflowhealthmanager-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflowhealthmanager- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/workflow-normalizer.lock.yml b/.github/workflows/workflow-normalizer.lock.yml index 0268e8bfcf6..c464b0fc432 100644 --- a/.github/workflows/workflow-normalizer.lock.yml +++ b/.github/workflows/workflow-normalizer.lock.yml @@ -168,24 +168,14 @@ jobs: key: agentic-workflow-usage-workflownormalizer-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflownormalizer- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/workflow-skill-extractor.lock.yml b/.github/workflows/workflow-skill-extractor.lock.yml index aaaa43be7a7..8fed599a22e 100644 --- a/.github/workflows/workflow-skill-extractor.lock.yml +++ b/.github/workflows/workflow-skill-extractor.lock.yml @@ -165,24 +165,14 @@ jobs: key: agentic-workflow-usage-workflowskillextractor-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflowskillextractor- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/actions/setup/js/restore_aic_usage_cache_fallback.cjs b/actions/setup/js/restore_aic_usage_cache_fallback.cjs index 4b241e06fd1..f0724cca9f3 100644 --- a/actions/setup/js/restore_aic_usage_cache_fallback.cjs +++ b/actions/setup/js/restore_aic_usage_cache_fallback.cjs @@ -76,16 +76,27 @@ function logFallback(message, details) { * recent runs and writes it to {@link CACHE_FILE_PATH}. * * @param {string} [cacheFilePath] Override for the target cache file path (used in tests). - * @param {{ createArtifactClient?: () => import("./artifact_client.cjs").DefaultArtifactClient }} [options] - * Optional overrides for testing (e.g. inject a mock artifact client factory). + * @param {{ createArtifactClient?: () => import("./artifact_client.cjs").DefaultArtifactClient, cacheHit?: string, cacheMatchedKey?: string }} [options] + * Optional overrides for testing (e.g. inject a mock artifact client factory, override env var values). * @returns {Promise} */ async function mainWithPaths(cacheFilePath, options = {}) { const cachePath = cacheFilePath || CACHE_FILE_PATH; const createArtifactClient = options.createArtifactClient || (() => new DefaultArtifactClient()); - // If the file already exists (e.g., restored via actions/cache restore-keys prefix - // match or a prior step), skip the artifact-based fallback entirely. + // Detect true cache miss using the restore outputs forwarded via env vars. + // A true miss is when cache-hit is absent/empty (step was skipped or errored), or + // when cache-hit is "false" and no restore-key match was found (cache-matched-key is empty). + // A restore-key match (cache-hit "false" but cache-matched-key present) counts as a hit. + const cacheHit = "cacheHit" in options ? options.cacheHit : process.env.GH_AW_RESTORE_DAILY_AIC_CACHE_HIT || ""; + const cacheMatchedKey = "cacheMatchedKey" in options ? options.cacheMatchedKey : process.env.GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY || ""; + const isCacheMiss = !cacheHit || (cacheHit === "false" && !cacheMatchedKey); + if (!isCacheMiss) { + logFallback("Cache was restored; skipping artifact fallback", { cacheHit, cacheMatchedKey }); + return; + } + + // If the file already exists (e.g., restored by a prior step), skip the artifact fallback. if (fs.existsSync(cachePath)) { logFallback("Cache file already exists; skipping artifact fallback", { path: cachePath }); return; diff --git a/actions/setup/js/restore_aic_usage_cache_fallback.test.cjs b/actions/setup/js/restore_aic_usage_cache_fallback.test.cjs index 0f64ccd2e77..4145586bdb8 100644 --- a/actions/setup/js/restore_aic_usage_cache_fallback.test.cjs +++ b/actions/setup/js/restore_aic_usage_cache_fallback.test.cjs @@ -37,19 +37,64 @@ describe("restore_aic_usage_cache_fallback", () => { delete global.github; }); - it("is a no-op when cache file already exists", async () => { + it("is a no-op when cache file already exists (no env vars set)", async () => { const content = JSON.stringify({ run_id: 1, aic: 5.0, timestamp: new Date().toISOString() }) + "\n"; fs.writeFileSync(cacheFile, content, "utf8"); global.github = { rest: { actions: { getWorkflowRun: vi.fn() } } }; - await exports.mainWithPaths(cacheFile); + // No cacheHit/cacheMatchedKey → isCacheMiss=true, falls through to file-existence check + await exports.mainWithPaths(cacheFile, { cacheHit: "", cacheMatchedKey: "" }); expect(global.github.rest.actions.getWorkflowRun).not.toHaveBeenCalled(); // File should be unchanged expect(fs.readFileSync(cacheFile, "utf8")).toBe(content); }); + it("skips artifact fallback when cache was an exact hit", async () => { + global.github = { rest: { actions: { getWorkflowRun: vi.fn() } } }; + + await exports.mainWithPaths(cacheFile, { cacheHit: "true", cacheMatchedKey: "agentic-workflow-usage-abc-123" }); + + expect(global.github.rest.actions.getWorkflowRun).not.toHaveBeenCalled(); + }); + + it("skips artifact fallback when cache was a restore-key hit", async () => { + global.github = { rest: { actions: { getWorkflowRun: vi.fn() } } }; + + // cache-hit=false but cache-matched-key is present → restore-key match, treat as hit + await exports.mainWithPaths(cacheFile, { cacheHit: "false", cacheMatchedKey: "agentic-workflow-usage-abc-" }); + + expect(global.github.rest.actions.getWorkflowRun).not.toHaveBeenCalled(); + }); + + it("proceeds with artifact fallback on true cache miss", async () => { + // cache-hit=false, cache-matched-key empty → true miss → should attempt download + global.github = { + rest: { + actions: { + getWorkflowRun: vi.fn().mockRejectedValue(new Error("API error")), + }, + }, + }; + + // Should resolve without throwing even when GitHub API fails + await expect(exports.mainWithPaths(cacheFile, { cacheHit: "false", cacheMatchedKey: "" })).resolves.toBeUndefined(); + }); + + it("proceeds with artifact fallback when cache restore step was skipped (empty outputs)", async () => { + // cache-hit="" (step skipped / runner error) → treat as miss → should attempt download + global.github = { + rest: { + actions: { + getWorkflowRun: vi.fn().mockRejectedValue(new Error("API error")), + }, + }, + }; + + await expect(exports.mainWithPaths(cacheFile, { cacheHit: "", cacheMatchedKey: "" })).resolves.toBeUndefined(); + }); + it("skips gracefully when getWorkflowRun fails", async () => { global.github = { rest: { diff --git a/pkg/workflow/compiler_activation_job_builder.go b/pkg/workflow/compiler_activation_job_builder.go index c9f7da97a21..51b38178b79 100644 --- a/pkg/workflow/compiler_activation_job_builder.go +++ b/pkg/workflow/compiler_activation_job_builder.go @@ -345,34 +345,21 @@ func (c *Compiler) buildActivationDailyAICGuardrailStep(data *WorkflowData) []st steps = append(steps, fmt.Sprintf(" key: %s${{ github.run_id }}\n", cacheKeyPrefix)) steps = append(steps, fmt.Sprintf(" restore-keys: %s\n", cacheKeyPrefix)) steps = append(steps, " path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl\n") - // Detect true cache misses while accounting for branch-scoped action caches. - // The primary key includes run_id, so exact hits are not expected across runs. - // We treat a restore as a hit when cache-matched-key is present, and as a miss - // when no matched key is available. - steps = append(steps, " - name: Detect daily AIC usage cache miss\n") - steps = append(steps, " id: detect-daily-aic-cache-miss\n") - steps = append(steps, fmt.Sprintf(" if: %s\n", maxDailyAICreditsConfiguredIfExpr)) - steps = append(steps, " continue-on-error: true\n") - steps = append(steps, " env:\n") - steps = append(steps, " GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }}\n") - steps = append(steps, " GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }}\n") - steps = append(steps, " run: |\n") - steps = append(steps, " if [ -z \"$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT\" ] || { [ \"$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT\" = \"false\" ] && [ -z \"$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY\" ]; }; then\n") - steps = append(steps, " echo \"cache_miss=true\" >> \"$GITHUB_OUTPUT\"\n") - steps = append(steps, " else\n") - steps = append(steps, " echo \"cache_miss=false\" >> \"$GITHUB_OUTPUT\"\n") - steps = append(steps, " fi\n") // Artifact-based fallback for cross-branch cache misses. // GitHub Actions actions/cache is branch-scoped: caches written by the conclusion job // on one PR branch are invisible to the activation job running on a different PR branch. // This step downloads the most recent aic-usage-cache artifact uploaded by a prior // conclusion job so that the guardrail script can skip per-run artifact downloads. - // The fallback script is a no-op when the cache file already exists. + // Cache-miss detection is performed inside restore_aic_usage_cache_fallback.cjs using + // the cache restore outputs forwarded via env vars. steps = append(steps, " - name: Restore daily AIC usage cache (artifact fallback)\n") steps = append(steps, " id: restore-daily-aic-cache-fallback\n") - steps = append(steps, fmt.Sprintf(" if: ${{ %s && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }}\n", stripExpressionWrapper(maxDailyAICreditsConfiguredIfExpr))) + steps = append(steps, fmt.Sprintf(" if: %s\n", maxDailyAICreditsConfiguredIfExpr)) steps = append(steps, " continue-on-error: true\n") steps = append(steps, fmt.Sprintf(" uses: %s\n", getCachedActionPin("actions/github-script", data))) + steps = append(steps, " env:\n") + steps = append(steps, " GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }}\n") + steps = append(steps, " GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }}\n") steps = append(steps, " with:\n") steps = append(steps, fmt.Sprintf(" github-token: %s\n", c.resolveActivationToken(data))) steps = append(steps, " script: |\n") diff --git a/pkg/workflow/daily_aic_workflow_guardrail_test.go b/pkg/workflow/daily_aic_workflow_guardrail_test.go index d3163cb006d..f40e49b9c3e 100644 --- a/pkg/workflow/daily_aic_workflow_guardrail_test.go +++ b/pkg/workflow/daily_aic_workflow_guardrail_test.go @@ -4,7 +4,6 @@ package workflow import ( "os" - "os/exec" "path/filepath" "strings" "testing" @@ -167,26 +166,18 @@ Guardrail test workflow` if !strings.Contains(activationSection, "id: restore-daily-aic-cache-fallback") { t.Fatal("expected activation job to include the artifact-based AIC cache fallback step") } - if !strings.Contains(activationSection, "id: detect-daily-aic-cache-miss") { - t.Fatal("expected activation job to include a cache-miss detection step before fallback") + if strings.Contains(activationSection, "id: detect-daily-aic-cache-miss") { + t.Fatal("expected activation job to not include a separate bash cache-miss detection step (check is now in JS)") } - detectIdx := strings.Index(activationSection, "id: detect-daily-aic-cache-miss") - fallbackIdx := strings.Index(activationSection, "id: restore-daily-aic-cache-fallback") - if detectIdx == -1 || fallbackIdx == -1 || detectIdx >= fallbackIdx { - t.Fatal("expected detect-daily-aic-cache-miss to appear before restore-daily-aic-cache-fallback") + wantFallbackIf := "if: " + maxDailyAICreditsConfiguredIfExpr + if !strings.Contains(activationSection, wantFallbackIf) { + t.Fatalf("expected artifact fallback step to use the standard AIC guard if: condition, want %q", wantFallbackIf) } if !strings.Contains(activationSection, "GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }}") { - t.Fatal("expected cache-miss detection to pass cache-hit output via env for template-injection safety") + t.Fatal("expected fallback step to forward cache-hit output via env for template-injection safety") } if !strings.Contains(activationSection, "GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }}") { - t.Fatal("expected cache-miss detection to pass cache-matched-key output via env") - } - if !strings.Contains(activationSection, `if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then`) { - t.Fatal("expected cache-miss detection to treat missing matched key as a true miss") - } - wantFallbackIf := "if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }}" - if !strings.Contains(activationSection, wantFallbackIf) { - t.Fatalf("expected artifact fallback step if: to use a single ${{}} expression wrapping both conditions, want %q", wantFallbackIf) + t.Fatal("expected fallback step to forward cache-matched-key output via env") } if !strings.Contains(lockStr, "id: upload-daily-aic-cache") { t.Fatal("expected conclusion job to include the AIC usage cache artifact upload step") @@ -317,55 +308,3 @@ Invalid negative daily guardrail value` t.Fatalf("expected validation error rejecting -2, got: %v", err) } } - -// TestCacheMissDetectionLogic exercises the four branch cases of the -// detect-daily-aic-cache-miss shell predicate. -// -// cache-hit cache-matched-key expected cache_miss -// "" "" true (step skipped / runner error) -// "false" "" true (true miss) -// "false" "some-key" false (restore-key hit — original bug) -// "true" "some-key" false (exact hit) -func TestCacheMissDetectionLogic(t *testing.T) { - if _, err := exec.LookPath("bash"); err != nil { - t.Skip("bash not available") - } - - script := ` - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" - else - echo "cache_miss=false" - fi - ` - - cases := []struct { - name string - cacheHit string - matchedKey string - wantMiss string - }{ - {"step skipped / no outputs", "", "", "cache_miss=true"}, - {"true miss", "false", "", "cache_miss=true"}, - {"restore-key hit (original bug)", "false", "agentic-workflow-usage-cache-123", "cache_miss=false"}, - {"exact hit", "true", "agentic-workflow-usage-cache-123", "cache_miss=false"}, - } - - for _, tc := range cases { - t.Run(tc.name, func(t *testing.T) { - cmd := exec.Command("bash", "-c", script) - cmd.Env = append(os.Environ(), - "GH_AW_RESTORE_DAILY_AIC_CACHE_HIT="+tc.cacheHit, - "GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY="+tc.matchedKey, - ) - out, err := cmd.Output() - if err != nil { - t.Fatalf("script failed: %v", err) - } - got := strings.TrimSpace(string(out)) - if got != tc.wantMiss { - t.Errorf("cache_miss: got %q, want %q", got, tc.wantMiss) - } - }) - } -} diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden index 177450840fa..83554cd7f3a 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden @@ -96,24 +96,14 @@ jobs: key: agentic-workflow-usage-workflow-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflow- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden index c5c79f4b478..6072014cb77 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden @@ -96,24 +96,14 @@ jobs: key: agentic-workflow-usage-workflow-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflow- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden index 2fe9eef7c3a..c14df38e58c 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden @@ -96,24 +96,14 @@ jobs: key: agentic-workflow-usage-workflow-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflow- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden index 320618f1eb3..1bbe8400dd0 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden @@ -94,24 +94,14 @@ jobs: key: agentic-workflow-usage-workflow-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflow- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden b/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden index 767bea3570d..640f8e82bab 100644 --- a/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden +++ b/pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden @@ -95,24 +95,14 @@ jobs: key: agentic-workflow-usage-workflow-${{ github.run_id }} restore-keys: agentic-workflow-usage-workflow- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden index 4a29249f95b..9fb49cf43b6 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden @@ -96,24 +96,14 @@ jobs: key: agentic-workflow-usage-basiccopilot-${{ github.run_id }} restore-keys: agentic-workflow-usage-basiccopilot- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden index a7270715b71..ef3c886d3be 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden @@ -96,24 +96,14 @@ jobs: key: agentic-workflow-usage-playwrightclimode-${{ github.run_id }} restore-keys: agentic-workflow-usage-playwrightclimode- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden index 510c911d42e..87a71d0c312 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden @@ -111,24 +111,14 @@ jobs: key: agentic-workflow-usage-smokecopilot-${{ github.run_id }} restore-keys: agentic-workflow-usage-smokecopilot- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden index 0785c4a2a01..6bd584c89bf 100644 --- a/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden +++ b/pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden @@ -96,24 +96,14 @@ jobs: key: agentic-workflow-usage-withimports-${{ github.run_id }} restore-keys: agentic-workflow-usage-withimports- path: /tmp/gh-aw/agentic-workflow-usage-cache.jsonl - - name: Detect daily AIC usage cache miss - id: detect-daily-aic-cache-miss + - name: Restore daily AIC usage cache (artifact fallback) + id: restore-daily-aic-cache-fallback if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }} continue-on-error: true + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_RESTORE_DAILY_AIC_CACHE_HIT: ${{ steps.restore-daily-aic-cache.outputs.cache-hit }} GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY: ${{ steps.restore-daily-aic-cache.outputs.cache-matched-key }} - run: | - if [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" ] || { [ "$GH_AW_RESTORE_DAILY_AIC_CACHE_HIT" = "false" ] && [ -z "$GH_AW_RESTORE_DAILY_AIC_CACHE_MATCHED_KEY" ]; }; then - echo "cache_miss=true" >> "$GITHUB_OUTPUT" - else - echo "cache_miss=false" >> "$GITHUB_OUTPUT" - fi - - name: Restore daily AIC usage cache (artifact fallback) - id: restore-daily-aic-cache-fallback - if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' && steps.detect-daily-aic-cache-miss.outputs.cache_miss == 'true' }} - continue-on-error: true - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: |