@blazetrails/solid-queue
Database-backed Active Job backend for Trails, mirroring the solid_queue gem
| Measure | Value |
|---|---|
| Rails counterpart | solid_queue v1.7.2 |
| API methods matched | 100% (957 of 957) |
| Rails tests matched | 100% (261 of 261) (3 permanent) |
| Ruby files ported | 76 |
| 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 |
|---|---|---|---|
@missingRailsCall | 1 | 1 | 0 |
@missingRailsArgs | 2 | 0 | 0 |
@inventedArm | 2 | 3 | 0 |
@inlinedFrom | 0 | 0 | 5 |
@internal | 0 | 0 | 312 |
Permanently skipped tests
The application loader is Zeitwerk (Rails.autoloaders) (1)
Runtime facts Node does not expose (2)
FiberPool inlines the async gem (fiber_pool.rb) (1)
A Gemfile is a package.json (GemfileEntry, bundle install, gemspec) (2)
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.
Runtime facts Node does not expose
Each of these is a Ruby or C-library fact with no Node source. They are ratified here so no port re-derives them.
Record's class body runs in a solid_queue_record load hook (record.rb:7)
SolidQueue::Record's class body line connects_to(**SolidQueue.connects_to) if SolidQueue.connects_to (vendor/solid_queue/v1.7.2/app/models/solid_queue/record.rb:7) runs from the solid_queue.config initializer in trails, not from record.ts. Rails reads it when Zeitwerk first loads the class, which is after the solid_queue.config initializer (vendor/solid_queue/v1.7.2/lib/solid_queue/engine.rb:13-17) has copied config.solid_queue onto SolidQueue. ESM evaluates record.ts as soon as the package entry is imported, before any initializer, because framework packages stay ES modules and only application code goes through Zeitwerk (packages/trailties/CLAUDE.md § "The application loader is Zeitwerk"). An engine-driven deferred load of app/models was considered and rejected: it needs a loader with no Rails body to mirror, and still runs only under config.eager_load. The solid_queue_record load hook this section's heading names is now only the run_load_hooks call at record.rb:19.
packages/solid-queue/CLAUDE.md →
FiberPool inlines the async gem (fiber_pool.rb)
SolidQueue::FiberPool (vendor/solid_queue/v1.7.2/lib/solid_queue/fiber_pool.rb) runs its executions under the async gem. trails does not port async; by operator ruling on 2026-11-17 its two uses are inlined into FiberPool:
packages/solid-queue/CLAUDE.md →
The application loader is Zeitwerk (Rails.autoloaders)
RFC 0213 reversed the "no autoloader" ruling: Zeitwerk is vendored and ported, and Trails.autoloaders holds main and once (railties/lib/rails/autoloaders.rb). The directory scan is gone.
packages/trailties/CLAUDE.md →
A Gemfile is a package.json (GemfileEntry, bundle install, gemspec)
A trails app ships through npm and pnpm, so Rails' Gemfile, Bundler and gemspec surface (vendor/rails/v8.0.5.2/railties/lib/rails/generators/app_base.rb's GemfileEntry, gemfile_entries, the *_gemfile_entry builders, exec_bundle_command, add_bundler_platforms; plugin_generator.rb's gemspec; benchmark_generator.rb's add_ips_to_gemfile) is ported onto this mapping. Ruled by the operator on 2026-11-19.