Admin API job and cancelJob don't find jobs held by InMemoryJobQueueStrategy
Author: biggamesmallworldCreated Sep 29, 2026Updated Sep 29, 2026
While verifying #5293 we noticed that InMemoryJobQueueStrategy stores jobs keyed by string id, but the Admin API resolvers pass the id through decodeId(), which returns a number. The lookup misses, so on a default config with no job queue plugin, job(jobId: ...) returns null and cancelJob fails with:
Cannot return null for non-nullable field Mutation.cancelJob.jobsById goes through the same lookup, but we didn't check it. As a result, the cancelJob fix in #5293 can't be reached from the Admin API yet.
Source: vendurehq/vendure