fix(ci): restore kiota to the tools manifest (CI broken since #11)#13
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI has been red on
mainsince 2026-06-29. #11 (husky autoinstall) overwrote.config/dotnet-tools.jsonwith onlyhusky, dropping themicrosoft.openapi.kiotaentry. ButUnifiSharp.Api's build runsdotnet kiota generate(theGenerated/client is gitignored and regenerated on build), so every build since fails:Fix
Re-pin
microsoft.openapi.kiota1.31.1 (the version that was there before #11) alongsidehuskyin the tools manifest.Verified
Full clean repro of CI's flow:
rm -rf obj bin Generated→dotnet tool restore(now installs kiota) →dotnet build -c Releaseregenerates the client and compiles →dotnet test -c Releasepasses.Merge this first; it unblocks all UnifiSharp CI (incl. #12).
🤖 Generated with Claude Code