Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Race between webhook and artifact contents #13

Open
niloc132 opened this issue Jan 22, 2025 · 0 comments
Open

Race between webhook and artifact contents #13

niloc132 opened this issue Jan 22, 2025 · 0 comments

Comments

@niloc132
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant