Skip to content

ci: run multi-asset E2E wherever the e2e gate runs (cross-repo trigger)#118

Merged
AquiGorka merged 1 commit into
mainfrom
ci/multi-asset-cross-repo
Jun 15, 2026
Merged

ci: run multi-asset E2E wherever the e2e gate runs (cross-repo trigger)#118
AquiGorka merged 1 commit into
mainfrom
ci/multi-asset-cross-repo

Conversation

@AquiGorka

Copy link
Copy Markdown
Contributor

What

multi-asset.yml triggered on pull_request only, so a change in a stack repo (soroban-core / provider-platform / …) that breaks the multi-asset suite passed the e2e.yml gate — which also runs on repository_dispatch: [module-release] and workflow_dispatch — without ever running multi-asset. This closes that hole: multi-asset now runs wherever e2e runs.

Change (triggers + version-wiring only — multi-asset.yml)

  • on: now matches e2e.yml: pull_request + repository_dispatch: [module-release] + workflow_dispatch (with contracts_version / provider_version inputs).
  • A resolve job computes versions exactly like e2e — on module-release, the payload version for the triggering module (soroban-core→contracts, provider-platform→provider) and latest for the rest; on workflow_dispatch, the inputs; on PR, latest — then threads them into multi-asset-reusable.yml via with: (a uses: job can't run steps, hence the separate resolve job).
  • local_dev_ref = PR head ref, else the ref the run is on.

No changes to the suite, the Docker composes, multi-asset-reusable.yml, or e2e.yml.

Verification

  • actionlint clean on multi-asset.yml.
  • Fires on workflow_dispatch (manual run) and the resolution branch executes — verified on this branch (see PR thread / run link in the handoff).

Note (mirrors e2e, surfaced for awareness)

Like e2e.yml, resolution maps only soroban-core→contracts and provider-platform→provider; a council-platform module-release runs multi-asset against council:latest (council_version stays default). e2e has no council handling either, so this preserves the "mirror e2e exactly" scope rather than inventing a new mapping.

multi-asset.yml triggered on pull_request only, so a stack-repo change that
breaks multi-asset passed the e2e gate (which also runs on module-release +
workflow_dispatch) without ever running the suite. Mirror e2e.yml's triggers
and version-resolution:

- add repository_dispatch [module-release] + workflow_dispatch (with
  contracts_version / provider_version inputs)
- a resolve job computes versions exactly like e2e (payload version for the
  triggering module + latest for the rest on module-release; inputs on
  workflow_dispatch; latest on PR) and threads them into the reusable
- local_dev_ref = PR head ref, else the ref the run is on

Triggers + version-wiring only — no suite/compose/e2e.yml changes.
@AquiGorka AquiGorka merged commit efe6b1f into main Jun 15, 2026
12 checks passed
@AquiGorka AquiGorka deleted the ci/multi-asset-cross-repo branch June 15, 2026 18:16
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.

1 participant