Version
v5.63.0
Platform
NodeJS
What happened?
When using sandboxed processors, the Job object lacks proxy support for getDependencies() and getDependenciesCount() methods, causing a "getDependencies is not a function" runtime error.
The getChildrenValues() method already has proxy support (added in commit dcc3b06), but getDependencies() and getDependenciesCount() are missing.
How to reproduce.
export default async function(job) {
// ✅ Works - proxy exists
const childrenValues = await job.getChildrenValues();
// ❌ TypeError: job.getDependencies is not a function
const deps = await job.getDependencies();
// ❌ TypeError: job.getDependenciesCount is not a function
const depsCount = await job.getDependenciesCount();
}
Relevant log output
Code of Conduct