ci(publish): pack ANcpLua.Agents.Hosting.BitNet on alpha channel#83
Conversation
PR #77 introduced the runtime package but never appended it to the alpha-channel pack step in nuget-publish.yml, so every release since v1.4.8 shipped the other Hosting.* siblings while BitNet stayed dark on nuget.org. Consumers pin a BitNet version that does not exist and restore fails with NU1101. Channel choice: BitNet's csproj Description self-declares "Alpha- channel" and wraps the experimental bitnet.cpp llama-server runtime, so it rides the same -alpha.1 suffix as Hosting.OpenAI rather than the -preview.1 train. Trusted publishing is already covered by the existing owner-scoped ANcpLua.Agents policy on nuget.org (no per-package policy needed).
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📜 Recent review details⏰ Context from checks skipped due to timeout of 180000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🧰 Additional context used📓 Path-based instructions (1).github/workflows/**⚙️ CodeRabbit configuration file
Files:
🔇 Additional comments (1)
📝 WalkthroughWalkthroughThe NuGet publish workflow in 🚥 Pre-merge checks | ✅ 9✅ Passed checks (9 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
|
@coderabbitai autofix |
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
|
Note Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it. Autofix skipped. No unresolved CodeRabbit review comments with fix instructions found. |
|
@coderabbitai autofix |
|
Note Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it. Autofix skipped. No unresolved CodeRabbit review comments with fix instructions found. |
Summary
nuget-publish.yml. Every release sincev1.4.8shipped the otherHosting.*siblings (Anthropic / Azure / DevUI / Foundry preview, OpenAI alpha) while BitNet stayed dark on nuget.org —nuget.org/packages/ANcpLua.Agents.Hosting.BitNetstill returns 404.1.4.x-alpha.1BitNet version that has never been published, sodotnet restorefails withNU1101: Unable to find package ANcpLua.Agents.Hosting.BitNet.Hosting.BitNet.csprojself-declares"Alpha-channel BitNet (bitnet.cpp llama-server) hosting facades…"and wraps an experimental runtime, so it joins the-alpha.1suffix alongsideHosting.OpenAIrather than the-preview.1train.ANcpLua.Agents*Agents.Testing, Workflowspolicy (Owner=ANcpLua, Repo=ANcpLua.Agents, Workflow=nuget-publish.yml, Environment=nuget) already authorizes any ANcpLua-owned package, so no per-package policy is required.After this merges to
main, the next auto-bumped tag (v1.4.10—v1.4.9is the latest tag and HEAD has commits past it) will shipANcpLua.Agents.Hosting.BitNet 1.4.10-alpha.1.Test plan
artifacts/ANcpLua.Agents.Hosting.BitNet.<version>-alpha.1.nupkgand.snupkgMust Publish Packagesgate detects thesrc/**change sincev1.4.9and proceeds to publishNuGet/login@v1issues a short-lived OIDC API key — push step authorizes BitNet via the owner-scoped policyhttps://www.nuget.org/packages/ANcpLua.Agents.Hosting.BitNet200s with the new version after propagationqyl(Version.propspin bumped to1.4.10-alpha.1) restores withoutNU1101Summary by CodeRabbit