You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gh-aw v0.61.0 fails when safe-outputs staged mode is enabled (ReferenceError: core is not defined) #21577
When staged safe-outputs mode is enabled, workflow execution fails during activation with a JavaScript runtime error inside gh-aw action scripts.
Version
gh-aw: v0.61.0
What fails
Job: activation
Step: Generate agentic run info
Error: ReferenceError: core is not defined
Stack includes:
staged_preview.cjs
generate_aw_info.cjs
Expected behavior
Enabling staged safe-outputs should allow activation to complete and continue normal workflow execution.
Actual behavior
Activation fails before agent execution starts, so the workflow does not proceed to normal run phases.
Minimal reproduction
Create any workflow compiled with gh-aw v0.61.0.
Configure safe-outputs with staged mode enabled.
Trigger the workflow.
Observe activation step failure with ReferenceError: core is not defined.
Notes
This appears to be an internal gh-aw runtime bug, not a workflow logic bug.
The failure happens in bundled gh-aw action scripts.
Workaround: disable staged mode.
Impact
Staged safe-outputs is currently unusable in v0.61.0.
Long-running workflows cannot use staged output commits safely.
Identify root cause: generate_aw_info step never calls setupGlobals, so global.core is not set; staged_preview.cjs uses core as a global → ReferenceError: core is not defined
Activity
pelikhan commentedon Mar 18, 2026
Identify root cause: generate_aw_info step never calls setupGlobals, so global.core is not set; staged_preview.cjs uses core as a global → ReferenceError: core is not defined