Skip to content

Add GHA to automatically update soroban-env on protocol-next#645

Merged
Shaptic merged 6 commits intomainfrom
auto-cargo
Apr 7, 2026
Merged

Add GHA to automatically update soroban-env on protocol-next#645
Shaptic merged 6 commits intomainfrom
auto-cargo

Conversation

@Shaptic
Copy link
Copy Markdown
Contributor

@Shaptic Shaptic commented Mar 25, 2026

What

Introduces a GitHub Action to automatically open a PR that bumps the soroban-env crate dependency to the latest revision on main (by default) periodically so that we stay in sync and get CI validation.

Why

#648

@Shaptic Shaptic changed the base branch from main to protocol-next April 3, 2026 21:45
@Shaptic Shaptic force-pushed the auto-cargo branch 3 times, most recently from 7d46765 to d351be1 Compare April 3, 2026 22:13
@Shaptic Shaptic marked this pull request as ready for review April 3, 2026 22:23
@Shaptic Shaptic requested a review from a team April 3, 2026 22:26
@Shaptic Shaptic changed the base branch from protocol-next to main April 3, 2026 22:33
Copilot AI review requested due to automatic review settings April 3, 2026 22:36
Copy link
Copy Markdown

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

Adds automation to periodically bump the soroban-env “curr” workspace dependencies to the latest rs-soroban-env main tip on the protocol-next branch by opening/updating a PR via GitHub Actions.

Changes:

  • Added scripts/update-soroban-env.sh to rewrite Cargo.toml “curr” deps to a specific git rev and update Cargo.lock accordingly.
  • Added .github/workflows/update-soroban-env.yml scheduled workflow to run the script on protocol-next and open/update a PR with the resulting manifest/lockfile changes.
  • Fixed the pull_request trigger declaration in .github/workflows/stellar-rpc.yml so PRs run the Stellar RPC workflow.

Reviewed changes

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

File Description
scripts/update-soroban-env.sh New script to set soroban-env-* -curr dependencies to a resolved git revision and update the lockfile.
.github/workflows/update-soroban-env.yml New scheduled/manual workflow to run the update script on protocol-next and create/update a PR.
.github/workflows/stellar-rpc.yml Adjusted workflow triggers to include pull_request at the correct level.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/update-soroban-env.sh
Comment thread .github/workflows/update-soroban-env.yml
@Shaptic Shaptic merged commit d74a1cc into main Apr 7, 2026
17 checks passed
@Shaptic Shaptic deleted the auto-cargo branch April 7, 2026 21:08
karthikiyer56 added a commit that referenced this pull request Apr 9, 2026
* Bump soroban-env to next protocol version (#595)

* Bump soroban-env to next protocol version
* Add required config key to mocked ledger entries
* Integrate unstable-next-api into curr (dropped arg)

* Bump soroban-env SHA to latest (#611)

* Update XDR and Core runs to test P26 integration (#629)

* Split the single core_version input into core_deb_version and core_docker_img to accommodate differences.
* Bump Core versions for P25 and add P26 run
* Bump Golang to 1.25 and linter to be compatible
* Bumped soroban-env-host curr to latest commit SHA in repo
* Bumped Go SDK to latest @protocol-next
* Added P26 limits from quickstart and removed P24 limits

* Bump crate dependencies to latest Protocol 26 versions (#640)

* Remove unimplemented GitHub Action (#643)

Snuck in with a `git add -A` on accident

* Bump Core to Protocol 26 release candidate (#642)

* Bump Core to p26 release candidate
* Bump Go SDK version to latest
* Bump to official patched env

* Ensure we strip NUL bytes before `CString::new` (#632)

* Fix deluge of linter complaints on branch merge (#646)

* Release v26.0.0 (#647)

* Tag off changelog for major release
* Bump Go SDK to official P26 version
* Bump CI to latest stable core for a final run

* Add GHA to automatically update soroban-env on protocol-next (#645)

* Preserve version string in Cargo.toml on automatic dependency bump (#672)

* Preserve version= in Cargo.toml on bump
* Simplify code: use a function, better names

* Bump to soroban-env to latest version (#673)

---------

Co-authored-by: George <Shaptic@users.noreply.github.com>
Co-authored-by: Siddharth Suresh <siddharth@stellar.org>
Co-authored-by: George <george@stellar.org>
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