chore: sync actions from gh-aw@v0.78.1 by github-actions[bot] · Pull Request #132 · github/gh-aw-actions (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Conversation
Automated sync of actions from gh-aw at v0.78.1.
pelikhan marked this pull request as ready for review
Copilot AI review requested due to automatic review settings
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:
- Derive
COPILOT_SDK_SEND_TIMEOUT_MSautomatically fromGH_AW_TIMEOUT_MINUTES(unless explicitly set) when SDK mode is enabled. - Add per-run
COPILOT_CONNECTION_TOKENgeneration and wire it through toRuntimeConnection.forUri(...). - Plumb the new connection token through the Copilot harness → SDK driver boundary. Show a summary per file
| 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
- Files reviewed: 3/3 changed files
- Comments generated: 1
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 }})