Skip to content

chore: add CI workflows for build/test and example run#14

Merged
Garfield550 merged 8 commits into
mainfrom
chore/add-github-actions-workflows
Apr 30, 2026
Merged

chore: add CI workflows for build/test and example run#14
Garfield550 merged 8 commits into
mainfrom
chore/add-github-actions-workflows

Conversation

@Garfield550

Copy link
Copy Markdown
Collaborator

Summary

  • add a Build and Test workflow for restore/build/test on .NET 10
  • add a Run Example workflow to execute the sample app on CI

Validation

  • local build: dotnet build Eventa.slnx --configuration Release --no-restore

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/Eventa/Support/InvokeSessionEngine.cs
Comment thread .github/workflows/run-example.yml
Comment thread .github/workflows/build-test.yml
Comment thread .github/workflows/build-test.yml
@Garfield550 Garfield550 merged commit e264011 into main Apr 30, 2026
2 checks passed
@Garfield550 Garfield550 deleted the chore/add-github-actions-workflows branch April 30, 2026 11:50
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.

2 participants