Skip to content

feat: add ContentShield EphemeralWorkers sample#13

Merged
Theauxm merged 4 commits into
mainfrom
feat/broadcaster
Mar 8, 2026
Merged

feat: add ContentShield EphemeralWorkers sample#13
Theauxm merged 4 commits into
mainfrom
feat/broadcaster

Conversation

@Theauxm
Copy link
Copy Markdown
Member

@Theauxm Theauxm commented Mar 6, 2026

Summary

  • Add ContentShield sample demonstrating the ephemeral/serverless worker pattern (UseRemoteWorkers + AddTraxJobRunner)
  • API dispatches jobs via HTTP POST to a lightweight runner process (simulates Lambda)
  • Includes 4 trains: ReviewContent, LookupModerationResult, SendViolationNotice, GenerateModerationReport
  • Remove ManifestManagerTrain.Assembly from all sample AddMediator() calls (now auto-registered)
  • Add EphemeralWorkers projects to solution file

Test plan

  • All samples build successfully
  • Solution file includes new projects

Theauxm added 4 commits March 6, 2026 13:58
Admin trains are now auto-registered by AddScheduler/AddTraxWorker/
AddTraxJobRunner. Users only need to pass their own train assemblies.
Update API and Runner Program.cs to use the new remote run
configuration and endpoint registration.
@Theauxm Theauxm merged commit afeab31 into main Mar 8, 2026
1 of 3 checks passed
@Theauxm Theauxm deleted the feat/broadcaster branch March 8, 2026 20:17
@traxsharp
Copy link
Copy Markdown

traxsharp Bot commented Mar 8, 2026

This PR is included in version 1.8.0

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.

1 participant