Skip to content

feat(client): add job control actions#34

Merged
mnbuhl merged 6 commits into
mainfrom
feat/client-actions
May 16, 2026
Merged

feat(client): add job control actions#34
mnbuhl merged 6 commits into
mainfrom
feat/client-actions

Conversation

@mnbuhl

@mnbuhl mnbuhl commented May 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds public client actions for cancelling pending jobs, deleting recurring schedules idempotently, and executing handlers immediately while recording terminal status.
  • Extends storage contracts and backends so recurring schedules can be deleted consistently across in-memory, EF Core, and Redis.
  • Updates README and sample projects with direct execution, dequeue, delete recurring examples, plus dashboard feature-section screenshot placement.
  • Checked with dotnet csharpier check ., dotnet build Atomizer.sln, and focused AtomizerClientTests on net8.0.

Changes

  • Adds IAtomizerClient.DequeueAsync, DeleteRecurringAsync, and ExecuteAsync, plus core implementation tests.
  • Adds IAtomizerStorage.DeleteScheduleAsync with provider implementations and storage contract coverage.
  • Adds sample API endpoints and .http examples for the new client actions.
  • Refreshes README dashboard wording so it no longer describes the action-capable dashboard as read-only.

mnbuhl and others added 2 commits May 16, 2026 14:03
Add client operations for pending job dequeue, recurring schedule deletion, and direct execution with completion/failure recording.

Document the APIs and expose sample endpoints for the in-memory, EF Core, and Redis sample projects.

Co-authored-by: Codex <noreply@openai.com>
Keep the README focused on package usage and API examples instead of sample app runtime commands.

Co-authored-by: Codex <noreply@openai.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5369cd6198

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Atomizer/Core/AtomizerClient.cs
Comment thread src/Atomizer/Core/AtomizerClient.cs
mnbuhl and others added 4 commits May 16, 2026 14:16
Add EF Core and Redis integration tests that exercise IAtomizerClient through the provider storage registrations for direct execution, pending dequeue, and recurring schedule deletion.

Co-authored-by: Codex <noreply@openai.com>
Register direct-execution heartbeat ownership before persisting processing jobs, refresh it while handlers run, and treat caller cancellation as a release instead of a failed job.

Co-authored-by: Codex <noreply@openai.com>
Remove the legacy AtomizerClient constructor that allowed direct execution without a dispatcher and make dispatcher construction fail fast when null.

Co-authored-by: Codex <noreply@openai.com>
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Health
Atomizer.EntityFrameworkCore 93%
Atomizer 27%
Atomizer 78%
Atomizer.EntityFrameworkCore 93%
Atomizer 27%
Atomizer.Redis 88%
Atomizer 27%
Atomizer.EntityFrameworkCore 93%
Atomizer 27%
Atomizer 78%
Atomizer.Redis 88%
Atomizer 27%
Atomizer 78%
Summary 60% (12722 / 22055)

@mnbuhl mnbuhl merged commit 0259591 into main May 16, 2026
1 check passed
@mnbuhl mnbuhl deleted the feat/client-actions branch May 16, 2026 12:40
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