Skip to content

Trim sandbox frontmatter in news workflows to keepalive-interval only#1943

Merged
pethers merged 2 commits intomainfrom
copilot/aw-debug-workflow-failure
Apr 22, 2026
Merged

Trim sandbox frontmatter in news workflows to keepalive-interval only#1943
pethers merged 2 commits intomainfrom
copilot/aw-debug-workflow-failure

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 22, 2026

News: Government Propositions failed on run 24801153518 with a misleading "engine terminated unexpectedly". Root cause from the job log is a transient AWF sandbox flake — awf-api-proxy missed its Docker healthcheck during docker compose up, so the Copilot engine never started. No workflow-side bug; failed jobs were rerun via the Actions API.

While here, trimming the sandbox: frontmatter across the 12 news-*.md workflows to the only key that actually carries intent.

Changes

  • Frontmatter trim (12 workflows) — drop sandbox.agent: awf and sandbox.mcp.port: 8080 (both gh-aw defaults); keep sandbox.mcp.keepalive-interval: 300 (the deliberate 5 min MCP ping under Copilot's ~60 min token window).
  • Lock files regeneratedgh aw compile pinned to v0.69.3 across all 12 .lock.yml; output is idempotent and --validate is clean.
  • No change to engine.model: claude-opus-4.7 (valid), network allowlist, MCP servers, permissions, or safe-outputs.
 sandbox:
-  agent: awf
   mcp:
-    port: 8080
     keepalive-interval: 300 # 5m ping to keep MCP connections alive; Copilot API token expires ~60min so PR must be created within 25min of agent start

Workflows touched

news-article-generator, news-committee-reports, news-evening-analysis, news-interpellations, news-month-ahead, news-monthly-review, news-motions, news-propositions, news-realtime-monitor, news-translate, news-week-ahead, news-weekly-review (source .md + regenerated .lock.yml).

Follow-up

If awf-api-proxy unhealthy recurs at a meaningful rate, the fix belongs upstream in github/gh-aw / AWF, not in this repo's frontmatter.

Copilot AI linked an issue Apr 22, 2026 that may be closed by this pull request
@github-actions github-actions Bot added the size-xs Extra small change (< 10 lines) label Apr 22, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🏷️ Automatic Labeling Summary

This PR has been automatically labeled based on the files changed and PR metadata.

Applied Labels: size-xs

Label Categories

  • 🗳️ Content: news, dashboard, visualization, intelligence
  • 💻 Technology: html-css, javascript, workflow, security
  • 📊 Data: cia-data, riksdag-data, data-pipeline, schema
  • 🌍 I18n: i18n, translation, rtl
  • 🔒 ISMS: isms, iso-27001, nist-csf, cis-controls
  • 🏗️ Infrastructure: ci-cd, deployment, performance, monitoring
  • 🔄 Quality: testing, accessibility, documentation, refactor
  • 🤖 AI: agent, skill, agentic-workflow

For more information, see .github/labeler.yml.

@github-actions
Copy link
Copy Markdown
Contributor

🔍 Lighthouse Performance Audit

Category Score Status
Performance 85/100 🟡
Accessibility 95/100 🟢
Best Practices 90/100 🟢
SEO 95/100 🟢

📥 Download full Lighthouse report

Budget Compliance: Performance budgets enforced via budget.json

@github-actions github-actions Bot added documentation Documentation updates workflow GitHub Actions workflows ci-cd CI/CD pipeline changes news News articles and content generation agentic-workflow Agentic workflow changes size-l Large change (250-1000 lines) labels Apr 22, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🔍 Lighthouse Performance Audit

Category Score Status
Performance 85/100 🟡
Accessibility 95/100 🟢
Best Practices 90/100 🟢
SEO 95/100 🟢

📥 Download full Lighthouse report

Budget Compliance: Performance budgets enforced via budget.json

Copilot AI changed the title [WIP] Debug agentic workflow failure for government propositions Trim sandbox frontmatter in news workflows to keepalive-interval only Apr 22, 2026
Copilot AI requested a review from pethers April 22, 2026 20:45
@pethers pethers marked this pull request as ready for review April 22, 2026 20:48
Copilot AI review requested due to automatic review settings April 22, 2026 20:48
@pethers pethers merged commit 8f75475 into main Apr 22, 2026
12 checks passed
@pethers pethers deleted the copilot/aw-debug-workflow-failure branch April 22, 2026 20:48
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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agentic-workflow Agentic workflow changes ci-cd CI/CD pipeline changes documentation Documentation updates news News articles and content generation size-l Large change (250-1000 lines) size-xs Extra small change (< 10 lines) workflow GitHub Actions workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw] News: Government Propositions failed

3 participants