Skip to content

chore: upgrade gh aw pre-release workflows - #11591

Merged
lpcox merged 2 commits into
mainfrom
lpcox-upgrade-gh-aw-prerelease-f4c
Nov 14, 2026
Merged

lpcox merged 2 commits into
mainfrom
lpcox-upgrade-gh-aw-prerelease-f4c

Conversation

@lpcox

@lpcox lpcox commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • upgrade the gh aw extension to the latest pre-release (v1.2.3)
  • recompile all agentic workflow lock files
  • run the required AWF workflow post-processing
  • refresh the agentic-workflows dispatcher skill and action pins
  • add coverage for incomplete audit marker write failures

Validation

  • npx jest --runInBand --testPathPatterns='scripts/ci/(.*workflow.*|postprocess-smoke-workflows)\.test\.ts$' (50 suites, 584 tests passed)
  • npx jest src/commands/main-action.test.ts --runInBand --coverage --collectCoverageFrom=src/commands/main-action-cleanup.ts (95 tests passed)
  • commit hooks: lint and TypeScript build passed
  • PR CI: root unit tests, coverage, build, lint, security, and integration checks pass

Copilot AI adaptive review requested due to automatic review settings November 14, 2026 13:35
GH_AW_AWF_ATTEMPT_LOG_NAME=copilot \
bash "${RUNNER_TEMP}/gh-aw/actions/run_awf_with_startup_retries.sh" -- \
sudo --preserve-env="$(compgen -e | paste -sd, -)" /usr/bin/env PATH="$PATH" /usr/local/bin/awf --config "${RUNNER_TEMP}/gh-aw/awf-config.json" --session-state-dir /tmp/gh-aw/sandbox/agent/session-state --container-workdir "${GITHUB_WORKSPACE}" --cloud-hypervisor-binary "${GH_AW_CLOUD_HYPERVISOR_BINARY}" --cloud-hypervisor-kernel "${GH_AW_CLOUD_HYPERVISOR_KERNEL}" --cloud-hypervisor-rootfs "${GH_AW_CLOUD_HYPERVISOR_ROOTFS}" --cloud-hypervisor-supervisor "${GH_AW_CLOUD_HYPERVISOR_SUPERVISOR}" --cloud-hypervisor-artifact-manifest "${GH_AW_CLOUD_HYPERVISOR_ARTIFACT_MANIFEST}" --cloud-hypervisor-artifact-manifest-bundle "${GH_AW_CLOUD_HYPERVISOR_ARTIFACT_MANIFEST_BUNDLE}" --cloud-hypervisor-artifact-release-tag "${GH_AW_CLOUD_HYPERVISOR_ARTIFACT_RELEASE_TAG}" ${GH_AW_DOCKER_HOST:+--docker-host "$GH_AW_DOCKER_HOST"} --container-runtime cloud-hypervisor --cloud-hypervisor-preview --cloud-hypervisor-vcpus 2 --cloud-hypervisor-memory-mib 4096 --env-all --exclude-env ACTIONS_ID_TOKEN_REQUEST_TOKEN --exclude-env ACTIONS_ID_TOKEN_REQUEST_URL --exclude-env COPILOT_GITHUB_TOKEN --exclude-env GH_AW_OTLP_ALL_HEADERS --exclude-env GH_AW_OTLP_ENDPOINTS --exclude-env GITHUB_MCP_SERVER_TOKEN --exclude-env MCP_GATEWAY_AGENT_ID --exclude-env OTEL_EXPORTER_OTLP_ENDPOINT --exclude-env OTEL_EXPORTER_OTLP_HEADERS --log-level info --session-state-dir /tmp/gh-aw/sandbox/agent/session-state --skip-pull \
sudo --preserve-env="$(compgen -e | paste -sd, -)" /usr/bin/env PATH="$PATH" /usr/local/bin/awf --config "${RUNNER_TEMP}/gh-aw/awf-config.json" --container-workdir "${GITHUB_WORKSPACE}" --cloud-hypervisor-binary "${GH_AW_CLOUD_HYPERVISOR_BINARY}" --cloud-hypervisor-kernel "${GH_AW_CLOUD_HYPERVISOR_KERNEL}" --cloud-hypervisor-rootfs "${GH_AW_CLOUD_HYPERVISOR_ROOTFS}" --cloud-hypervisor-supervisor "${GH_AW_CLOUD_HYPERVISOR_SUPERVISOR}" --cloud-hypervisor-artifact-manifest "${GH_AW_CLOUD_HYPERVISOR_ARTIFACT_MANIFEST}" --cloud-hypervisor-artifact-manifest-bundle "${GH_AW_CLOUD_HYPERVISOR_ARTIFACT_MANIFEST_BUNDLE}" --cloud-hypervisor-artifact-release-tag "${GH_AW_CLOUD_HYPERVISOR_ARTIFACT_RELEASE_TAG}" ${GH_AW_DOCKER_HOST:+--docker-host "$GH_AW_DOCKER_HOST"} --container-runtime cloud-hypervisor --cloud-hypervisor-preview --cloud-hypervisor-vcpus 2 --cloud-hypervisor-memory-mib 4096 --env-all --exclude-env ACTIONS_ID_TOKEN_REQUEST_TOKEN --exclude-env ACTIONS_ID_TOKEN_REQUEST_URL --exclude-env COPILOT_GITHUB_TOKEN --exclude-env GH_AW_OTLP_ALL_HEADERS --exclude-env GH_AW_OTLP_ENDPOINTS --exclude-env GITHUB_MCP_SERVER_TOKEN --exclude-env MCP_GATEWAY_AGENT_ID --exclude-env OTEL_EXPORTER_OTLP_ENDPOINT --exclude-env OTEL_EXPORTER_OTLP_HEADERS --log-level info --session-state-dir /tmp/gh-aw/sandbox/agent/session-state --skip-pull \

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 change still uses an overly broad case-insensitive detector that can quarantine legitimate cache content across five locked workflows, so the active moderate findings require correction.

5 open issues
What changed in this PR

This PR upgrades the repository's compiled agentic workflows to gh aw v1.2.3, refreshes generated workflow commands and dependency pins, and synchronizes the dispatcher skill with updated workflow guidance.

Changes:

  • Recompiled the reviewed agentic workflow lock files and refreshed AWF invocation arguments.
  • Propagated case-insensitive cache-memory role-label scanning across affected workflows; the broadened patterns can quarantine benign cache data and require correction.
  • Updated the agentic-workflows dispatcher skill and .github/aw/actions-lock.json action pins.
File Description
.github/​workflows/​workflow-runtime-optimizer.lock.yml Recompiled the runtime optimizer workflow lock and AWF invocation.
.github/​workflows/​workflow-runtime-auditor.lock.yml Recompiled the runtime auditor workflow lock and AWF invocation.
.github/​workflows/​update-release-notes.lock.yml Recompiled the Cloud Hypervisor release-notes workflow lock.
.github/​workflows/​test-quality-improver.lock.yml Recompiled the quality-improvement workflow lock and detection step.
.github/​workflows/​test-hard-cap-ai-credits.lock.yml Recompiled the AI-credit cap workflow lock.
.github/​workflows/​test-coverage-reporter.lock.yml Recompiled the coverage reporter workflow lock.
.github/​workflows/​test-coverage-improver.lock.yml Recompiled the coverage improvement workflow lock.
.github/​workflows/​smoke-sink-visibility-blocked.lock.yml Recompiled the blocked sink-visibility smoke workflow lock.
.github/​workflows/​smoke-sink-visibility-allowed.lock.yml Recompiled the allowed sink-visibility smoke workflow lock.
.github/​workflows/​smoke-services.lock.yml Recompiled the services smoke workflow lock.
.github/​workflows/​smoke-playwright-runc.lock.yml Recompiled the runc Playwright smoke workflow lock.
.github/​workflows/​smoke-playwright-cloud-hypervisor.lock.yml Recompiled the Cloud Hypervisor Playwright workflow lock.
.github/​workflows/​smoke-otel-tracing.lock.yml Recompiled the OTEL tracing smoke workflow lock.
.github/​workflows/​smoke-nvx-copilot.lock.yml Recompiled the NVX Copilot workflow lock.
.github/​workflows/​smoke-nvx-build-test.lock.yml Recompiled the NVX build-test workflow lock.
.github/​workflows/​smoke-gemini.lock.yml Recompiled the Gemini smoke workflow lock.
.github/​workflows/​smoke-enclave-issues-read.lock.yml Recompiled the enclave issues-read workflow lock.
.github/​workflows/​smoke-enclave-dynamic-issues-read.lock.yml Recompiled the dynamic enclave workflow lock.
.github/​workflows/​smoke-enclave-cloud-hypervisor.lock.yml Recompiled the enclave Cloud Hypervisor workflow lock.
.github/​workflows/​smoke-enclave-cloud-hypervisor-copilot.lock.yml Recompiled the enclave Copilot Cloud Hypervisor workflow lock.
.github/​workflows/​smoke-enclave-build-test.lock.yml Recompiled the enclave build-test workflow lock.
.github/​workflows/​smoke-copilot.lock.yml Recompiled the Copilot smoke workflow lock.
.github/​workflows/​smoke-copilot-network-isolation.lock.yml Recompiled the network-isolated Copilot workflow lock.
.github/​workflows/​smoke-copilot-byok.lock.yml Recompiled the Copilot BYOK workflow lock.
.github/​workflows/​smoke-copilot-byok-aoai-entra.lock.yml Recompiled the Azure Entra BYOK workflow lock.
.github/​workflows/​smoke-copilot-byok-aoai-apikey.lock.yml Recompiled the Azure API-key BYOK workflow lock.
.github/​workflows/​smoke-codex.lock.yml Recompiled the Codex workflow lock and cache scanner.
.github/​workflows/​smoke-cloud-hypervisor.lock.yml Recompiled the Cloud Hypervisor smoke workflow lock.
.github/​workflows/​smoke-cloud-hypervisor-codex.lock.yml Recompiled the Cloud Hypervisor Codex workflow lock.
.github/​workflows/​smoke-cloud-hypervisor-build-test.lock.yml Recompiled the Cloud Hypervisor build-test workflow lock.
.github/​workflows/​smoke-claude.lock.yml Recompiled the Claude smoke workflow lock.
.github/​workflows/​smoke-chroot.lock.yml Recompiled the chroot smoke workflow lock.
.github/​workflows/​self-hosted-runner-doctor.lock.yml Recompiled the self-hosted runner diagnostic workflow lock and cache scanner.
.github/​workflows/​security-review.lock.yml Recompiled the security review workflow lock and cache scanner.
.github/​workflows/​security-guard.lock.yml Recompiled the security guard workflow lock.
.github/​workflows/​schema-sync.lock.yml Recompiled the schema synchronization workflow lock.
.github/​workflows/​refactoring-scanner.lock.yml Recompiled the refactoring scanner workflow lock.
.github/​workflows/​red-team-benchmark.lock.yml Recompiled the red-team benchmark workflow lock.
.github/​workflows/​plan.lock.yml Recompiled the planning workflow lock.
.github/​workflows/​pelis-agent-factory-advisor.lock.yml Recompiled the agent-factory advisor workflow lock and cache scanner.
.github/​workflows/​network-isolation-test.lock.yml Recompiled the network-isolation test workflow lock.
.github/​workflows/​mount-docs-maintainer.lock.yml Recompiled the documentation mount-maintainer workflow lock.
.github/​workflows/​issue-monster.lock.yml Recompiled the issue-management workflow lock.
.github/​workflows/​issue-duplication-detector.lock.yml Recompiled the issue-duplication workflow lock and cache scanner.
.github/​workflows/​export-audit.lock.yml Recompiled the export audit workflow lock.
.github/​workflows/​duplicate-code-detector.lock.yml Recompiled the duplicate-code detector workflow lock.
.github/​workflows/​doc-maintainer.lock.yml Recompiled the Cloud Hypervisor documentation workflow lock.
.github/​workflows/​dependency-security-monitor.lock.yml Recompiled the dependency security workflow lock.
.github/​workflows/​copilot-token-usage-analyzer.lock.yml Recompiled the Copilot token usage analyzer workflow lock.
.github/​workflows/​copilot-token-optimizer.lock.yml Recompiled the Copilot token optimizer workflow lock.
.github/​workflows/​contribution-check.lock.yml Recompiled the contribution-check workflow lock.
.github/​workflows/​config-consistency-auditor.lock.yml Recompiled the configuration auditor workflow lock and cache scanner.
.github/​workflows/​cli-flag-consistency-checker.lock.yml Recompiled the CLI consistency-checker workflow lock.
.github/​workflows/​claude-token-usage-analyzer.lock.yml Recompiled the Claude token usage analyzer workflow lock.
.github/​workflows/​claude-token-optimizer.lock.yml Recompiled the Claude token optimizer workflow lock.
.github/​workflows/​ci-doctor.lock.yml Recompiled the CI doctor workflow lock and cache scanner.
.github/​workflows/​ci-cd-gaps-assessment.lock.yml Recompiled the CI/CD gaps assessment workflow lock.
.github/​workflows/​auth-doctor-updater.lock.yml Recompiled the authentication doctor updater workflow lock and cache scanner.
.github/​skills/​agentic-workflows/​SKILL.md Refreshed the dispatcher skill's workflow guidance index.
.github/​aw/​actions-lock.json Updated the actions/setup-java pin and removed the obsolete MCP Gateway entry.

Review effort: Lite (dynamic)

Comment on lines +1461 to +1465
INJECTION_PATTERN='(^|[[:space:][:punct:]])(system|assistant|developer|user)[[:space:]]*:|^(New instruction:|Ignore (all |previous |prior )instructions?:|<system>)'
QUARANTINE_DIR="${GH_AW_CACHE_DIR:-/tmp/gh-aw/cache-memory}/.quarantine"
mapfile -t SUSPICIOUS_FILES < <(
find "$CACHE_DIR" -not -path '*/.git/*' -not -path '*/.quarantine/*' -type f \
-exec grep -lE "$INJECTION_PATTERN" {} + 2>/dev/null || true
-exec grep -liE "$INJECTION_PATTERN" {} + 2>/dev/null || true
Comment on lines +1410 to +1414
INJECTION_PATTERN='(^|[[:space:][:punct:]])(system|assistant|developer|user)[[:space:]]*:|^(New instruction:|Ignore (all |previous |prior )instructions?:|<system>)'
QUARANTINE_DIR="${GH_AW_CACHE_DIR:-/tmp/gh-aw/cache-memory}/.quarantine"
mapfile -t SUSPICIOUS_FILES < <(
find "$CACHE_DIR" -not -path '*/.git/*' -not -path '*/.quarantine/*' -type f \
-exec grep -lE "$INJECTION_PATTERN" {} + 2>/dev/null || true
-exec grep -liE "$INJECTION_PATTERN" {} + 2>/dev/null || true
Comment on lines +1463 to +1467
INJECTION_PATTERN='(^|[[:space:][:punct:]])(system|assistant|developer|user)[[:space:]]*:|^(New instruction:|Ignore (all |previous |prior )instructions?:|<system>)'
QUARANTINE_DIR="${GH_AW_CACHE_DIR:-/tmp/gh-aw/cache-memory}/.quarantine"
mapfile -t SUSPICIOUS_FILES < <(
find "$CACHE_DIR" -not -path '*/.git/*' -not -path '*/.quarantine/*' -type f \
-exec grep -lE "$INJECTION_PATTERN" {} + 2>/dev/null || true
-exec grep -liE "$INJECTION_PATTERN" {} + 2>/dev/null || true
Comment on lines +1489 to +1493
INJECTION_PATTERN='(^|[[:space:][:punct:]])(system|assistant|developer|user)[[:space:]]*:|^(New instruction:|Ignore (all |previous |prior )instructions?:|<system>)'
QUARANTINE_DIR="${GH_AW_CACHE_DIR:-/tmp/gh-aw/cache-memory}/.quarantine"
mapfile -t SUSPICIOUS_FILES < <(
find "$CACHE_DIR" -not -path '*/.git/*' -not -path '*/.quarantine/*' -type f \
-exec grep -lE "$INJECTION_PATTERN" {} + 2>/dev/null || true
-exec grep -liE "$INJECTION_PATTERN" {} + 2>/dev/null || true
Comment on lines +1513 to +1517
INJECTION_PATTERN='(^|[[:space:][:punct:]])(system|assistant|developer|user)[[:space:]]*:|^(New instruction:|Ignore (all |previous |prior )instructions?:|<system>)'
QUARANTINE_DIR="${GH_AW_CACHE_DIR:-/tmp/gh-aw/cache-memory}/.quarantine"
mapfile -t SUSPICIOUS_FILES < <(
find "$CACHE_DIR" -not -path '*/.git/*' -not -path '*/.quarantine/*' -type f \
-exec grep -lE "$INJECTION_PATTERN" {} + 2>/dev/null || true
-exec grep -liE "$INJECTION_PATTERN" {} + 2>/dev/null || true
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Coverage Regression Detected

This PR decreases test coverage. Please add tests to maintain coverage levels.

Overall Coverage

Metric Base PR Delta
Lines 93.93% 93.92% 📉 -0.01%
Statements 92.49% 92.49% ➡️ +0.00%
Functions 93.14% 93.14% ➡️ +0.00%
Branches 86.88% 86.88% ➡️ +0.00%
📁 Per-file Coverage Changes (1 files)
File Lines (Before → After) Statements (Before → After)
src/commands/main-action-cleanup.ts 96.9% → 95.9% (-1.03%) 97.0% → 96.0% (-0.99%)

Coverage comparison generated by scripts/ci/compare-coverage.ts

@github-actions

Copy link
Copy Markdown
Contributor

✅ Copilot review passed with no inline comments.

@lpcox Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Coverage Check Passed

Overall Coverage

Metric Base PR Delta
Lines 93.92% 93.93% 📈 +0.01%
Statements 92.48% 92.49% ➡️ +0.01%
Functions 93.14% 93.14% ➡️ +0.00%
Branches 86.87% 86.88% ➡️ +0.01%
📁 Per-file Coverage Changes (2 files)
File Lines (Before → After) Statements (Before → After)
src/commands/main-action-cleanup.ts 95.9% → 97.9% (+2.06%) 96.0% → 98.0% (+1.98%)
src/nvx/one-shot-process.ts 81.5% → 84.0% (+2.47%) 74.7% → 76.8% (+2.11%)

Coverage comparison generated by scripts/ci/compare-coverage.ts

@lpcox
lpcox merged commit c38ad55 into main Nov 14, 2026
49 checks passed
@lpcox
lpcox deleted the lpcox-upgrade-gh-aw-prerelease-f4c branch November 14, 2026 16:13
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