Repository navigation
Conversation
- net9.0 -> net10.0 (app and tests), Docker images sdk/aspnet 10.0 - MinimalTelegramBot 0.0.40 -> 0.1.0, Scrutor 6.1.0 -> 7.0.0 - TUnit 0.24.0 -> 1.81.10 - CI: .NET 10 SDK, checkout/setup-dotnet v5, run build and tests on pull requests; image publishing stays on pushes to master only Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RYcxAF7nv5jXyZ3ARrbQWA
- Replace ValueAssertCondition-based custom assertions with a single Assertion<IResult> subclass and IAssertionSource extensions - IReplyMarkup is now the ReplyMarkup class - Implement ITelegramBotClient.DownloadFile(TGFile, ...) in the mock - Drop the removed AssertConditions.Throws namespace Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RYcxAF7nv5jXyZ3ARrbQWA
The .NET 10 SDK no longer runs TUnit through the VSTest target, so opt dotnet test into the MTP runner via global.json. Also replace the obsolete HasCount(n) assertions with Count().IsEqualTo(n). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RYcxAF7nv5jXyZ3ARrbQWA
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.
Moves the bot from .NET 9 (end of support around November 2026) to .NET 10 LTS and bumps the dependencies.
Changes
net9.0net10.0sdk:9.0/aspnet:9.0sdk:10.0/aspnet:10.0CI now also runs build and tests on pull requests. Image publishing still only happens on pushes to
master, so this PR doesn't touchlatest.Follow-up fixes in this PR
ValueAssertConditioncustom assertions are replaced by oneAssertion<IResult>subclass with the sameIsMessage/IsReply/IsEmpty/HasMessageextensions; obsoleteHasCount(n)becameCount().IsEqualTo(n).IReplyMarkupis nowReplyMarkup, and the mock client implements the newDownloadFile(TGFile, ...)overload.global.jsonoptsdotnet testinto Microsoft.Testing.Platform, which the .NET 10 SDK requires for TUnit.Status
CI is green: build OK, 53/53 tests pass. The Docker image build only runs after merge (push to
master), so check that first image build before relying on the new tag.https://claude.ai/code/session_01RYcxAF7nv5jXyZ3ARrbQWA
Generated by Claude Code