chore: sync actions from gh-aw@v0.78.1 by github-actions[bot] · Pull Request #132 · github/gh-aw-actions (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@github-actions

Automated sync of actions from gh-aw at v0.78.1.

@github-actions

@pelikhan pelikhan marked this pull request as ready for review

June 2, 2026 22:43

Copilot AI review requested due to automatic review settings

June 2, 2026 22:43

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Sync updates from gh-aw@v0.78.1 that improve Copilot SDK (headless) execution by adding per-run authentication and deriving a safer SDK sendAndWait timeout from workflow runtime limits.

Changes:

File Description
setup/js/process_runner.cjs Computes SDK env additions including an automatic COPILOT_SDK_SEND_TIMEOUT_MS based on GH_AW_TIMEOUT_MINUTES.
setup/js/copilot_sdk_driver.cjs Accepts an optional connection token and passes it into the SDK runtime connection initialization.
setup/js/copilot_harness.cjs Generates and forwards a per-run connection token and merges SDK-related env vars into child process environments.

Copilot's findings

Comment on lines 597 to 604

const sdkEnv = buildCopilotSDKEnv();
const copilotSDKMode = isCopilotSDKEnabled();
let copilotConnectionToken;
if (copilotSDKMode) {
copilotConnectionToken = generateCopilotConnectionToken();
log(`copilot-sdk mode active: COPILOT_SDK_URI=${sdkEnv.COPILOT_SDK_URI |
log("copilot-sdk mode active: generated per-run COPILOT_CONNECTION_TOKEN");
}

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

2 participants

@pelikhan