Repository navigation
chore: run e2e weekly against supported stable DHIS2 versions - #117
Merged
HendrikThePendric merged 2 commits intoNov 2, 2026
Merged
Conversation
Replace the nightly run against core-dev images with a weekly run (Monday 4:00 UTC) against stable dhis2/core images. The version matrix is now generated from releases.dhis2.org/v1/versions/stable.json, so newly released and end-of-life versions are picked up automatically. E2E fixtures fall back to the newest older version when a version has none. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Use RegExp.exec() for the fixture directory pattern and restrict the stable.json request to HTTPS, including redirects. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
HendrikThePendric
enabled auto-merge (squash)
November 2, 2026 15:32
karolinelien
self-requested a review
November 2, 2026 15:54
karolinelien
approved these changes
Nov 2, 2026
HendrikThePendric
deleted the
chore/weekly-e2e-run-against-stable-core
branch
November 2, 2026 15:55
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
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.



Summary
core-devimages with a weekly run (Mondays 04:00 UTC) against stabledhis2/coreimages. The manualworkflow_dispatchtrigger is kept.nightly-e2e.yaml→weekly-e2e.yaml, jobweekly-e2e).supported-versionsjob readshttps://releases.dhis2.org/v1/versions/stable.json, keeps the versions withsupported: true, and drops any whosedhis2/core:<version>image is not published yet. It fails if nothing is left, and logs the versions it will test. New releases get picked up and end-of-life versions drop out without anyone editing the workflow.core-dev:master(v44) entry: dev builds gave too many false positives and there is no stable image for it.core-dev_2-42andcore-dev_2-43are renamed tocore_2-42andcore_2-43.getFixtureDirnow falls back to the newest older version's fixtures when a version has none, and fails with a clear message when there is nothing to fall back to.Notes
core-dev_2-41andcore-dev_masterfixtures are left in place but are no longer referenced.Test plan
stable.json(2.41, 2.42, 2.43), including an unpublished image being filtered outtsc, eslint and prettier passcore_2-43); no fixtures at all fails the suite with exit code 1workflow_dispatchrun on this branch is green for all supported versions🤖 Generated with Claude Code