Skip to content

[AIAA] Add Copilot cloud agent environment setup workflow - #373

Merged
nate-double-u merged 1 commit into
cncf:mainfrom
nate-double-u:build/04-setup
Aug 14, 2026
Merged

[AIAA] Add Copilot cloud agent environment setup workflow#373
nate-double-u merged 1 commit into
cncf:mainfrom
nate-double-u:build/04-setup

Conversation

@nate-double-u

@nate-double-u nate-double-u commented Aug 14, 2026

Copy link
Copy Markdown
Member

Adds .github/workflows/copilot-setup-steps.yml: prepares the Copilot
cloud 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 .nvmrc with npm
cache, npm ci, via the repository's existing
npm-ci-via-cached-nvmrc composite action. The agent starts with the
toolchain ready to run npm run check instead of discovering it.

Minimal on purpose: the deterministic data-collection scripts join
these setup steps in a later build step, once they exist.

Guardrails

  • Setup runs outside the agent's firewall, so this reviewed file is
    the control over what setup fetches (section 11). It fetches only
    the repository and npm dependencies.
  • No secrets introduced; permissions: contents: read only
    (section 11 secrets policy).
  • Single job named copilot-setup-steps, the platform's contract;
    timeout-minutes: 10, well under the 59-minute session cap.

Verification

Contributes to: #372

Assisted-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Nate W <natew@cncf.io>
Copilot AI balanced review requested due to automatic review settings August 14, 2026 21:01
@netlify

netlify Bot commented Aug 14, 2026

Copy link
Copy Markdown

Deploy Preview for cncf-techdocs ready!

Name Link
🔨 Latest commit e1233c5
🔍 Latest deploy log https://app.netlify.com/projects/cncf-techdocs/deploys/6a7f823adac1ed0008f7352f
😎 Deploy Preview https://deploy-preview-373--cncf-techdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nate-double-u
nate-double-u marked this pull request as ready for review August 14, 2026 21:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

@nate-double-u
nate-double-u merged commit b161e66 into cncf:main Aug 14, 2026
10 checks passed
@nate-double-u
nate-double-u deleted the build/04-setup branch August 14, 2026 21:07
@nate-double-u nate-double-u added the CI/infra CI & infrastructure label Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/infra CI & infrastructure

Development

Successfully merging this pull request may close these issues.

2 participants