-
Notifications
You must be signed in to change notification settings - Fork 1
Automated Nextstrain Clade Monitoring & Variant Definition Creation #6
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
Open
gordonkoehn
wants to merge
53
commits into
master
Choose a base branch
from
feat/nextclade_monitor
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100d638
to
2d988c0
Compare
gordonkoehn
commented
Jul 15, 2025
gordonkoehn
commented
Jul 15, 2025
gordonkoehn
commented
Jul 15, 2025
- Triggers on push to feat/nextclade_monitor branch - Uses issue #10 as default for testing - TEMPORARY: Remove push trigger after testing
- Checkout master branch instead of feature branch - Add _bot suffix to distinguish automated files (e.g., xec_mutations_full_bot.yaml) - Update PR titles and commit messages to indicate automation - Ensure proper base branch for PR creation
- Only process issues that are still open - Exit gracefully if issue is closed or not found - Prevents processing of already resolved issues - Retry workflow already filters for open issues
- Add CovSpectrum links in issues for immediate variant checking - Include comprehensive CovSpectrum URLs in PRs (Swiss, global data) - Add 'keep open' instruction in issues for automation - Update retry schedule to every 4 hours (was daily) - Reduce max retry age to 2 days (was 7 days) - Add @gordonkoehn notifications in success/failure comments - Enhance variant-monitoring.md with complete technical design
- Restore daily retry at 18:00 UTC (was incorrectly changed to 4-hour) - Extend retry period back to 7 days (CovSpectrum can take up to 7 days) - Move CovSpectrum links to Resources section in issues - Update all retry messages to reflect correct timing - Confirm URLs use correct nextcladePangoLineage parameter
- Merged remote tracking file with new clades 25B and 25C - Keep both local workflow improvements and remote clade updates
…cowwid into feat/nextclade_monitor
Before merging:
|
Will merge with single review. Note: This GitHub automation will push to main. To update its ledger of known variants. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements a complete automation pipeline for monitoring new Nextstrain clade designations and automatically creating variant definition files for wastewater surveillance, based in mutations found in clinical sequences found on CovSpectrum once the new variant appears.
See full description for design of this automation here on MIRO.
This setup mirrors and automates our existing procedure i.e.:
ncov
.cojac sig-generate
manually open PR --> PR appears automatically fetched from CovSpectrum, assigned to usFor both the Issues and the PR, we can select to notify/assign people, i.e., to @gordonkoehn, Kyra? David?
For example, Alert see here:
For an Example PR, see here:
It's rather hard to test the scheduling of the GitHub actions, so it may very well be that we have to iterate on this mechanism. Trusting in AI so far. All manual triggering I do seems to work fine.
Detailed flow:
ncov
, makes IssueWorkflow Architecture
Testing
This automation eliminates manual variant definition creation and ensures timely updates to the wastewater monitoring system.
=======
Before merging, we still need to set "arm" the workflow, that is: