Skip to content

Make workflows ActiveJob-compatible - #20

Merged
zewelor merged 7 commits into
mainfrom
poc_activejob_continuation
Mar 27, 2026
Merged

Make workflows ActiveJob-compatible#20
zewelor merged 7 commits into
mainfrom
poc_activejob_continuation

Conversation

@zewelor

@zewelor zewelor commented Mar 21, 2026

Copy link
Copy Markdown
Contributor
  • Have R3x::Workflow::Base inherit ApplicationJob and include Continuable
  • Execute workflows with perform(trigger_key, trigger_payload:) calling run(ctx)
  • Change enqueuing to call workflow_class.perform_later / perform_now
  • Generate recurring tasks using workflow class name and queue_name
  • Add guard to prevent overriding #perform; require #run(ctx) in subclasses
  • Update ChangeDetectionJob, RunWorkflowJob, ManualRunner and tests to match

zewelor added 2 commits March 27, 2026 13:46
- Add planning docs for Gmail output, Google Sheets client, and OAuth2
- Provide API sketches, ClientProxy integration, env/vault naming, flows
- Recommend gems and describe modes, error handling, and usage examples
- Add a one-line todo about implementing ActiveJob Continuation for workflows
- Have R3x::Workflow::Base inherit ApplicationJob and include Continuable
- Execute workflows with perform(trigger_key, trigger_payload:) calling run(ctx)
- Change enqueuing to call workflow_class.perform_later / perform_now
- Generate recurring tasks using workflow class name and queue_name
- Add guard to prevent overriding #perform; require #run(ctx) in subclasses
- Update ChangeDetectionJob, RunWorkflowJob, ManualRunner and tests to match
@zewelor
zewelor force-pushed the poc_activejob_continuation branch from 6fe3616 to ef732b4 Compare March 27, 2026 12:46
zewelor added 5 commits March 27, 2026 13:47
- Remove draft plan file `docs/todo/plan-gmail-output.md`
- Remove stale design notes for Gmail output implementation
- Reduce noise in `docs/todo`; plan is implemented or relocated
- Remove stale TODO plan docs for Google integrations
- Delete `docs/todo/plan-google-oauth2.md`
- Delete `docs/todo/plan-google-sheets-client.md`
- Tidy docs by removing outdated planning notes
- Bump action_text-trix, bigdecimal, and parser to patch versions
- Update checksums in `Gemfile.lock` after dependency resolution
- Result of running `bundle update` to refresh transitive gems
- No application code changes; only lockfile version updates
@zewelor
zewelor merged commit 65eb15d into main Mar 27, 2026
4 checks passed
@zewelor
zewelor deleted the poc_activejob_continuation branch March 27, 2026 20:38
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