Skip to content

fix(step-names): rename "Setup Python runtime" → "Setup Python" in daily-ambient-context-optimizer#37164

Merged
pelikhan merged 3 commits into
mainfrom
copilot/standardize-setup-python-step
Jun 5, 2026
Merged

fix(step-names): rename "Setup Python runtime" → "Setup Python" in daily-ambient-context-optimizer#37164
pelikhan merged 3 commits into
mainfrom
copilot/standardize-setup-python-step

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 5, 2026

Residual naming inconsistency from the actions/setup-python standardization in #36578: daily-ambient-context-optimizer still used Setup Python runtime instead of the canonical Setup Python, breaking the Setup <runtime> convention used by all other runtime-setup steps (Setup Node.js, Setup Go, Setup Java, Setup Docker Buildx).

Changes

  • .github/workflows/daily-ambient-context-optimizer.md — renamed step Setup Python runtimeSetup Python
  • .github/workflows/daily-ambient-context-optimizer.lock.yml — same rename in the compiled output

No Setup Python runtime occurrences remain in the repository.

Copilot AI and others added 2 commits June 5, 2026 17:31
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix residual step name inconsistency in workflow fix(step-names): rename "Setup Python runtime" → "Setup Python" in daily-ambient-context-optimizer Jun 5, 2026
Copilot AI requested a review from gh-aw-bot June 5, 2026 17:32
@pelikhan pelikhan marked this pull request as ready for review June 5, 2026 17:41
Copilot AI review requested due to automatic review settings June 5, 2026 17:41
@pelikhan pelikhan merged commit bd215e3 into main Jun 5, 2026
@pelikhan pelikhan deleted the copilot/standardize-setup-python-step branch June 5, 2026 17:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates GitHub Actions workflow metadata in .github/workflows/, primarily to align the actions/setup-python step name with the repo’s Setup <runtime> convention. In the current diff, there are also widespread lockfile-only updates that add threat-detection token usage parsing outputs/env wiring across many compiled workflows, which is substantially broader than the PR title/description suggests.

Changes:

  • Renames the actions/setup-python step in daily-ambient-context-optimizer from “Setup Python runtime” to “Setup Python” (source workflow).
  • Updates compiled workflow lockfiles to add an aic output derived from a new parse_detection_token_usage step and plumbs related env vars (e.g., GH_AW_THREAT_DETECTION_AIC, GH_AW_AGENT_AIC) across many workflows.
  • Recompiles numerous .lock.yml workflows, causing large-scale generated diffs beyond the single step-name rename.
Show a summary per file
File Description
.github/workflows/daily-ambient-context-optimizer.md Renames actions/setup-python step name to “Setup Python”.
.github/workflows/workflow-skill-extractor.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/workflow-normalizer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/workflow-health-manager.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/workflow-generator.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/weekly-issue-summary.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/visual-regression-checker.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/video-analyzer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/update-astro.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/ubuntu-image-analyzer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/typist.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/tidy.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/test-workflow.lock.yml Adds GH_AW_AGENT_AIC env wiring in compiled workflow.
.github/workflows/test-project-url-default.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/test-dispatcher.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/terminal-stylist.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/super-linter.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/step-name-alignment.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/static-analysis-report.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/spec-extractor.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/spec-enforcer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/smoke-ci.lock.yml Adds GH_AW_AGENT_AIC env wiring in compiled workflow.
.github/workflows/sergo.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/semantic-function-refactor.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/security-compliance.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/schema-consistency-checker.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/safe-output-health.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/research.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/repository-quality-improver.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/repo-tree-map.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/release.lock.yml Adds GH_AW_AGENT_AIC env wiring in compiled workflow.
.github/workflows/python-data-charts.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/prompt-clustering-analysis.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/plan.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/otlp-data-quality-validator.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/org-health-report.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/notion-issue-summary.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/metrics-collector.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/mergefest.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/mcp-inspector.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/lockfile-stats.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/linter-miner.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/lint-monster.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/layout-spec-maintainer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/jsweep.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/issue-triage-agent.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/instructions-janitor.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/hourly-ci-cleaner.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/hippo-embed.lock.yml Adds GH_AW_AGENT_AIC env wiring in compiled workflow.
.github/workflows/gpclean.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/go-pattern-detector.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/go-logger.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/go-fan.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/glossary-maintainer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/github-mcp-tools-report.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/firewall.lock.yml Adds GH_AW_AGENT_AIC env wiring in compiled workflow.
.github/workflows/firewall-escape.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/example-workflow-analyzer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/example-permissions-warning.lock.yml Adds GH_AW_AGENT_AIC env wiring in compiled workflow.
.github/workflows/docs-noob-tester.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/dictation-prompt.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/designer-drift-audit.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/deployment-incident-monitor.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/dependabot-worker.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/dependabot-repair.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/dependabot-go-checker.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/dependabot-campaign.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/dependabot-burner.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/deep-report.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/dead-code-remover.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-token-consumption-report.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-team-status.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-syntax-error-quality.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-skill-optimizer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-sentrux-report.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-semgrep-scan.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-security-red-team.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-security-observability.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-secrets-analysis.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-safe-output-optimizer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-reliability-review.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-regulatory.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-performance-summary.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-news.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-model-inventory.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-malicious-code-scan.lock.yml Adds GH_AW_AGENT_AIC env wiring in compiled workflow.
.github/workflows/daily-issues-report.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-geo-optimizer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-function-namer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-firewall-report.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-file-diet.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-experiment-report.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-doc-updater.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-doc-healer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-compiler-quality.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-community-attribution.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-code-metrics.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-cli-performance.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/daily-choice-test.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/copilot-session-insights.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/copilot-opt.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/copilot-agent-analysis.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/contribution-check.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/constraint-solving-potd.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/commit-changes-analyzer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/codex-github-remote-mcp-test.lock.yml Adds GH_AW_AGENT_AIC env wiring in compiled workflow.
.github/workflows/code-simplifier.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/code-scanning-fixer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/cli-version-checker.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/cli-consistency-checker.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/ci-coach.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/changeset.lock.yml Adds GH_AW_AGENT_AIC env wiring in compiled workflow.
.github/workflows/bot-detection.lock.yml Adds GH_AW_AGENT_AIC env wiring in compiled workflow.
.github/workflows/blog-auditor.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/aw-failure-investigator.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/avenger.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/audit-workflows.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/artifacts-summary.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/api-consumption-report.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/ai-moderator.lock.yml Adds GH_AW_AGENT_AIC env wiring in compiled workflow.
.github/workflows/agentic-token-optimizer.lock.yml Adds GH_AW_AGENT_AIC env wiring in compiled workflow.
.github/workflows/agent-persona-explorer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/agent-performance-analyzer.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.
.github/workflows/ace-editor.lock.yml Adds GH_AW_AGENT_AIC env wiring in compiled workflow.
.github/workflows/ab-testing-advisor.lock.yml Adds threat-detection token usage parsing step/output/env wiring in compiled workflow.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 241/241 changed files
  • Comments generated: 2

Comment on lines +1427 to +1434
- name: Parse threat detection token usage for step summary
id: parse_detection_token_usage
if: always()
continue-on-error: true
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
env:
GH_AW_TOKEN_USAGE_SUMMARY_TITLE: Threat Detection Token Usage
with:
Comment on lines +35 to 36
- name: Setup Python
uses: actions/setup-python@v6.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[step-names] Standardize residual "Setup Python runtime" step on "Setup Python"

4 participants