Skip to content

Action File Loading Issue: parse_mcp_gateway_log.cjs Not Found at Runtime #14105

@github-actions

Description

@github-actions

Summary

The Daily Fact About gh-aw workflow is failing due to missing action file at runtime. The file exists in source (actions/setup/js/parse_mcp_gateway_log.cjs) and the setup script correctly copies .cjs files, but the file is not found at /opt/gh-aw/actions/ during workflow execution.

Status

  • Severity: P1 (High Priority)
  • Impact: 1 workflow failing (0.7% of total)
  • Status: Partially resolved (2 of 3 affected workflows recovered)
  • First Detected: 2026-02-05
  • Last Occurrence: 2026-02-06

Affected Workflow

Previously Affected (Now Resolved)

  • ✅ Copilot PR Conversation NLP Analysis - RECOVERED
  • ✅ The Great Escapi - RECOVERED

Error Pattern

Error: Cannot find module '/opt/gh-aw/actions/parse_mcp_gateway_log.cjs'
Require stack:
- /home/runner/work/_actions/actions/github-script/ed597411d8f924073f98dfc5c65a23a2325f34cd/dist/index.js

Investigation Findings

Source Files Verified

  • File exists: actions/setup/js/parse_mcp_gateway_log.cjs
  • File exists: actions/setup/js/handle_agent_failure.cjs
  • Setup script (actions/setup/setup.sh) correctly iterates and copies all .cjs files

Setup Action Configuration ⚠️

  • Action uses pinned commit: @623e612ff6a684e9a8634449508bdda21e2c178c
  • Setup script runs in both activation and agent jobs
  • Destination directory: /opt/gh-aw/actions

Hypothesis 🔍
The pinned action commit (@623e612ff6a684e9a8634449508bdda21e2c178c) may not include the required action files, or they may have been added after this commit was pinned.

Impact Assessment

Workflow Impact:

  • 1 workflow consistently failing (Daily Fact)
  • MCP gateway log parsing unavailable for affected workflow
  • No impact on other workflows (98.6% healthy)

System Impact:

  • Overall health score: 92/100 (good)
  • Minimal impact on overall system health
  • Agent performance unaffected

Recommended Resolution

Option 1: Update Action Reference (Recommended)

Update workflows to use @main or latest commit instead of pinned commit:

- name: Setup Scripts
  uses: github/gh-aw/actions/setup@main
  with:
    destination: /opt/gh-aw/actions

Option 2: Verify and Update Pinned Commit

Check if @623e612ff6a684e9a8634449508bdda21e2c178c includes parse_mcp_gateway_log.cjs. If not, update to a newer commit that includes the file.

Option 3: Add Runtime Validation

Add validation step to verify action files are present before executing:

- name: Validate Action Files
  run: |
    if [ ! -f /opt/gh-aw/actions/parse_mcp_gateway_log.cjs ]; then
      echo "::error::Missing parse_mcp_gateway_log.cjs"
      exit 1
    fi

Action Items

  • Check commit @623e612ff6a684e9a8634449508bdda21e2c178c for required files
  • Determine if pinned commit should be updated
  • Test fix on Daily Fact workflow
  • Add runtime validation for action file presence
  • Document action file dependencies and troubleshooting

Timeline

Target Resolution: Within 24 hours
Next Check: 2026-02-07 (daily workflow health check)

References

  • Failed Run: §21748554531
  • Workflow File: .github/workflows/daily-fact.md
  • Lock File: .github/workflows/daily-fact.lock.yml
  • Setup Action: actions/setup/action.yml
  • Setup Script: actions/setup/setup.sh

📊 Workflow Health Dashboard: Health score 92/100 (good) | 1 of 145 workflows affected

Generated by Workflow Health Manager - Meta-Orchestrator on 2026-02-06

AI generated by Workflow Health Manager - Meta-Orchestrator

  • expires on Feb 7, 2026, 11:36 AM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions