@blazetrails/activejob
Job framework with pluggable queue adapters for Trails, mirroring the activejob gem
| Measure | Value |
|---|---|
| Rails counterpart | activejob v8.0.5.2 |
| API methods matched | 100% (370 of 370) |
| Rails tests matched | 100% (330 of 330) (1 permanent) |
| Ruby files ported | 38 |
| Ruby files unported | 0 |
| Measured at | fe89b44726 |
Gaps by file
No gaps recorded for this package.
Missing methods
None recorded for this package.
Unported Ruby files
Every compared Ruby file has a TypeScript file.
Deviation receipts
JSDoc receipt tags in the package's source, by the receipt each carries.
| Tag | PERMANENT | CONVERGEABLE | none |
|---|---|---|---|
@missingRailsArgs | 2 | 0 | 0 |
@inventedArm | 16 | 0 | 0 |
@inlinedFrom | 0 | 0 | 2 |
@internal | 0 | 0 | 77 |
Permanently skipped tests
None.
Ratified deviations
Each rule below is ratified in the repository's CLAUDE.md files. The first paragraph is quoted; the link opens the full section at this build's commit.
A job's perform and enqueue are async (perform_now / perform_later)
Rails runs a job synchronously. Execution#perform_now (vendor/rails/v8.0.5.2/activejob/lib/active_job/execution.rb:45-58) bumps executions, deserializes the arguments and calls _perform_job, which runs perform(*arguments) inside run_callbacks :perform (:65-70); its rescue Exception hands any error to rescue_with_handler, and returns the handler's value. ClassMethods#perform_now (:22-24) and execute(job_data) (:26-31) reach it, and perform_later / enqueue (enqueuing.rb:81-88, :112-125) hand the job to an adapter the same way.