Skip to content

fix: use stable Agave v3.1 validator in CI#477

Merged
beeman merged 1 commit into
mainfrom
beeman/validator-v3-1-ci-fix
Apr 13, 2026
Merged

fix: use stable Agave v3.1 validator in CI#477
beeman merged 1 commit into
mainfrom
beeman/validator-v3-1-ci-fix

Conversation

@beeman
Copy link
Copy Markdown
Member

@beeman beeman commented Apr 13, 2026

Request more GitHub release results and switch the validator lookup to the stable v3.1.x line so the installer URL resolves again.


Open with Devin

Summary by CodeRabbit

  • Chores
    • Updated release version queries to support v3.1 release pagination
    • Adjusted test validator startup configuration by removing a PubSub subscription flag

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 13, 2026

⚠️ No Changeset found

Latest commit: 612d8cd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 13, 2026

Warning

Rate limit exceeded

@beeman has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 8 minutes and 48 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 8 minutes and 48 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e649d02b-0c55-4b47-9cd6-95fbe4b3ae3b

📥 Commits

Reviewing files that changed from the base of the PR and between a154f4e and 612d8cd.

📒 Files selected for processing (2)
  • scripts/get-latest-validator-release-version.sh
  • scripts/start-shared-test-validator.sh
📝 Walkthrough

Walkthrough

Two validator-related shell scripts were updated: one modifies the GitHub API query for fetching latest releases with pagination and updated version prefix, while the other removes a deprecated RPC flag from the test validator startup command.

Changes

Cohort / File(s) Summary
Validator Release Fetching
scripts/get-latest-validator-release-version.sh
Updated GitHub Releases query from default endpoint to paginated query (per_page=100); changed release tag filter from v2.3. to v3.1.; added terminating newline.
Test Validator Startup
scripts/start-shared-test-validator.sh
Removed --rpc-pubsub-enable-block-subscription flag from solana-test-validator invocation while preserving all other validator configuration and shutdown logic.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A hop, skip, and query update so fine,
From v2.3 to v3.1 we align,
Block subscriptions fade away,
Test validators start fresh today!
These scripts now bloom in the spring moonshine ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating the validator version from v2.3 to v3.1 and removing incompatible flags for CI.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch beeman/validator-v3-1-ci-fix

Comment @coderabbitai help to get the list of available commands and usage tips.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 13, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
wallet-ui-docs 612d8cd Apr 13 2026, 07:41 PM

@bundlemon
Copy link
Copy Markdown

bundlemon Bot commented Apr 13, 2026

BundleMon

Unchanged files (19)
Status Path Size Limits
react/dist/index.browser.mjs
5.51KB -
react/dist/index.native.mjs
5.51KB -
react/dist/index.node.mjs
5.5KB -
react-native-kit/dist/index.browser.mjs
3.22KB -
react-native-kit/dist/index.node.mjs
3.22KB -
react-native-kit/dist/index.native.mjs
3.22KB -
react-native-web3js/dist/index.browser.mjs
2.75KB -
react-native-web3js/dist/index.native.mjs
2.75KB -
react-native-web3js/dist/index.node.mjs
2.75KB -
@wallet-ui/core production bundle
core/dist/index.production.min.js
2.21KB -
core/dist/index.browser.mjs
1.41KB -
core/dist/index.native.mjs
1.41KB -
core/dist/index.node.mjs
1.41KB -
css/dist/index.browser.mjs
328B -
tailwind/dist/index.browser.mjs
328B -
css/dist/index.native.mjs
327B -
tailwind/dist/index.native.mjs
327B -
css/dist/index.node.mjs
326B -
tailwind/dist/index.node.mjs
326B -

No change in files bundle size

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 13, 2026

Deploying react-vite-tailwind with  Cloudflare Pages  Cloudflare Pages

Latest commit: a154f4e
Status: ✅  Deploy successful!
Preview URL: https://db4ab02d.react-vite-tailwind.pages.dev
Branch Preview URL: https://beeman-validator-v3-1-ci-fix.react-vite-tailwind.pages.dev

View logs

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 13, 2026

Open in StackBlitz

@wallet-ui/core

npm i https://pkg.pr.new/@wallet-ui/core@477

@wallet-ui/css

npm i https://pkg.pr.new/@wallet-ui/css@477

@wallet-ui/react

npm i https://pkg.pr.new/@wallet-ui/react@477

@wallet-ui/react-native-kit

npm i https://pkg.pr.new/@wallet-ui/react-native-kit@477

@wallet-ui/react-native-web3js

npm i https://pkg.pr.new/@wallet-ui/react-native-web3js@477

@wallet-ui/tailwind

npm i https://pkg.pr.new/@wallet-ui/tailwind@477

commit: 612d8cd

@beeman beeman force-pushed the beeman/validator-v3-1-ci-fix branch from 483f9ba to a154f4e Compare April 13, 2026 19:33
Request more GitHub release results, switch CI to the stable Agave v3.1.x line, and stop passing the block subscription flag that panics under solana-test-validator v3.1.13.
@beeman beeman force-pushed the beeman/validator-v3-1-ci-fix branch from a154f4e to 612d8cd Compare April 13, 2026 19:34
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 1 new potential issue.

View 2 additional findings in Devin Review.

Open in Devin Review

set -e
version=$(node -e \
'fetch("https://api.github.com/repos/anza-xyz/agave/releases").then(res => res.json().then(rs => rs.filter(r => !r.prerelease && r.tag_name.startsWith("v2.3."))).then(x => console.log(x[0].tag_name)));'
'fetch("https://api.github.com/repos/anza-xyz/agave/releases?per_page=100").then(res => res.json().then(rs => rs.filter(r => !r.prerelease && r.tag_name.startsWith("v3.1."))).then(x => console.log(x[0].tag_name)));'
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🚩 Major version jump from v2.3 to v3.1 — verify compatibility

The validator version filter changed from v2.3. to v3.1., which is a major version bump. The ?per_page=100 addition is a good improvement to ensure the filtered version appears in the results. However, a jump from v2.x to v3.x may introduce breaking changes in the test validator's behavior, CLI flags, or RPC API. This is worth verifying that all live tests still pass against the new validator version. The removal of --rpc-pubsub-enable-block-subscription in the other script may itself be a consequence of this flag being removed or changed in v3.1.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@scripts/start-shared-test-validator.sh`:
- Line 27: The validator launch line uses unquoted variable expansions which can
break on spaces or glob characters; update the background command that invokes
TEST_VALIDATOR to quote the variables (e.g., use "$TEST_VALIDATOR", --ledger
"$TEST_VALIDATOR_LEDGER", and --account-dir "$FIXTURE_ACCOUNTS_DIR") while
keeping the same flags (--reset, --quiet, --rpc-pubsub-enable-vote-subscription)
and redirection (>/dev/null &) so the command is robust to spaces and special
characters.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b8ce20ef-b551-4f68-959e-04ca5bcac31f

📥 Commits

Reviewing files that changed from the base of the PR and between c25c7fd and a154f4e.

📒 Files selected for processing (2)
  • scripts/get-latest-validator-release-version.sh
  • scripts/start-shared-test-validator.sh

(
if flock -nx 200; then
$TEST_VALIDATOR --ledger $TEST_VALIDATOR_LEDGER --reset --quiet --account-dir $FIXTURE_ACCOUNTS_DIR --rpc-pubsub-enable-vote-subscription --rpc-pubsub-enable-block-subscription >/dev/null &
$TEST_VALIDATOR --ledger $TEST_VALIDATOR_LEDGER --reset --quiet --account-dir $FIXTURE_ACCOUNTS_DIR --rpc-pubsub-enable-vote-subscription >/dev/null &
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

# Read the script to see the context around line 27
cat -n scripts/start-shared-test-validator.sh | head -40

Repository: wallet-ui/wallet-ui

Length of output: 2095


🏁 Script executed:

# Check if variables are defined in the script and how they're typically used
rg -n '\$TEST_VALIDATOR|\$TEST_VALIDATOR_LEDGER|\$FIXTURE_ACCOUNTS_DIR' scripts/start-shared-test-validator.sh

Repository: wallet-ui/wallet-ui

Length of output: 399


🏁 Script executed:

# Check if there are similar patterns in other shell scripts in the repo
fd -e sh -type f | head -20

Repository: wallet-ui/wallet-ui

Length of output: 233


Quote variable expansions in the validator launch command.

Line 27 uses unquoted variable expansions that can break with spaces or glob characters in paths. The variables are already quoted in the conditional check on line 14, so this should be consistent throughout the script.

Suggested fix
-      $TEST_VALIDATOR --ledger $TEST_VALIDATOR_LEDGER --reset --quiet --account-dir $FIXTURE_ACCOUNTS_DIR --rpc-pubsub-enable-vote-subscription >/dev/null &
+      "$TEST_VALIDATOR" --ledger "$TEST_VALIDATOR_LEDGER" --reset --quiet --account-dir "$FIXTURE_ACCOUNTS_DIR" --rpc-pubsub-enable-vote-subscription >/dev/null &
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
$TEST_VALIDATOR --ledger $TEST_VALIDATOR_LEDGER --reset --quiet --account-dir $FIXTURE_ACCOUNTS_DIR --rpc-pubsub-enable-vote-subscription >/dev/null &
"$TEST_VALIDATOR" --ledger "$TEST_VALIDATOR_LEDGER" --reset --quiet --account-dir "$FIXTURE_ACCOUNTS_DIR" --rpc-pubsub-enable-vote-subscription >/dev/null &
🧰 Tools
🪛 Shellcheck (0.11.0)

[info] 27-27: Double quote to prevent globbing and word splitting.

(SC2086)


[info] 27-27: Double quote to prevent globbing and word splitting.

(SC2086)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@scripts/start-shared-test-validator.sh` at line 27, The validator launch line
uses unquoted variable expansions which can break on spaces or glob characters;
update the background command that invokes TEST_VALIDATOR to quote the variables
(e.g., use "$TEST_VALIDATOR", --ledger "$TEST_VALIDATOR_LEDGER", and
--account-dir "$FIXTURE_ACCOUNTS_DIR") while keeping the same flags (--reset,
--quiet, --rpc-pubsub-enable-vote-subscription) and redirection (>/dev/null &)
so the command is robust to spaces and special characters.

@beeman beeman merged commit 612d8cd into main Apr 13, 2026
11 checks passed
@beeman beeman deleted the beeman/validator-v3-1-ci-fix branch April 13, 2026 19:39
@github-actions
Copy link
Copy Markdown
Contributor

Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant