Flamenco: Add job_type.description field to document job type. #102429

Open
opened 2022-11-11 12:32:19 +01:00 by Jeroen Bakker · 4 comments

Currently when you want to separate render jobs based on worker capabilities you have to make a copy of the render task and change its name and task type to match the worker. Perhaps in the future this could be improved. For now it would already makes sense to have a description field at job_type level, to document why job types exists and where they are based on.

https://developer.blender.org/diffusion/F/browse/main/internal/manager/job_compilers/scripts/simple_blender_render.js

const JOB_TYPE = {
    label: "Blender Render (AMD)",
    description: "Adaptation of Simple Blender Render to only select workers with blender-amd tasks types.",

    ...

}

This would require the following steps:

  • Add the description to the AvailableJobType schema in flamenco-openapi.yaml
  • Make sure the Go code loads this new field properly from JavaScript.
  • Make sure the add-on shows the description in the submission UI.
Currently when you want to separate render jobs based on worker capabilities you have to make a copy of the render task and change its name and task type to match the worker. Perhaps in the future this could be improved. For now it would already makes sense to have a `description` field at `job_type` level, to document why job types exists and where they are based on. https://developer.blender.org/diffusion/F/browse/main/internal/manager/job_compilers/scripts/simple_blender_render.js ``` const JOB_TYPE = { label: "Blender Render (AMD)", description: "Adaptation of Simple Blender Render to only select workers with blender-amd tasks types.", ... } ``` This would require the following steps: - Add the description to the `AvailableJobType` schema in `flamenco-openapi.yaml` - Make sure the Go code loads this new field properly from JavaScript. - Make sure the add-on shows the description in the submission UI.
Author

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Sybren A. Stüvel added
Type
To Do
and removed
Type
Report
labels 2023-02-17 11:10:57 +01:00

Hello, I would like to know if there is a communication channel for flameco or not. I would like to help the development of flamenco. Thank you in advance for your answer.

Hello, I would like to know if there is a communication channel for flameco or not. I would like to help the development of flamenco. Thank you in advance for your answer.
There is, more info at https://flamenco.blender.org/development/get-involved/
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/flamenco#102429
No description provided.