[AIAA] Add Copilot cloud agent environment setup workflow - #373
Merged
Conversation
Assisted-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Nate W <natew@cncf.io>
✅ Deploy Preview for cncf-techdocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
nate-double-u
marked this pull request as ready for review
August 14, 2026 21:02
Contributor
There was a problem hiding this comment.
Pull request overview
Adds the Copilot cloud agent setup workflow, preparing Node.js and npm dependencies before agent execution.
Changes:
- Adds self-validation and manual triggers.
- Uses read-only permissions and a 10-minute timeout.
- Reuses the existing cached npm installation action.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
Adds
.github/workflows/copilot-setup-steps.yml: prepares the Copilotcloud agent's ephemeral environment. Build step 4 (spec section 16),
environment per section 11. Tracking: #372.
What it does
Before the agent's model starts: checkout, Node from
.nvmrcwith npmcache,
npm ci, via the repository's existingnpm-ci-via-cached-nvmrccomposite action. The agent starts with thetoolchain ready to run
npm run checkinstead of discovering it.Minimal on purpose: the deterministic data-collection scripts join
these setup steps in a later build step, once they exist.
Guardrails
the control over what setup fetches (section 11). It fetches only
the repository and npm dependencies.
permissions: contents: readonly(section 11 secrets policy).
copilot-setup-steps, the platform's contract;timeout-minutes: 10, well under the 59-minute session cap.Verification
self-scoped validation triggers, least permissions, exact steps, no
secrets).
npm run checkpasses."Copilot Setup Steps" run before merge.
is the done-when; lands with the probe delegation ([AIAA] Build probe: first cloud-agent delegation (section 17 checks 1-5) #366) or the
first delegated session, recorded on [AIAA] Build step 4: cloud agent environment setup #372.
Contributes to: #372