rename daily_effective_workflow_* → daily_ai_credits_*#38611
Conversation
…er, actions, and golden fixtures Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Renames the “daily effective workflow” guardrail output/env/context keys to the “daily AI credits” terminology across the workflow compiler (Go), runtime scripts (JS), templates (MD), tests, golden fixtures, and regenerated compiled .lock.yml workflows.
Changes:
- Updated compiler wiring to emit/read
daily_ai_credits_*activation outputs and guard conditions instead ofdaily_effective_workflow_*. - Updated setup/runtime scripts and failure templates to use the new env/context key names.
- Regenerated golden fixtures and compiled workflow lockfiles to reflect the renamed keys.
Show a summary per file
| File | Description |
|---|---|
| pkg/workflow/compiler_activation_job_builder.go | Renames activation job output keys to daily_ai_credits_*. |
| pkg/workflow/compiler_main_job.go | Updates main job guard condition to check daily_ai_credits_exceeded. |
| pkg/workflow/notify_comment.go | Renames env vars passed into failure handling and updates activation-guard failure condition wiring. |
| pkg/workflow/daily_aic_workflow.go | Updates logger tag to workflow:daily_ai_credits. |
| pkg/workflow/daily_aic_workflow_guardrail_test.go | Updates assertions to match new daily_ai_credits_* output/env names. |
| actions/setup/js/handle_agent_failure.cjs | Renames daily-guardrail failure category and env/context keys to daily_ai_credits_*. |
| actions/setup/js/check_daily_aic_workflow_guardrail.test.cjs | Updates tests to assert daily_ai_credits_exceeded output. |
| actions/setup/md/daily_workflow_aic_exceeded.md | Updates documentation to reference daily_ai_credits_exceeded output. |
| actions/setup/md/agent_failure_issue.md | Renames template placeholder to {daily_ai_credits_exceeded_context}. |
| actions/setup/md/agent_failure_comment.md | Renames template placeholder to {daily_ai_credits_exceeded_context}. |
| actions/setup/js/check_daily_aic_workflow_guardrail.cjs | Renames core.setOutput(...) keys to daily_ai_credits_* (note: also emits an extra unwired output key; see comments). |
| pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden | Updates expected compiled outputs/conditions to daily_ai_credits_*. |
| pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden | Updates expected compiled outputs/conditions to daily_ai_credits_*. |
| pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden | Updates expected compiled outputs/conditions to daily_ai_credits_*. |
| pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden | Updates expected compiled outputs/conditions to daily_ai_credits_*. |
| pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden | Updates expected compiled outputs/conditions to daily_ai_credits_*. |
| pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden | Updates expected compiled outputs/conditions to daily_ai_credits_*. |
| pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden | Updates expected compiled outputs/conditions to daily_ai_credits_*. |
| pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden | Updates expected compiled outputs/conditions to daily_ai_credits_*. |
| pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden | Updates expected compiled outputs/conditions to daily_ai_credits_*. |
| .github/workflows/workflow-skill-extractor.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/workflow-generator.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/weekly-safe-outputs-spec-review.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/weekly-issue-summary.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/weekly-editors-health-check.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/video-analyzer.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/uk-ai-operational-resilience.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/ubuntu-image-analyzer.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/typist.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/tidy.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/test-workflow.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/test-dispatcher.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/test-create-pr-error-handling.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/terminal-stylist.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/step-name-alignment.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/static-analysis-report.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/spec-extractor.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/spec-enforcer.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/semantic-function-refactor.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/schema-feature-coverage.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/schema-consistency-checker.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/safe-output-health.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/research.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/repository-quality-improver.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/repo-tree-map.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/repo-audit-analyzer.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/release.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/python-data-charts.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/prompt-clustering-analysis.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/org-health-report.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/objective-impact-report.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/mcp-inspector.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/lockfile-stats.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/linter-miner.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/lint-monster.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/layout-spec-maintainer.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/jsweep.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/issue-arborist.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/instructions-janitor.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/gpclean.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/go-logger.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/go-fan.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/github-remote-mcp-auth-test.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/github-mcp-tools-report.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/github-mcp-structural-analysis.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/functional-pragmatist.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/firewall.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/example-workflow-analyzer.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/example-permissions-warning.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/duplicate-code-detector.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/docs-noob-tester.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/dictation-prompt.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/dev.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/dependabot-worker.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/dependabot-repair.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/dead-code-remover.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-workflow-updater.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-token-consumption-report.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-team-status.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-security-red-team.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-security-observability.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-secrets-analysis.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-safe-output-optimizer.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-safe-output-integrator.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-reliability-review.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-regulatory.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-performance-summary.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-observability-report.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-issues-report.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-function-namer.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-experiment-report.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-doc-updater.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-doc-healer.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-compiler-quality.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-cli-tools-tester.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-choice-test.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/daily-architecture-diagram.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/copilot-pr-merged-report.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/copilot-opt.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/contribution-check.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/constraint-solving-potd.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/commit-changes-analyzer.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/code-simplifier.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/cli-version-checker.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/ci-coach.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/changeset.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/blog-auditor.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/aw-failure-investigator.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/artifacts-summary.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/api-consumption-report.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
| .github/workflows/ai-moderator.lock.yml | Regenerated lockfile to use daily_ai_credits_* outputs/envs and guard conditions. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 264/264 changed files
- Comments generated: 3
| if !strings.Contains(lockStr, "if: needs.activation.outputs.daily_ai_credits_exceeded != 'true'") { | ||
| t.Fatal("expected the agent job to be skipped when the daily workflow ET guardrail is exceeded") | ||
| } |
|
✅ PR Code Quality Reviewer completed the code quality review. |
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. No ADR enforcement needed: PR #38611 does not have the "implementation" label and has 52 new lines of code in business logic directories, which is at or below the 100-line threshold (requires_adr_by_default_volume=false). |
|
🧪 Test Quality Sentinel completed test quality analysis. |
|
🧠 Matt Pocock Skills Reviewer was skipped during the skills-based review. |
There was a problem hiding this comment.
COMMENT — rename is mechanically correct end-to-end; two non-blocking test-quality findings.
Review summary
What was verified
- All 264 lock files, Go compiler source (
compiler_activation_job_builder.go,compiler_main_job.go,notify_comment.go,daily_aic_workflow.go), JS guardrail + failure handler, golden test fixtures, and template markdown are consistently renamed fromdaily_effective_workflow_*/GH_AW_DAILY_EFFECTIVE_WORKFLOW_*todaily_ai_credits_*/GH_AW_DAILY_AI_CREDITS_*. avenger.lock.ymlcollapses a multilineif: >to a single line — semantically equivalent, no functional change.- Compiler outputs, activation job conditions, conclusion job env wiring, and failure-match category strings are all updated consistently.
- No instances of the old names remain in source files.
Non-blocking findings (inline comments)
daily_aic_workflow_guardrail_test.golines 142–149: Two issues flagged inline — a vacuous negative assertion (line 142) and 10+ stale "ET" / "daily workflow ET" error messages (line 149 and throughout the file).
Pre-existing notes (not re-raised)
Inline comments from prior review at lines 297 and 454 of check_daily_aic_workflow_guardrail.cjs regarding the unwired daily_ai_credits_total_ai_credits output remain open and are not duplicated here.
🔎 Code quality review by PR Code Quality Reviewer · ⌖ 13.3 AIC
| } | ||
| if !strings.Contains(lockStr, "GH_AW_DAILY_EFFECTIVE_WORKFLOW_EXCEEDED: ${{ needs.activation.outputs.daily_effective_workflow_exceeded }}") { | ||
| if !strings.Contains(lockStr, "GH_AW_DAILY_AI_CREDITS_EXCEEDED: ${{ needs.activation.outputs.daily_ai_credits_exceeded }}") { | ||
| t.Fatal("expected the conclusion job to receive the daily workflow ET guardrail output") |
There was a problem hiding this comment.
Stale "ET" terminology in test assertion messages: this t.Fatal and at least 9 others in the file still say "daily workflow ET" / "daily ET" instead of "AI Credits", making test failures confusing to diagnose.
💡 All stale messages (beyond the one already flagged at line 147)
Every t.Fatal below will print old "effective tokens" / "ET" language when it fires, even though the wired outputs now use daily_ai_credits_* terminology. This will cause engineers to waste time chasing a renamed concept on a red test.
| Line | Current stale message | Suggested replacement |
|---|---|---|
| 125 | "expected activation job to include the daily workflow ET guardrail step" |
"...daily AI Credits guardrail step" |
| 140 | "expected activation job to expose the aggregated ET total output" |
"...aggregated AI Credits total output" |
| 143 | "expected activation job to avoid surfacing a separate daily workflow ET issue URL" |
"...daily AI Credits issue URL" |
| 149 | "expected the conclusion job to receive the daily workflow ET guardrail output" |
"...daily AI Credits guardrail output" |
| 158 | "expected activation permissions to avoid issues: write for the daily ET guardrail" |
"...daily AI Credits guardrail" |
| 197 | "expected activation job to emit the daily ET guardrail step even when threshold is unset" |
"...daily AI Credits guardrail step..." |
| 200 | "expected emitted daily ET guardrail step to be dynamically skipped when threshold is unset" |
"...daily AI Credits guardrail step..." |
| 203 | "expected workflows to continue wiring daily ET outputs when guardrail step is emitted" |
"...daily AI Credits outputs..." |
| 244 | "expected activation job to include the daily ET guardrail step when env var is configured" |
"...daily AI Credits guardrail step..." |
| 247 | "expected daily ET guardrail step to gate execution on GH_AW_MAX_DAILY_AI_CREDITS" |
"...daily AI Credits guardrail step..." |
| 250 | "expected setup step to conditionally install artifact client when daily ET guardrail is env-configured" |
"...daily AI Credits guardrail..." |
A single sed -i pass replacing daily (workflow )?ET guardrail → daily AI Credits guardrail and aggregated ET total → aggregated AI Credits total in this file would fix all of them.
| if !strings.Contains(lockStr, "daily_ai_credits_total_effective_tokens: ${{ steps.daily-effective-workflow-guardrail.outputs.daily_ai_credits_total_effective_tokens || '' }}") { | ||
| t.Fatal("expected activation job to expose the aggregated ET total output") | ||
| } | ||
| if strings.Contains(lockStr, "daily_effective_workflow_issue_url") { |
There was a problem hiding this comment.
Negative assertion is now vacuous: after the rename, daily_effective_workflow_issue_url no longer exists anywhere in the codebase, so this guard can never trip — the design invariant it was meant to enforce is silently unenforced.
💡 Why this matters and what to fix
The original intent was: "make sure the compiler does not emit a separate issue-URL output for the daily guardrail". After the rename, the old string daily_effective_workflow_issue_url is permanently gone, so the strings.Contains check always returns false and t.Fatal never fires — regardless of what the compiler actually emits.
If a future change accidentally introduces daily_ai_credits_issue_url as a compiler output, this test will not catch it.
Fix: update the search string to match the new naming:
// was: "daily_effective_workflow_issue_url"
if strings.Contains(lockStr, "daily_ai_credits_issue_url") {
t.Fatal("expected activation job to avoid surfacing a separate daily AI Credits issue URL")
}
🧪 Test Quality Sentinel Report✅ Test Quality Score: 90/100 — Excellent
📊 Metrics & Test Classification (3 tests analyzed)
Test Classification Details
Language SupportTests analyzed:
Verdict
📖 Understanding Test ClassificationsDesign Tests (High Value) verify what the system does:
Implementation Tests (Low Value) verify how the system does it:
Goal: Shift toward tests that describe the system's behavioral contract — the promises it makes to its users and collaborators. References: §27348883517
|
|
@copilot run pr-finisher skill |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done. I ran the PR-finisher pass and pushed follow-up fixes in |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot review issue title and reprhase "effective workflow" to AI Credits terminology. |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Updated in |
|
📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing... |
|
🚀 Smoke Pi MISSION COMPLETE! Pi delivered. 🥧 |
|
|
|
🚀 Smoke Antigravity MISSION COMPLETE! Antigravity has spoken. ✨ |
|
📰 BREAKING: Smoke Copilot - AOAI (apikey) is now investigating this pull request. Sources say the story is developing... |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
|
✅ All tools validated successfully! Agent Container Smoke Test confirms agent container is ready. |
Agent Container Tool Check
Result: 12/12 tools available ✅ Overall Status: PASS
|
🤖 Smoke Test: Claude — Run 27355692552Core #1-12: ✅ all passed Overall: PARTIAL (16 & 19 skipped) Warning Firewall blocked 6 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "accounts.google.com"
- "android.clients.google.com"
- "clients2.google.com"
- "contentautofill.googleapis.com"
- "safebrowsingohttpgateway.googleapis.com"
- "www.google.com"See Network Configuration for more information.
|
There was a problem hiding this comment.
💥 Automated smoke test review - all systems nominal!
Warning
Firewall blocked 6 domains
The following domains were blocked by the firewall during workflow execution:
accounts.google.comandroid.clients.google.comclients2.google.comcontentautofill.googleapis.comsafebrowsingohttpgateway.googleapis.comwww.google.com
To allow these domains, add them to the
network.allowedlist in your workflow frontmatter:
network:
allowed:
- defaults
- "accounts.google.com"
- "android.clients.google.com"
- "clients2.google.com"
- "contentautofill.googleapis.com"
- "safebrowsingohttpgateway.googleapis.com"
- "www.google.com"See Network Configuration for more information.
💥 [THE END] — Illustrated by Smoke Claude · 57.6 AIC · ⌖ 9.03 AIC
|
|
||
| When the aggregated AI Credits usage across all completed runs of this workflow in the last 24 hours exceeds the threshold, the activation job sets the `daily_effective_workflow_exceeded` output to `true` and the agent job is skipped for that run. The conclusion job still runs and creates this report. | ||
| When the aggregated AI Credits usage across all completed runs of this workflow in the last 24 hours exceeds the threshold, the activation job sets the `daily_ai_credits_exceeded` output to `true` and the agent job is skipped for that run. The conclusion job still runs and creates this report. | ||
|
|
There was a problem hiding this comment.
Nice clear rename to daily_ai_credits_exceeded — consistent with the new naming convention. 👍
| @@ -40,7 +40,7 @@ Commit and push the updated `.lock.yml` file. | |||
|
|
|||
| The `max-daily-ai-credits` frontmatter option sets a per-workflow spending cap measured in *AI Credits* across the 24-hour window before the current run. The cap is scoped to the repository and workflow — it aggregates usage across all runs of this workflow regardless of who triggered them. | |||
|
|
|||
There was a problem hiding this comment.
Good documentation of the max-daily-ai-credits frontmatter option and its repository/workflow scope.
|
Commit pushed:
|
|
Smoke tests run: 1-15 ❌. Overall status: FAIL Warning Firewall blocked 6 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "accounts.google.com"
- "android.clients.google.com"
- "clients2.google.com"
- "contentautofill.googleapis.com"
- "safebrowsingohttpgateway.googleapis.com"
- "www.google.com"See Network Configuration for more information.
|
|
rename daily_effective_workflow_* → daily_ai_credits_* Warning Firewall blocked 6 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "accounts.google.com"
- "android.clients.google.com"
- "clients2.google.com"
- "contentautofill.googleapis.com"
- "safebrowsingohttpgateway.googleapis.com"
- "www.google.com"See Network Configuration for more information.
|
|
@copilot the ambient context measure is missing from the generated footers Investigate the logs in https://github.com/github/gh-aw/actions/runs/27355745225/job/80833046748 to determine why and fix. Or add more logging to debug. |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Investigated run/job logs and found the configured footer template only used Fixed in |
Completes the rename from "daily effective tokens" to "daily AI credits" terminology across all wiring layers.
Compiler output/condition wiring
compiler_activation_job_builder.go: output keysdaily_effective_workflow_{exceeded,total_effective_tokens,threshold}→daily_ai_credits_*compiler_main_job.go: activation guard condition updatednotify_comment.go: env var namesGH_AW_DAILY_EFFECTIVE_WORKFLOW_*→GH_AW_DAILY_AI_CREDITS_*and output property accessesActions
check_daily_aic_workflow_guardrail.cjs: allcore.setOutput(...)keys renamedhandle_agent_failure.cjs: env var reads + context keydaily_effective_workflow_exceeded_context→daily_ai_credits_exceeded_context{daily_effective_workflow_exceeded_context}→{daily_ai_credits_exceeded_context}Tests & fixtures
daily_aic_workflow_guardrail_test.go: assertions updated to new key namescheck_daily_aic_workflow_guardrail.test.cjs: samedaily_aic_workflow.go: logger tagworkflow:daily_effective_workflow→workflow:daily_ai_creditsLock files
All 245
.lock.ymlfiles regenerated viamake recompile.✨ PR Review Safe Output Test - Run 27355692552
Warning
Firewall blocked 6 domains
The following domains were blocked by the firewall during workflow execution:
accounts.google.comandroid.clients.google.comclients2.google.comcontentautofill.googleapis.comsafebrowsingohttpgateway.googleapis.comwww.google.comSee Network Configuration for more information.
Changeset
daily_effective_workflow_*todaily_ai_credits_*.