Skip to content

ci: test starflow run-spread action in spread workflows - #6545

Draft
mr-cal-bot wants to merge 3 commits into
canonical:mainfrom
mr-cal-bot:work/junit-for-spread
Draft

mr-cal-bot wants to merge 3 commits into
canonical:mainfrom
mr-cal-bot:work/junit-for-spread

Conversation

@mr-cal-bot

Copy link
Copy Markdown
Contributor

Test PR for the new run-spread action in starflow (branch work/junit-for-spread), which runs spread and publishes the results as JUnit XML artifacts.

Changes

  • spread.yml: both integration jobs now use canonical/starflow/run-spread@work/junit-for-spread instead of calling spread directly. The Ubuntu Pro token check is split into its own gating step so the action step stays declarative.
  • spread-manual.yaml: all seven jobs (kernel, initrd, remote-build, colcon, extensions, snapd-bases, squid-proxy) converted, each with a unique junit-name.
  • Every spread step is followed by an if: always() artifact upload of results/junit*.xml.
  • spread-docs.yaml is not converted: its spread openstack:...docs... invocation is a placeholder.

What to look for

  • JUnit XML artifacts (test-results-*) attached to failed and successful runs.
  • Failing tasks carry spread's error message and the ----- error block as failure text.
  • Aborted/never-started tasks (e.g. after an environment prepare failure) show up as skipped cases named from spread -list.
  • spread -list failures degrade to a warning, not a job failure.
  • On this fork PR the secret-gated paths (Ubuntu Pro, store, UA) are skipped by design; the core spread runs still exercise the action.

Do not merge: this exists to exercise the action against real spread workflows. Once the starflow side lands, re-pin to canonical/starflow/run-spread@main or close.

Signed-off-by: mr-cal-bot <callahanlovesshopping@gmail.com>
@mr-cal-bot
mr-cal-bot requested a review from mr-cal as a code owner November 5, 2026 20:12
@mr-cal mr-cal added the PR: Run Manual Spread This PR should run the manual test suite. label Nov 5, 2026
@mr-cal
mr-cal marked this pull request as draft November 5, 2026 20:27
Artifact names cannot contain colons, so the matrix job name is
sanitized before use. Pin upload-artifact to a hash for zizmor.

Signed-off-by: mr-cal-bot <callahanlovesshopping@gmail.com>
Signed-off-by: mr-cal-bot <callahanlovesshopping@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Run Manual Spread This PR should run the manual test suite.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants