Skip to content

Upgrade gh-aw to v0.88.2 and recompile agentic workflow lock files - #14935

Merged
AR-May merged 1 commit into
dotnet:mainfrom
AR-May:ar-may-gh-aw-upgrade
Sep 4, 2026
Merged

AR-May merged 1 commit into
dotnet:mainfrom
AR-May:ar-may-gh-aw-upgrade

Conversation

@AR-May

@AR-May AR-May commented Sep 4, 2026 •

Copy link
Copy Markdown
Member

The compiled *.agent.lock.yml files are out of sync with the pinned gh-aw-actions/setup action, so the activation hash check fails. The old compiler version is also blocked by gh-aw, and the model baked into the locks, claude-sonnet-4.6, returns HTTP 400.

Recompiling with gh-aw v0.88.2 fixes all three:

gh extension install github/gh-aw --pin v0.88.2
gh aw compile

Every changed file is generated output; no source changes were needed. agentics-maintenance.yml is deleted by the compiler because no workflow uses expires:, and .github/aw/actions-lock.json is its pin cache.

Not fixed here: COPILOT_PAT_0..9 appear to be failing auth with 403 (#14884), so runs may still fail after this merges.

Addresses #14930, #14908, #14904, #14920, #14923, #14924.

The .agent.lock.yml files are generated by the gh aw compiler and are
version-coupled to the pinned github/gh-aw-actions/setup action.
Dependabot bumped the action pin to v0.87.9 without recompiling the
locks, which broke the activation hash check.

Reverting the pin is not an option: the compiler version the locks were
built with, v0.82.13, is now on the gh-aw blocked versions list.

Recompiling with v0.88.2 (current stable) resyncs the lock hashes,
clears the blocked compiler version, and replaces the baked-in
claude-sonnet-4.6 fallback model, which is not available to the
agentic-workflows integrator, with the 'auto' alias.

All output is generated. No .agent.md source changes were needed.
agentics-maintenance.yml is deleted by the compiler because no workflow
uses an expires field. .github/aw/actions-lock.json is the compiler's
action pin cache.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@AR-May
AR-May marked this pull request as ready for review September 4, 2026 10:41
@AR-May
AR-May requested a review from a team as a code owner September 4, 2026 10:41
@AR-May
AR-May requested review from JanProvaznik and a lite review from Copilot September 4, 2026 10:41
@AR-May
AR-May enabled auto-merge (squash) September 4, 2026 10:43
@AR-May
AR-May merged commit 5955a5f into dotnet:main Sep 4, 2026
17 checks passed

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.

🟡 Changes recommended

The updated compiled workflow currently passes OTLP header secrets into the sandboxed agent container via awf --env-all, which should be excluded unless explicitly required.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the repository’s generated gh-aw agentic workflow artifacts to align with the currently pinned github/gh-aw-actions/setup action and a newer gh-aw compiler, resolving stale-lock / activation-hash failures and avoiding unsupported model defaults baked into old lock files.

Changes:

  • Regenerates agentic workflow compiled lock output using gh-aw v0.88.2 (including updated pins for github/gh-aw-actions/setup and related runtime tooling).
  • Removes the generated agentics maintenance workflow because no workflows require expires:-based maintenance.
  • Adds .github/aw/actions-lock.json as the gh-aw action pin cache.
File summaries
File Description
.github/workflows/close-stale-prs.agent.lock.yml Regenerated compiled agentic workflow lock output using gh-aw v0.88.2 (updated pins/tooling and workflow scaffolding).
.github/workflows/agentics-maintenance.yml Deleted generated maintenance workflow that’s no longer needed when no workflows use expires:.
.github/aw/actions-lock.json New gh-aw actions pin cache entry for github/gh-aw-actions/setup@v0.88.2.
Review details
  • Files reviewed: 2/8 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

GH_AW_AWF_LOG_FILE=/tmp/gh-aw/agent-stdio.log \
GH_AW_AWF_ATTEMPT_LOG_NAME=copilot \
bash "${RUNNER_TEMP}/gh-aw/actions/run_awf_with_startup_retries.sh" -- \
awf --config "${RUNNER_TEMP}/gh-aw/awf-config.json" --container-workdir "${GITHUB_WORKSPACE}" --mount "${RUNNER_TEMP}/gh-aw:${RUNNER_TEMP}/gh-aw:ro" --mount "${RUNNER_TEMP}/gh-aw:/host${RUNNER_TEMP}/gh-aw:ro" ${GH_AW_TOOL_CACHE_MOUNT:+--mount "$GH_AW_TOOL_CACHE_MOUNT"} ${GH_AW_DOCKER_HOST:+--docker-host "$GH_AW_DOCKER_HOST"} --env-all --exclude-env ACTIONS_ID_TOKEN_REQUEST_TOKEN --exclude-env ACTIONS_ID_TOKEN_REQUEST_URL --exclude-env COPILOT_GITHUB_TOKEN --exclude-env GITHUB_MCP_SERVER_TOKEN --exclude-env MCP_GATEWAY_AGENT_ID --mount /tmp/gh-aw:/tmp/gh-aw:rw --log-level info --skip-pull \
@AR-May AR-May self-assigned this Sep 4, 2026
AR-May added a commit that referenced this pull request Sep 4, 2026
…14938)

The ignore rule for `github/gh-aw-actions` stopped matching: Dependabot
began treating sub-path actions as separate dependencies.

Since then four Dependabot bumps have slipped through and broken the
agentic workflows. #14842, #14870 and #14935 were the repairs.

These pins are generated by `gh aw compile` and must not be bumped on
their own.

### Changes Made

- Use the wildcard form documented by gh-aw, which also matches `/setup`
and `/setup-cli`.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This was referenced Nov 16, 2026
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.

3 participants