9201ef759e
Harness Compat / harness compat (push) Failing after 0s
CI / test on 3.12 (standard) (push) Has been cancelled
CI / test on 3.13 (standard) (push) Has been cancelled
CI / test on 3.14 (standard) (push) Has been cancelled
CI / test on 3.10 (all-extras) (push) Has been cancelled
CI / test on 3.11 (all-extras) (push) Has been cancelled
CI / test on 3.12 (all-extras) (push) Has been cancelled
CI / test on 3.14 (pydantic-ai-slim) (push) Has been cancelled
CI / test on 3.10 (pydantic-evals) (push) Has been cancelled
CI / test on 3.11 (pydantic-evals) (push) Has been cancelled
CI / test on 3.12 (pydantic-evals) (push) Has been cancelled
CI / deploy-docs-preview (push) Has been cancelled
CI / build release artifacts (push) Has been cancelled
CI / publish to PyPI (push) Has been cancelled
CI / Send tweet (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / mypy (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / test on 3.10 (standard) (push) Has been cancelled
CI / test on 3.11 (standard) (push) Has been cancelled
CI / test on 3.13 (all-extras) (push) Has been cancelled
CI / test on 3.14 (all-extras) (push) Has been cancelled
CI / test on 3.10 (pydantic-ai-slim) (push) Has been cancelled
CI / test on 3.11 (pydantic-ai-slim) (push) Has been cancelled
CI / test on 3.12 (pydantic-ai-slim) (push) Has been cancelled
CI / test on 3.13 (pydantic-ai-slim) (push) Has been cancelled
CI / test on 3.13 (pydantic-evals) (push) Has been cancelled
CI / test on 3.14 (pydantic-evals) (push) Has been cancelled
CI / test on 3.10 (lowest-versions) (push) Has been cancelled
CI / test on 3.11 (lowest-versions) (push) Has been cancelled
CI / test on 3.12 (lowest-versions) (push) Has been cancelled
CI / test on 3.13 (lowest-versions) (push) Has been cancelled
CI / test on 3.14 (lowest-versions) (push) Has been cancelled
CI / test examples on 3.11 (push) Has been cancelled
CI / test examples on 3.12 (push) Has been cancelled
CI / test examples on 3.13 (push) Has been cancelled
CI / test examples on 3.14 (push) Has been cancelled
CI / coverage (push) Has been cancelled
CI / check (push) Has been cancelled
CI / deploy-docs (push) Has been cancelled
30 lines
1.2 KiB
Markdown
30 lines
1.2 KiB
Markdown
---
|
|
# Shared pre-agent-steps for the Pydantic AI gh-aw shim.
|
|
#
|
|
# These steps run after checkout but before the agent container starts, so
|
|
# they still have open-network access.
|
|
#
|
|
# Stage launcher: gh-aw's repository checkout happens between pre-steps and
|
|
# pre-agent-steps, so this step reads from .github/scripts/ in the workspace.
|
|
# The launcher is staged into gh-aw's exec-able /tmp/gh-aw/bin/ path.
|
|
#
|
|
# Pre-warm: warms the harness's uv script environment on the open network so
|
|
# the firewalled agent reuses a warm cache. Non-fatal on failure.
|
|
#
|
|
# Usage:
|
|
# imports:
|
|
# - shared/pre-agent-steps.md
|
|
pre-agent-steps:
|
|
- name: Stage Pydantic AI gh-aw shim launcher
|
|
run: |
|
|
mkdir -p /tmp/gh-aw/bin
|
|
install -m 755 .github/scripts/pydantic-ai-runner-launch.sh /tmp/gh-aw/bin/pydantic-ai-runner-launch
|
|
# Install ripgrep and expose uv+rg inside the AWF chroot.
|
|
# AWF auto-merges /opt/hostedtoolcache/**/bin into the container PATH
|
|
# and also reads $GITHUB_PATH entries added before the engine step.
|
|
- name: Install tools for AWF sandbox (ripgrep)
|
|
run: bash .github/scripts/install-sandbox-tools.sh
|
|
- name: Pre-warm Pydantic AI gh-aw shim uv environment
|
|
run: bash .github/scripts/prewarm-pydantic-ai-runner.sh
|
|
---
|