Skip to content

GitHub: Run weekly tests with MicroCloud 2 and 3 - #1639

Merged
roosterfish merged 2 commits into
canonical:mainfrom
roosterfish:fix_weekly_tests
Oct 28, 2026
Merged

roosterfish merged 2 commits into
canonical:mainfrom
roosterfish:fix_weekly_tests

Conversation

@roosterfish

Copy link
Copy Markdown
Contributor

This fixes the current situation which always tries injecting the MicroCloud debug binaries built from main branch.

Instead run the weekly tests with MicroCloud 2, 3 and latest/edge.
Only in the latest/edge case inject debug binaries and collect coverage.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The change still has an active moderate issue because debug binaries remain enabled by default for the upgrade test, and coverage uploads are not fully gated for the MicroCloud 2/3 jobs.

2 open issues
What changed in this PR

Updates GitHub Actions system tests to cover MicroCloud 2, 3, and latest/edge, while limiting debug-binary sideloading and coverage collection to latest/edge tests.

Changes:

  • Expands the system-test matrix with MicroCloud 2/edge and 3/edge combinations.
  • Adds channel-specific controls for debug-binary sideloading and coverage collection.
  • Makes debug-binary downloads, sideloading, and stripping conditional.
File Summary Review findings
.github/​workflows/​tests.yml Expands the MicroCloud test matrix and configures version-specific coverage and binary sideloading. Nit: MicroCloud 2/3 jobs may still attempt coverage uploads when GOCOVERDIR is set; gate the upload on collect_coverage == 'true'.
.github/​actions/​system-test/​action.yml Adds conditional handling for downloading, sideloading, and stripping debug binaries. Moderate: sideload_debug_binaries remains enabled by default, causing the upgrade job to sideload checkout-built debug binaries. Default it to false.

Review effort: Lite

Comment thread .github/actions/system-test/action.yml Outdated
Comment thread .github/workflows/tests.yml
@roosterfish
roosterfish marked this pull request as draft October 27, 2026 21:26
This helps testing MicroCloud versions which don't match to the branch the test is running on.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Also test the latest/edge snap and use it as the base when injecting the binaries built from (main).
For all other versions don't inject binaries.
Also only collect coverage for latest/edge.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
@roosterfish
roosterfish marked this pull request as ready for review October 28, 2026 17:20
@roosterfish
roosterfish requested review from a team and simondeziel October 28, 2026 17:20
Comment thread .github/actions/system-test/action.yml
@roosterfish
roosterfish merged commit aea274d into canonical:main Oct 28, 2026
33 checks passed
@roosterfish
roosterfish deleted the fix_weekly_tests branch October 28, 2026 21:36
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.

4 participants