Deploy copilot-client.js to /opt/gh-aw/copilot/#15629
Merged
Conversation
…osite action - Update actions/setup/setup.sh to copy copilot-client.js to /opt/gh-aw/copilot/ - Create .github/actions/copilot-client/action.yml with comprehensive logging - Add extensive logging throughout copilot-client action including: - Prerequisites verification (file existence, Node.js availability) - Configuration display and validation - Execution timing and duration tracking - Event log validation (JSONL format checking) - Artifact upload of all logs - Detailed execution summary - Add README.md documenting the copilot-client action usage Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update setup.sh to copy copilot-client.js and enhance logging
Deploy copilot-client.js and add instrumented composite action
Feb 14, 2026
pelikhan
approved these changes
Feb 14, 2026
| @@ -0,0 +1,211 @@ | |||
| name: 'Copilot Client' | |||
Per review feedback, removing the composite action file while retaining the setup.sh changes for copilot-client.js deployment. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
Deploy copilot-client.js and add instrumented composite action
Deploy copilot-client.js to /opt/gh-aw/copilot/
Feb 14, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Deploys the bundled copilot-client.js into a stable on-runner location (/opt/gh-aw/copilot/) during actions/setup, enabling runtime access outside the normal /tmp/gh-aw/actions copy path.
Changes:
- Update
actions/setup/setup.shto create/opt/gh-aw/copilot/and copyactions/setup/js/copilot-client.jsinto it. - Add documentation for a
copilot-clientcomposite action under.github/actions/copilot-client/.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| actions/setup/setup.sh | Copies copilot-client.js into /opt/gh-aw/copilot/ during setup. |
| .github/actions/copilot-client/README.md | Documents a composite action interface/behavior for running copilot-client with logging. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
pelikhan
reviewed
Feb 14, 2026
| @@ -0,0 +1,175 @@ | |||
| # Copilot Client Action | |||
Contributor
Author
There was a problem hiding this comment.
Done in 4d23f75. The README.md file has been deleted.
…t.js - Remove .github/actions/copilot-client/README.md as requested - Change warning to error when copilot-client.js is missing - Exit with error code 1 if file not found to prevent silent failures Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enables runtime access to copilot-client.js by deploying it to a dedicated directory during action setup.
Changes
copilot-client.js(190KB bundled) to/opt/gh-aw/copilot/during action setup/opt/gh-aw/copilot/directory if it doesn't existactions/setup/js/Usage
The copilot-client.js file is now available at
/opt/gh-aw/copilot/copilot-client.jsafter running:This makes the copilot-client available for direct execution or integration with other workflow steps.
Error Handling
The setup will fail with exit code 1 if
copilot-client.jsis not found, ensuring packaging or build issues are caught early rather than causing silent failures in downstream workflows.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.