Skip to content

Issues around direct publishing #11

@FynnBe

Description

@FynnBe

There was a recent change that a reviewer's accept action does not dispatch the publish collection workflow, but renames the file on S3 directly instead.
@oeway , I know we talked about it, and yes the workflow mainly only renames the folder, but I gave it some more thought and would argue that we should definitely go via the workflow dispatch again because:

  1. single source of truth; if anything in the publish process changes we have to keep these two avenues in sync
  2. they have not been in sync so far as there are these differences: the collection workflow...
    • updates the collection.json which is ultimately what is shown on the website
    • writes to the log (updates the log files with the accepted status and then the published status)
    • afterwards triggers the backup workflow to backup to zenodo and generate a DOI (this is also done once a week on a schedule, so this is just causing a delay to get the DOI for the published wf)
      these changes can of course be fixed, but I want to stress again that this needs fixing only because we have issue number 1.
  3. I don't think a 3 min delay from a reviewer accepting a resource to it being published matter all too much. Given that the uploader will typically have to wait for the review longer than x minutes anyway...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions