Skip to content

Race between webhook and artifact contents #13

@niloc132

Description

@niloc132

Downloading the contents from the latest build after the webhook is sent means we sometimes get stale content.

The init script uses

curl -L -o "$WORK_DIR/gwt-site.zip" https://nightly.link/gwtproject/gwt-site/workflows/build/main/gwt-site.zip
curl -L -o "$WORK_DIR/gwt-site-webapp.zip" https://nightly.link/gwtproject/gwt-site-webapp/workflows/build/main/gwt-site-webapp.zip

to fetch the content, and sometimes this is still old after the webhook is sent indicating "the build is complete and artifact is ready". Either we need a more reliable event/link, or a small delay before fetching content.

Metadata

Metadata

Assignees

No one assigned

    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