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

Fix cache #23

Merged
merged 2 commits into from
Oct 10, 2024
Merged

Fix cache #23

merged 2 commits into from
Oct 10, 2024

Conversation

joverlee521
Copy link
Contributor

@joverlee521 joverlee521 commented Oct 10, 2024

Description of proposed changes

Fixes the ingest-to-phylogenetic workflow cache.

  1. Adds a message to the GH Action summary if the cache step did not find the Metadata.sha256sum for an S3 file (example).
  2. Updates the S3 URLs in the cache step to match the current S3 URLs.

Related issue(s)

Follow up to #22 (comment)

Checklist

  • Checks pass
  • Manual run cache passes and triggers phylo workflow

I noticed that even though files were update in ingest, the cache still
didn't change and phylo did not run.

Traced it back to incorrect S3 URLs leading to the use of
the default hash in the cache. Output message to the GITHUB_STEP_SUMMARY
so that we can immediately see if an S3 file doesn't have a sha256sum.

<#22 (comment)>
This workflow was originally copied from lassa which included
the `all` prefix. Removing the prefix to match the WNV S3 files so
that the cache can work as expected and trigger the phylo workflow.
@joverlee521 joverlee521 requested a review from j23414 October 10, 2024 19:05
Copy link
Collaborator

@j23414 j23414 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blah, s3 url typos, thank you!

@joverlee521
Copy link
Contributor Author

Phylo build was successfully uploaded and viewable at https://nextstrain.org/staging/WNV/genome

@joverlee521 joverlee521 merged commit 66c283e into main Oct 10, 2024
23 checks passed
@joverlee521 joverlee521 deleted the fix-cache branch October 10, 2024 20:46
@joverlee521
Copy link
Contributor Author

Today's automated run worked as expected.

I did want to note that the automated phylo workflow is still deploying to staging.

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

Successfully merging this pull request may close these issues.

3 participants