Skip to content

Copilot enabled runner#398

Closed
JoseSantosAMD wants to merge 4 commits intoROCm:mainfrom
JoseSantosAMD:copilot_enabled_runner
Closed

Copilot enabled runner#398
JoseSantosAMD wants to merge 4 commits intoROCm:mainfrom
JoseSantosAMD:copilot_enabled_runner

Conversation

@JoseSantosAMD
Copy link
Collaborator

@JoseSantosAMD JoseSantosAMD commented Feb 25, 2026

Motivation

Copilot enabled runner. Tested with hardware access.

Technical Details

Can be run both with slurm or as a script with flags/env variables.

Test Plan

Test Result

Submission Checklist

JoseSantosAMD and others added 2 commits February 25, 2026 14:16
- Introduced multiple scripts for managing GitHub Actions runners within an Apptainer container, including build, run, and cleanup functionalities.
- Added comprehensive documentation (README.md, AGENTS.md, skills.md) detailing setup, usage, and environment configuration.
- Included example environment files for both runner and container configurations to guide users in setting up their environments securely and effectively.

This update establishes a robust framework for running GitHub Actions in HPC environments, enhancing usability and maintainability.
JoseSantosAMD and others added 2 commits February 25, 2026 14:43
- Introduced a new workflow file to automate the setup of a Python virtual environment for Copilot.
- The workflow includes steps for checking out the repository, creating and activating a virtual environment, installing dependencies, and verifying ROCm and GPU visibility.
- This addition enhances the CI/CD process by streamlining the environment setup for Copilot integration.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds an Apptainer/SLURM-oriented self-hosted GitHub Actions runner setup (intended for Copilot-enabled workflows) under .github/scripts/github-runner-files/, plus supporting documentation/examples. It also includes a small formatting tweak in an example utility.

Changes:

  • Add scripts to build and run an Apptainer-based self-hosted Actions runner (SLURM job + in-container startup).
  • Add documentation and example env configuration for deploying/managing the runner.
  • Minor code cleanup in examples/common/utils.py.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
examples/common/utils.py Minor lambda formatting cleanup in timestamp JSON export.
.github/scripts/github-runner-files/start.sh In-container runner bootstrap: install/download runner, register, configure, cleanup on exit.
.github/scripts/github-runner-files/run-github-coding-agent-runner.sh SLURM/standalone entrypoint that launches the Apptainer container and wires runner env/paths.
.github/scripts/github-runner-files/build-github-coding-agent-runner.sh SLURM build job for the Apptainer image from a definition file.
.github/scripts/github-runner-files/cleanup-old-runners.sh Utility script intended to remove stale runner state / overlays.
.github/scripts/github-runner-files/README.md Setup and usage documentation for the runner.
.github/scripts/github-runner-files/skills.md Build/run quick notes for SLURM environments.
.github/scripts/github-runner-files/env.example Example host-side env file template for runner-related variables.
.github/scripts/github-runner-files/runner-container.env.example Example container-side env customization template for toolchain paths/options.
.github/scripts/github-runner-files/AGENTS.md Conventions/instructions for editing runner scripts/config in this directory.

@JoseSantosAMD
Copy link
Collaborator Author

@copilot run example 07_gemm_all_scatter and report back the teraflops

@mawad-amd
Copy link
Collaborator

#399

@mawad-amd mawad-amd closed this Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants