Skip to content

Conversation

@leighmcculloch
Copy link
Member

@leighmcculloch leighmcculloch commented Dec 10, 2025

Description

Add three GitHub Actions workflows that build and test quickstart images on pull requests. Each workflow targets a different base image: testing, nightly, and nightly-next. The workflows build stellar-core from the PR branch and run quickstart built-in tests that check that the network is up, and other software components are ingesting and syncing, and that someone can do some payments (this happens via friendbot).

This change is an experiment to see if we get useful feedback about potential breakages to other downstream systems earlier in the development life cycle. The workflows only target pull requests and not push because the quick start repository already runs nightly builds of all software components' default branches.

The intent with running this on pull requests is that the repo does have long-lived pull requests from time to time. The goal is to give developers working on Stellar Core earlier feedback if changes they're making are likely to break downstream systems.

Failures in these builds, should not block merges. As we figure out how to best tune the build an to evaluate if it's value, if failures occur, they can be ignored, but would appreciate a comment in this slack channel.

The protocol default version config parameter in the change will be able to disappear after:

There is no issue for this change, but it was discussed prior here.

cc @sisuresh @anupsdf

Checklist

  • Reviewed the contributing document
  • Rebased on top of master (no merge commits)
  • Ran clang-format v8.0.0 (via make format or the Visual Studio extension)
  • Compiles
  • Ran all tests
  • If change impacts performance, include supporting evidence per the performance document

Copilot AI review requested due to automatic review settings December 10, 2025 04:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds experimental GitHub Actions workflows to test stellar-core changes against quickstart environments on pull requests. The goal is to provide early feedback about potential breaking changes to downstream systems before merging code.

  • Three workflows targeting different base images: testing, nightly, and nightly-next
  • Each workflow builds stellar-core from the PR branch and runs quickstart integration tests
  • Configured to run only on pull requests (not on push) since quickstart already runs nightly builds

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/quickstart-testing.yml Adds quickstart workflow for testing base image with protocol version 25
.github/workflows/quickstart-nightly.yml Adds quickstart workflow for nightly base image with protocol version 25
.github/workflows/quickstart-nightly-next.yml Adds quickstart workflow for nightly-next base image with protocol version 26 and horizon protocol check skip

@leighmcculloch
Copy link
Member Author

leighmcculloch commented Dec 10, 2025

The new builds are failing due to a bug in Quickstart, which is being fixed in the following pull request:

leighmcculloch added a commit to stellar/quickstart that referenced this pull request Dec 10, 2025
### What
Compact the input json making it a single line for passing into the
GITHUB_ENV that can only support single line, unless more complex
scripting is used.

### Why
I recently made a change to the build workflow that removed a line that
ensured the JSON was compact. The bug doesn't affect builds in this
repository because the images.json is always compacted onto a single
line before it even gets to this step. But builds coming from other
repositories are not, because this is the first step they see and where
the compaction needs to happen.

Failing builds can be seen at:
- stellar/stellar-core#5058
-
https://github.com/stellar/stellar-core/actions/runs/20087758923/job/57628911263?pr=5058
@leighmcculloch

This comment was marked as outdated.

@leighmcculloch leighmcculloch marked this pull request as ready for review December 16, 2025 04:47
@leighmcculloch leighmcculloch force-pushed the add-quickstart-workflow-ci branch from 9efa995 to 5ecc3b6 Compare December 18, 2025 10:48
@leighmcculloch
Copy link
Member Author

@sisuresh I've rebased this pr and it's ready to review and merge.

Also, I realised just now I accidentally opened this change on a local branch instead of a fork branch. Apologies for that. I didn't realise I had the ability to do that.

@sisuresh sisuresh added this pull request to the merge queue Dec 18, 2025
Merged via the queue into master with commit c39ed1c Dec 18, 2025
40 checks passed
@sisuresh sisuresh deleted the add-quickstart-workflow-ci branch December 18, 2025 22:03
@leighmcculloch leighmcculloch self-assigned this Jan 6, 2026
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.

3 participants