Skip to content

fix(lifecycle): always print container logs on CI failure#21

Merged
AquiGorka merged 1 commit intomainfrom
fix/lifecycle-ci-logs
Mar 18, 2026
Merged

fix(lifecycle): always print container logs on CI failure#21
AquiGorka merged 1 commit intomainfrom
fix/lifecycle-ci-logs

Conversation

@AquiGorka
Copy link
Copy Markdown
Contributor

Summary

  • Fixes the lifecycle reusable workflow to capture container logs when docker compose up -d fails (e.g. setup container exits non-zero)
  • Without this, the step exits immediately and logs are lost

Context

First CI run of the lifecycle test failed in the setup container but logs weren't visible. This ensures setup/stellar logs are always printed on failure for debugging.

Test plan

  • Merge and re-trigger soroban-core#26 / provider-platform#47 to see setup failure logs

docker compose up -d exits early if the setup service fails, skipping
the log printing. Use set +e and explicit error handling to always
capture setup/stellar logs before exiting.
@AquiGorka AquiGorka merged commit 823dfea into main Mar 18, 2026
1 check passed
@AquiGorka AquiGorka deleted the fix/lifecycle-ci-logs branch March 18, 2026 19:32
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