Skip to content

fix(ci): restore kiota to the tools manifest (CI broken since #11)#13

Merged
ChrisonSimtian merged 1 commit into
mainfrom
fix/ci-restore-kiota
Jun 30, 2026
Merged

fix(ci): restore kiota to the tools manifest (CI broken since #11)#13
ChrisonSimtian merged 1 commit into
mainfrom
fix/ci-restore-kiota

Conversation

@ChrisonSimtian

Copy link
Copy Markdown
Collaborator

CI has been red on main since 2026-06-29. #11 (husky autoinstall) overwrote .config/dotnet-tools.json with only husky, dropping the microsoft.openapi.kiota entry. But UnifiSharp.Api's build runs dotnet kiota generate (the Generated/ client is gitignored and regenerated on build), so every build since fails:

Could not execute because the specified command or file was not found.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
src/UnifiSharp.Api/UnifiSharp.Api.csproj(39,5): error MSB3073: "dotnet kiota generate …" exited with code 1.

Fix

Re-pin microsoft.openapi.kiota 1.31.1 (the version that was there before #11) alongside husky in the tools manifest.

Verified

Full clean repro of CI's flow: rm -rf obj bin Generateddotnet tool restore (now installs kiota) → dotnet build -c Release regenerates the client and compiles → dotnet test -c Release passes.

Merge this first; it unblocks all UnifiSharp CI (incl. #12).

🤖 Generated with Claude Code

The husky-autoinstall change (#11) overwrote .config/dotnet-tools.json with only
husky, dropping the microsoft.openapi.kiota entry. But UnifiSharp.Api's build
runs `dotnet kiota generate` (Generated/ is gitignored), so every CI build since
has failed with "dotnet-kiota does not exist" (MSB3073) — main red since
2026-06-29. Re-pin kiota 1.31.1 (the version that was there) alongside husky.

Verified: full clean (rm obj/bin/Generated) → dotnet tool restore → build -c
Release regenerates the client and compiles; tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisonSimtian
ChrisonSimtian merged commit 2885026 into main Jun 30, 2026
1 check passed
@ChrisonSimtian
ChrisonSimtian deleted the fix/ci-restore-kiota branch June 30, 2026 02:05
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