Skip to content

Modernize agentic workflows with gh-aw v0.88.7 - #20209

Merged
David Pine (IEvangelist) merged 1 commit into
mainfrom
ievangelist-agentic-workflow-modernization
Sep 18, 2026
Merged

David Pine (IEvangelist) merged 1 commit into
mainfrom
ievangelist-agentic-workflow-modernization

Conversation

@IEvangelist

Copy link
Copy Markdown
Member

Description

Refresh repository automation with the latest stable gh-aw compiler and remove confirmed deprecated action inputs and Node 20 dependencies without changing workflow purposes, triggers, or GitHub App identities.

  • Regenerate all eight agentic workflows and the generated aspire.dev maintenance workflow with gh-aw v0.88.7, refresh the action pin cache, and align the Copilot setup compiler/action version.
  • Migrate app-id to client-id in agentic sources and ordinary workflows while preserving the existing ASPIRE_BOT_APP_ID secret and token permissions.
  • Update explicit Node 20 actions and the issue-labeler's transitive action dependencies to compatible Node 24 versions.
  • Preserve CI-analysis summary/cause files and milestone-changelog body/memory files using narrowly scoped named artifact uploads and downloads. The upgraded compiler no longer implicitly includes arbitrary /tmp/gh-aw/agent/ files in its diagnostic artifact.
  • Add source/compiled workflow regression coverage and document the maintenance procedure.

The local gh-aw extension was upgraded and its old backup installation removed separately from the repository changes. The screenshot's independent missing notify_source_pr failure is intentionally out of scope; its validators remain intact.

Known legacy exception: locker.yml uses the archived microsoft/vscode-github-triage-actions Node 20 action, which has no supported Node 24 upgrade. Replacing its authentication and locking behavior is a separate migration, documented in the workflow README.

Validation

  • Full compilation: 8/8 successful, plus regenerated side-repository maintenance. A second compile produced identical content across all 10 generated workflow/cache files.
  • All 6 new workflow regression tests passed.
  • Broader focused Infrastructure.Tests run: 100 passed, 9 failed in existing Windows-sensitive fixtures: five CRLF-dependent source regex assertions, three Bash chmod tests using Windows paths, and one Python fixture whose inherited Git configuration loses GIT_CONFIG_VALUE_2. These tests and their safeguards were not weakened or disabled; Linux CI remains the execution lane for Infrastructure.Tests.
  • Native actionlint 1.7.12 comparison across 32 changed YAML workflows: zero new diagnostics (13 baseline, 12 current). Existing findings include custom runner labels, local composite input metadata, and compiler-generated stale_lock_file_failed references. The gh-aw Docker lint wrapper could not run because the local Docker daemon is unavailable, so validation used the native binary.
  • Compiler advisories about existing schedules/concurrency, newer supported action releases, and milestone temporary-path usage remain; schedules and concurrency behavior were intentionally preserved.

Fixes # (issue)

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No

Regenerate all agentic workflows, migrate deprecated action inputs and Node 20 dependencies, and preserve custom publishing artifacts with explicit transfers.

Co-authored-by: Copilot App <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20209

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20209"

@github-actions github-actions Bot added the area-engineering-systems infrastructure helix infra engineering repo stuff label Sep 17, 2026
@aspire-repo-bot
aspire-repo-bot Bot requested a balanced review from Copilot September 17, 2026 21:30
@github-actions

Copy link
Copy Markdown
Contributor

Tests selector

Selects the full PR test matrix + all PR-gated jobs (ALL) — a rule matching '.github/workflows/tests.yml' selects ALL


Selection computed for commit 4cdb9b6.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Broad generated release and scheduled automation changes require final human review despite consistent pins and regression coverage.

Pull request overview

Modernizes repository automation to gh-aw v0.88.7 and Node 24-compatible actions while preserving workflow intent and GitHub App identities.

Changes:

  • Regenerates eight agentic workflows and refreshes compiler/action pins.
  • Migrates GitHub App authentication from app-id to client-id.
  • Adds explicit artifact transfer and regression coverage for agent outputs.
File summaries
File Description
.github/aw/actions-lock.json Refreshes gh-aw action pins.
.github/workflows/analyze-ci-failure.md Adds explicit analysis artifact transfer.
.github/workflows/analyze-ci-failure.lock.yml Regenerates compiled workflow.
.github/workflows/apply-test-attributes.yml Migrates App token input.
.github/workflows/backmerge-release.yml Migrates App token input.
.github/workflows/backport.yml Migrates App token input.
.github/workflows/copilot-setup-steps.yml Aligns setup with gh-aw v0.88.7.
.github/workflows/create-failing-test-issue.yml Updates setup-dotnet.
.github/workflows/daily-repo-status.lock.yml Regenerates compiled workflow.
.github/workflows/deployment-tests.yml Updates Helm setup action.
.github/workflows/extension-changelog.md Migrates agentic App configuration.
.github/workflows/extension-changelog.lock.yml Regenerates compiled workflow.
.github/workflows/extension-e2e-tests.yml Updates cache action.
.github/workflows/extension-release.yml Updates App token action and input.
.github/workflows/generate-api-diffs.yml Migrates App token input.
.github/workflows/generate-ats-diffs.yml Migrates App token input.
.github/workflows/labeler-cache-retention.yml Updates issue-labeler action.
.github/workflows/labeler-predict-issues.yml Updates issue-labeler actions.
.github/workflows/labeler-predict-pulls.yml Updates issue-labeler actions.
.github/workflows/labeler-promote.yml Updates issue-labeler actions.
.github/workflows/labeler-train.yml Updates issue-labeler actions.
.github/workflows/milestone-changelog.md Adds explicit changelog artifact transfer.
.github/workflows/milestone-changelog.lock.yml Regenerates compiled workflow.
.github/workflows/pr-docs-check.md Updates actions and App inputs.
.github/workflows/pr-docs-check.lock.yml Regenerates compiled workflow.
.github/workflows/README.md Documents agentic workflow maintenance.
.github/workflows/refresh-manifests.yml Migrates App token input.
.github/workflows/release-github-tasks.yml Migrates App token inputs.
.github/workflows/release-notes-generate.md Migrates agentic App configuration.
.github/workflows/release-notes-generate.lock.yml Regenerates compiled workflow.
.github/workflows/release-update-support-mdx.md Migrates agentic App configuration.
.github/workflows/release-update-support-mdx.lock.yml Regenerates compiled workflow.
.github/workflows/repo-pulse.lock.yml Regenerates compiled workflow.
.github/workflows/tests.yml Updates github-script.
.github/workflows/update-ai-foundry-models.yml Migrates App token input.
.github/workflows/update-aspire-skills-bundle.yml Migrates App token inputs.
.github/workflows/update-azure-vm-sizes.yml Migrates App token input.
.github/workflows/update-dependencies.yml Migrates App token input.
.github/workflows/update-nix-cli-flake.yml Migrates App token input.
.github/workflows/agentics-maintenance-microsoft-aspire.dev.yml Regenerates maintenance automation.
tests/Infrastructure.Tests/WorkflowScripts/AgenticWorkflowTests.cs Adds workflow contract tests.
Review details
  • Files reviewed: 33/41 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@IEvangelist
David Pine (IEvangelist) merged commit c1d450c into main Sep 18, 2026
415 checks passed
@IEvangelist
David Pine (IEvangelist) deleted the ievangelist-agentic-workflow-modernization branch September 18, 2026 13:20
@github-actions github-actions Bot added this to the 13.6 milestone Sep 18, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

✅ No documentation update needed.

Step 5 branch taken: docs_optional → false positive (no allowlist category needed — signal is not an Aspire user-facing feature)

Triggered signals (1): pr_body_has_deprecation_marker

Evidence: The PR body contains "...remove confirmed deprecated action inputs and Node 20 dependencies without changing wor[kflow purposes]...". This refers to deprecated GitHub Actions workflow inputs (e.g., migrating app-id → client-id in the repo's own agentic workflow YAML/gh-aw sources) and Node 20→24 action runtime bumps — not any Aspire product API, CLI, SDK, or hosting/client integration surface.

Why this is a genuine false positive: All 41 changed files are internal repository automation:

  • .github/workflows/*.yml, .github/workflows/*.md, .github/workflows/*.lock.yml — gh-aw agentic workflow sources/compiled locks and the compiler action pin cache (.github/aw/actions-lock.json)
  • tests/Infrastructure.Tests/WorkflowScripts/AgenticWorkflowTests.cs — new regression test for the workflow regeneration, not product test coverage

None of these are Aspire-shipped features, packages, CLI commands, APIs, or dashboard behavior documented (or documentable) on microsoft/aspire.dev. There is no concrete identifier, flag, option, or public surface from this PR that maps to any doc page — a search of src/frontend/src/content/docs/ for "gh-aw"/"agentic workflow" only turns up unrelated whats-new release-note mentions and the AI coding agents guide, none of which reference this PR's internal CI tooling changes.

No documentation edit is possible or warranted for this change.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 CI Failure Analysis: Transient Infrastructure Failure

The CI build failed due to transient infrastructure issues.

Failed jobs:

  • Tests / No-package tests (regular, Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests, Microsoft.Entity... / Microsoft.EntityFrameworkCore.SqlServer (ubuntu-latest) — All 78 test failures in this job stem from the shared SqlServerContainerFixture class fixture throwing in InitializeAsync because the SQL Server 2022 Docker container exited with code 1 shortly after startup (invoking /opt/mssql/bin/handle-crash.sh). This is an infrastructure/container-runtime failure unrelated to the PR, which only modifies GitHub Actions workflow files (gh-aw agentic workflow modernization) and adds a workflow-script test file; none of the changed files touch SQL Server, EF Core, or SqlClient test code. (transient-infra)

If a rerun was not already requested automatically, visit the workflow run page to rerun the failed jobs manually.

Ankit Jain (radical) added a commit that referenced this pull request Sep 22, 2026
…nges (#20282)

## Description

This PR teaches Copilot review guidance to catch a failure mode we
missed when pinned GitHub Action SHAs change in workflow files.

The issue showed up after #20209 updated the
`dotnet/issue-labeler/*` action pins from
`46125e85e6a568dc712f358c39f35317366f5eed` to
`160b6b1e1e8d36da09beb34ef1e4806d2c0520a3`. The repository/enterprise
allowed-actions policy was not updated for the new SHA, so the labeler
workflow failed with an "actions not allowed" error. That break was
tracked in #20277 and has since been fixed, but the
original PR review did not catch the missing settings update because the
allow-list lives outside git.

This change adds durable review instructions in `AGENTS.md` and the
Copilot code-review skill so future workflow SHA updates are treated as
blocking unless the PR confirms the matching allowed-actions policy
update. Reviewers should identify changed `owner/repo[/path]@<sha>`
references under `.github/workflows/**`, verify the newly introduced SHA
by SHA rather than tag, and require the PR description to call out any
SHA an admin must allow before merge.

## Checklist

- Is this feature complete?
  - [x] Yes. Ready to ship.
  - [ ] No. Follow-up changes expected.
- Are you including unit tests for the changes and scenario tests if
relevant?
  - [ ] Yes
  - [x] No
- Did you add public API?
  - [ ] Yes
    - If yes, did you have an API Review for it?
      - [ ] Yes
      - [ ] No
- Did you add `<remarks />` and `<code />` elements on your triple slash
comments?
      - [ ] Yes
      - [ ] No
  - [x] No
- Does the change make any security assumptions or guarantees?
  - [ ] Yes
    - If yes, have you done a threat model and had a security review?
      - [ ] Yes
      - [ ] No
  - [x] No

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: radical <[email protected]>
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-engineering-systems infrastructure helix infra engineering repo stuff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants