chore: add CI workflows for build/test and example run#14
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds GitHub Actions CI workflows to restore/build/test the solution and to run the example app, while also tightening invoke/stream cancellation behavior and enabling NuGet lock files for some projects to support --locked-mode restores.
Changes:
- Add two CI workflows: “Build and Test” and “Run Example” targeting .NET 10.
- Enable NuGet lock-file restores for the test and example projects and commit their
packages.lock.json. - Adjust invoke session/request-stream cancellation behavior and update stream tests accordingly.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/build-test.yml |
New CI workflow to restore/build/test on PRs and pushes to main. |
.github/workflows/run-example.yml |
New CI workflow to restore and run the example app on PRs and pushes to main. |
tests/Eventa.Tests/Eventa.Tests.csproj |
Enables lock file restore for tests. |
tests/Eventa.Tests/packages.lock.json |
Adds NuGet lock file for tests. |
tests/Eventa.Tests/StreamTests.cs |
Updates cancellation assertion mechanics for a request-stream abort test. |
examples/Eventa.Example/Eventa.Example.csproj |
Enables lock file restore for the example project. |
examples/Eventa.Example/packages.lock.json |
Adds NuGet lock file for the example project. |
src/Eventa/Support/InvokeSessionEngine.cs |
Changes request dispatch scheduling to respect request cancellation token. |
src/Eventa/Support/InvokeHandlerRegistrationFactory.cs |
Adds cancellation propagation to handler response stream enumeration. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Summary
Validation