Skip to content

Repoint pydantic-ai engine import from archived pydantic-ai-harness to pydantic/pydantic-ai - #64093

Merged
pelikhan merged 5 commits into
mainfrom
copilot/repoint-pydantic-ai-engine-import
Sep 29, 2026
Merged

pelikhan merged 5 commits into
mainfrom
copilot/repoint-pydantic-ai-engine-import

Conversation

Copilot AI commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

The Pydantic AI harness moved into pydantic/pydantic-ai at src/pydantic_ai_harness, and pydantic/pydantic-ai-harness is being archived. Workflows still importing the old repo path would be frozen on a stale copy once the old repo is archived.

Catalog & docs

  • .github/aw/engines.json: pydantic-ai engine import now points to pydantic/pydantic-ai/src/pydantic_ai_harness/gh-aw/pydantic.md
  • .github/aw/syntax-engine.md and docs/src/content/docs/reference/engines.md: updated the documented import path

Smoke workflow

  • .github/workflows/smoke-pydantic.md: import path updated and re-pinned to the latest commit touching that file (319d72ccf220427e59b9f4e61f17d7be52c90d68) on pydantic/pydantic-ai@main
  • Recompiled smoke-pydantic.lock.yml to match

Vendored import cache

  • Moved the cached engine definition from .github/aw/imports/pydantic/pydantic-ai-harness/... to .github/aw/imports/pydantic/pydantic-ai/<sha>/... (both the root copy and the pkg/workflow/ test fixture mirror), refreshed with the current content from the new location

Tests

  • pkg/workflow/engine_definition_test.go: updated expected import paths in engine catalog tests
# Before
imports:
  - pydantic/pydantic-ai-harness/gh-aw/pydantic.md@main

# After
imports:
  - pydantic/pydantic-ai/src/pydantic_ai_harness/gh-aw/pydantic.md@main

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 27.1 AIC · ⌖ 8.63 AIC · ⊞ 9.2K · ◷
Comment /souschef to run again


Run: https://github.com/github/gh-aw/actions/runs/36514477321

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 24.6 AIC · ⌖ 8.82 AIC · ⊞ 9.7K · ◷
Comment /souschef to run again

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update engine import for pydantic-ai to new location Repoint pydantic-ai engine import from archived pydantic-ai-harness to pydantic/pydantic-ai Sep 28, 2026
Copilot AI requested a review from pelikhan September 28, 2026 23:23
@pelikhan
pelikhan marked this pull request as ready for review September 29, 2026 00:25
Copilot AI balanced review requested due to automatic review settings September 29, 2026 00:25

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.

Copilot review overview

🟡 Changes recommended

The vendored usage examples retain the archived import path, and syntax documentation incorrectly labels the updated engine experimental.

Review effort: Balanced
Findings: 1 Low severity

Open (1)
What changed in this PR

Repoints the Pydantic AI engine integration to its maintained location in pydantic/pydantic-ai.

Changes:

  • Updates catalog, documentation, tests, and smoke workflow imports.
  • Refreshes vendored engine definitions and generated workflow.
  • Adds a patch changeset.
File Description
.changeset/​repoint-pydantic-ai-harness-to-pydantic-ai.md Records the import migration.
.github/​aw/​engines.json Updates the catalog path.
.github/​aw/​syntax-engine.md Updates syntax guidance.
.github/​aw/​imports/​pydantic/​pydantic-ai/​.../​src_pydantic_ai_harness_gh-aw_pydantic.md Refreshes the primary import cache.
.github/​workflows/​smoke-pydantic.md Repoints and pins the smoke import.
.github/​workflows/​smoke-pydantic.lock.yml Regenerates the compiled workflow.
docs/​src/​content/​docs/​reference/​engines.md Updates public engine documentation.
pkg/​workflow/​engine_definition_test.go Updates catalog expectations.
pkg/​workflow/​.github/​aw/​imports/​pydantic/​pydantic-ai/​.../​src_pydantic_ai_harness_gh-aw_pydantic.md Refreshes the test-fixture cache.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/aw/syntax-engine.md Resolved
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot Fix the code for all comments in this review thread.

When a review comment includes a suggested change, apply the suggestion exactly.

Do not make changes beyond what is described in the linked review thread.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@gh-aw-bot

Copy link
Copy Markdown
Collaborator

pr-sous-chef
@copilot There is still forward progress needed on this PR.

  • Please address the latest open review feedback from copilot-pull-request-reviewer, especially the request to remove stale experimental wording from the updated engine documentation and ensure the vendored usage examples no longer reference the archived import path.
  • A branch refresh was requested from sous-chef for this run: https://github.com/github/gh-aw/actions/runs/36508762294
  • After updating the branch, run the pr-finisher skill before handing back to maintainers.

Generated by 👨🍳 PR Sous Chef

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 27.1 AIC · ⌖ 8.63 AIC · ⊞ 9.2K · ◷
Comment /souschef to run again

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

Copilot AI commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor Author

pr-sous-chef
@copilot There is still forward progress needed on this PR.
...

Updated both vendored usage examples to the maintained import path in a11a590; the experimental wording was already corrected. Formatting, linting, workflow recompilation, the focused engine test, and the impacted-unit gate passed. PR checks are now on the new head; the PR remains blocked pending GitHub review/check state.

@copilot Fix the code for all comments in this review thread.

When a review comment includes a suggested change, apply the s...

Updated the stale import example in both vendored definitions to pydantic/pydantic-ai/src/pydantic_ai_harness/gh-aw/pydantic.md@main. Commit: a11a590.

Copilot AI requested a review from gh-aw-bot September 29, 2026 02:05
@pelikhan
pelikhan merged commit 91991c7 into main Sep 29, 2026
36 checks passed
@pelikhan
pelikhan deleted the copilot/repoint-pydantic-ai-engine-import branch September 29, 2026 04:56
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.90.1

dsfaccini added a commit to pydantic/pydantic-ai that referenced this pull request Oct 20, 2026
The v0.91.1 floor carries github/gh-aw#64093, so the tip for a missing
`imports:` line already names this repository's definition.

Co-authored-by: Mike Pfaffenberger <mike.pfaffenberger@gmail.com>
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.

Repoint the pydantic-ai engine import at pydantic/pydantic-ai

4 participants