Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Specify columns returned in activejobs #394
A user on discourse wants to add a column to active jobs.
This ticket is to enable such a feature. It looks like it's a view only work as the data exists, we've just hard coded what the columns are.
I would think the interface for such a feature would be and environment variable listing out all the columns requested or maybe an initializer overriding the some class doing this work?
The environment variable may default to something like this:
A little technical design here would help the discussion. What parts of the code would change to accommodate this? The table in Active Jobs is filtering Info objects, so the candidate columns would need to map directly to either a method on
Also what would happen if an invalid field was added? Perhaps some type of warning that an invalid field is configured, explaining why it is empty? Or maybe the column exists but it appears with read in the header with a (!) with an explanation below.