Skip to content

Compute license audit task results during publish workflow #5568

@AlexVelezLl

Description

@AlexVelezLl

This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Description

In #5538 and #5563, a license audit task was introduced. However, as per Richard's comment, we will do this computation at publish time instead. This will make the publish workflow take a little bit longer, but it will save us from having to invoke and track a task and download the channel version.

Technical details

  1. Since we will now handle this new computation more generally, we will have a more general focus for the community_library_invalid_licenses and community_library_special_permissions fields, and to prevent scoping these results only for community library processes, we can rename them to be non_distributable_included_licenses and included_special_permissions, respectively.
  2. We'll need to remove the task definition and add task tests.
  3. We'll need to remove the audit_licenses action on the Channel Viewset.
  4. We'll need to remove the addition of the published_data to the Channel Viewset values tuple, and the generation of the change event updating this field.
  5. In the frontend, we won't need to invoke the async task, so we'll need to remove the async task loading strings, and we'll need to get the task results directly from the version_info object.

Metadata

Metadata

Assignees

Labels

P0 - criticalPriority: Release blocker or regression

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions