cncf / cncf/techdocs

[AIAA] Build step 4: cloud agent environment setup

Geschlossen Anfängerfreundlich
#372 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
CI/infra
Vorherrschende Sprache
TypeScript
Sterne
56
Forks
29
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Build step 4 of the AI-assisted assessment system: the agent's
environment setup.

Deliverable: `.github/workflows/copilot-setup-steps.yml`. It prepares
the cloud agent's ephemeral environment before the model starts: Node
from `.nvmrc` with npm cache and `npm ci`, through the repository's
existing `npm-ci-via-cached-nvmrc` composite action. Minimal on
purpose: the deterministic data-collection scripts join these setup
steps in a later step, once they exist.

The setup steps run outside the agent's firewall, so the reviewed
workflow file is the control over what setup fetches. This change
introduces no secrets and requests read-only contents permission.

The workflow triggers on changes to itself, so the PR that adds it
shows a green run before merge. It only takes effect for agent
sessions once merged to the default branch.

Done when an agent session's logs show the prepared environment.

- [ ] Tracking issue opened (this issue)
- [ ] Draft verified locally (assertion script green, `npm run check`
passes)
- [ ] PR opened; setup workflow runs green on the PR itself
- [ ] Merged
- [ ] Agent session logs show the prepared environment (probe #366 or
first delegated session)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit .github/workflows/copilot-setup-steps.yml, .nvmrc und der vorhandenen zusammengesetzten npm-ci-via-cached-nvmrc-Aktion, um das vorgesehene Setup zu verstehen. Führe das Assertion-Skript und npm run check lokal aus und überprüfe anschließend, dass der Workflow bei seinem PR erfolgreich durchläuft und die Agent-Session-Logs die vorbereitete Umgebung anzeigen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
github-actions, nodejs
Bereich
ci-cd
Issue-Typ
Feature
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Ruhig
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
84/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.