Skip to content

Build providers before Doctor validation#28

Merged
artiphishle merged 3 commits into
mainfrom
agent/build-before-doctor-validation
Jul 12, 2026
Merged

Build providers before Doctor validation#28
artiphishle merged 3 commits into
mainfrom
agent/build-before-doctor-validation

Conversation

@artiphishle

Copy link
Copy Markdown
Collaborator

Summary

Fix the canonical CI workflow so repository providers are built before bunx @ankhorage/ankh doctor validate . runs.

Root cause

Ankh discovers the current package as a provider and imports the configured module from dist. In a fresh GitHub Actions checkout, dist does not exist until the package build runs. Local validation appeared to work because an existing local dist directory was already present.

This caused @ankhorage/doctor PR #21 to fail with provider-import-failed for dist/cli/index.js.

Changes

  • move the optional build step before Doctor validation in the canonical CI asset
  • apply the same order to Devtools' own CI workflow
  • add a patch changeset

The remaining lint, format, Knip, tests, typecheck, and changeset checks stay unchanged.

@artiphishle artiphishle self-assigned this Jul 12, 2026
@artiphishle artiphishle merged commit e9df366 into main Jul 12, 2026
1 check passed
@artiphishle artiphishle deleted the agent/build-before-doctor-validation branch July 12, 2026 02:03
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.

1 participant