Skip to content

Update Copilot setup workflow for containerized runner#425

Draft
JoseSantosAMD wants to merge 2 commits intomainfrom
JoseSantosAMD/fix_venv
Draft

Update Copilot setup workflow for containerized runner#425
JoseSantosAMD wants to merge 2 commits intomainfrom
JoseSantosAMD/fix_venv

Conversation

@JoseSantosAMD
Copy link
Collaborator

  • Use /opt/venv as base Python with --system-site-packages for the task venv, bridging packages via site.addsitedir() in a .pth file so editable installs (e.g. triton) are discovered correctly
  • Export UV_CACHE_DIR via $GITHUB_ENV (other env vars are set by runner-container.env)
  • Create cache directories under $RUNNER_WORKDIR
  • Install iris in editable mode (pip install -e .)
  • Add IntelliKit Python packages (linex, metrix)
  • Clone IntelliKit repo for MCP servers and install agent skills
  • Install uv for MCP server dependency management
  • Reduce timeout from 600 to 59 minutes

Made-with: Cursor

Motivation

Technical Details

Test Plan

Test Result

Submission Checklist

- Use /opt/venv as base Python with --system-site-packages for the task
  venv, bridging packages via site.addsitedir() in a .pth file so
  editable installs (e.g. triton) are discovered correctly
- Export UV_CACHE_DIR via $GITHUB_ENV (other env vars are set by
  runner-container.env)
- Create cache directories under $RUNNER_WORKDIR
- Install iris in editable mode (pip install -e .)
- Add IntelliKit Python packages (linex, metrix)
- Clone IntelliKit repo for MCP servers and install agent skills
- Install uv for MCP server dependency management
- Reduce timeout from 600 to 59 minutes

Made-with: Cursor
@github-actions github-actions bot added in-progress We are working on it iris Iris project issue labels Mar 5, 2026
cd "$GITHUB_WORKSPACE"
mkdir -p "${RUNNER_WORKDIR}/.home" "${RUNNER_WORKDIR}/.pip-cache" "${RUNNER_WORKDIR}/.tmp" "${RUNNER_WORKDIR}/.uv-cache" "${RUNNER_WORKDIR}/.cache"
echo "UV_CACHE_DIR=${RUNNER_WORKDIR}/.uv-cache" >> "$GITHUB_ENV"
/opt/venv/bin/python -m venv --system-site-packages .venv
Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks fine for now but I wonder if we can move all that logic into the apptainer image itself.

Comment on lines +62 to +63
bash -s -- --target agents --base-url https://raw.githubusercontent.com/AMDResearch/intellikit/main
cp -r .agents/skills/* .github/agents/skills/ 2>/dev/null || true
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
bash -s -- --target agents --base-url https://raw.githubusercontent.com/AMDResearch/intellikit/main
cp -r .agents/skills/* .github/agents/skills/ 2>/dev/null || true
bash -s -- --target github --base-url https://raw.githubusercontent.com/AMDResearch/intellikit/main

AMDResearch/intellikit#68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in-progress We are working on it iris Iris project issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants