Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/packages/npm-package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@magicblock-labs/ephemeral-validator",
"version": "0.2.4",
"version": "0.3.0",
"description": "MagicBlock Ephemeral Validator",
"homepage": "https://github.com/magicblock-labs/ephemeral-validator#readme",
"bugs": {
Expand Down Expand Up @@ -28,11 +28,11 @@
"typescript": "^4.9.4"
},
"optionalDependencies": {
"@magicblock-labs/ephemeral-validator-darwin-arm64": "0.2.4",
"@magicblock-labs/ephemeral-validator-darwin-x64": "0.2.4",
"@magicblock-labs/ephemeral-validator-linux-arm64": "0.2.4",
"@magicblock-labs/ephemeral-validator-linux-x64": "0.2.4",
"@magicblock-labs/ephemeral-validator-windows-x64": "0.2.4"
"@magicblock-labs/ephemeral-validator-darwin-arm64": "0.3.0",
"@magicblock-labs/ephemeral-validator-darwin-x64": "0.3.0",
"@magicblock-labs/ephemeral-validator-linux-arm64": "0.3.0",
"@magicblock-labs/ephemeral-validator-linux-x64": "0.3.0",
"@magicblock-labs/ephemeral-validator-windows-x64": "0.3.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion .github/packages/npm-package/package.json.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@magicblock-labs/${node_pkg}",
"description": "Ephemeral Validator (${node_pkg})",
"version": "0.2.4",
"version": "0.3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/magicblock-labs/ephemeral-validator.git"
Expand Down
56 changes: 28 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ resolver = "2"

[workspace.package]
# Solana Version (2.2.x)
version = "0.2.4"
version = "0.3.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

Verify version mismatch: PR title indicates v3.0.0 but changes show 0.3.0.

The PR title states "release: v3.0.0" but all version changes across the repository (Cargo.toml, package.json, and package.json.tmpl) update to "0.3.0". These are semantically different versions (major version 3 vs. minor version 3 in pre-1.0). Please confirm which version is correct before merging.


🏁 Script executed:

#!/bin/bash
# Verify PR title and version changes across repo
# 1. Get PR title from GitHub
# 2. Find all version strings in config files

echo "=== PR Details ==="
gh pr view --json title,body -q '.title'

echo -e "\n=== Cargo.toml version ==="
fd -e "Cargo.toml" --exec grep -H 'version' {} \;

echo -e "\n=== package.json versions ==="
fd -e "package.json" --exec grep -H '"version"' {} \;

echo -e "\n=== package.json.tmpl versions ==="
fd -e "package.json.tmpl" --exec grep -H '"version"' {} \;

echo -e "\n=== Other version references ==="
rg -n '(version|VERSION)\s*=\s*["\']?[0-9]+\.[0-9]+\.[0-9]+' --type=toml --type=json

Length of output: 268


🏁 Script executed:

#!/bin/bash
# Broader search for version files without relying on GitHub CLI

echo "=== Repository structure (top level) ==="
ls -la | head -20

echo -e "\n=== All TOML files ==="
find . -name "*.toml" -type f 2>/dev/null

echo -e "\n=== All JSON files ==="
find . -name "*.json" -o -name "*.json.tmpl" 2>/dev/null

echo -e "\n=== Version strings in TOML files ==="
find . -name "*.toml" -type f 2>/dev/null -exec grep -H "version" {} \;

echo -e "\n=== Version strings in JSON files ==="
find . -name "*.json" -type f 2>/dev/null -exec grep -H "version" {} \;

echo -e "\n=== Version strings in JSON.tmpl files ==="
find . -name "*.json.tmpl" -type f 2>/dev/null -exec grep -H "version" {} \;

Length of output: 14382


🏁 Script executed:

#!/bin/bash
# Search for git and documentation clues about version intent

echo "=== Recent commits mentioning version ==="
git log --oneline -20 2>/dev/null | head -20

echo -e "\n=== Commit message details for HEAD ==="
git log -1 --format="%B" 2>/dev/null

echo -e "\n=== Search for CHANGELOG or release notes ==="
find . -iname "*CHANGE*" -o -iname "*RELEASE*" -o -iname "*NEWS*" 2>/dev/null | head -10

echo -e "\n=== Check .git for branch/ref info ==="
git branch -a 2>/dev/null | head -10
git symbolic-ref HEAD 2>/dev/null || echo "Detached HEAD"

echo -e "\n=== Current git status ==="
git status 2>/dev/null | head -10

Length of output: 2009


Fix version mismatch in commit message or code: "v3.0.0" vs "0.3.0".

The commit message states "release: v3.0.0", but Cargo.toml and package.json both specify "0.3.0". Given the previous release was v0.2.4, the intended version is likely 0.3.0, suggesting the commit message contains a typo. Update the commit message to "release: v0.3.0" to align with the actual version changes, or update all version strings to 3.0.0 if that was the intended major release bump.

🤖 Prompt for AI Agents
In Cargo.toml around lines 43 to 43 the version is set to "0.3.0" while the
commit message reads "release: v3.0.0"; fix the mismatch by either (A) updating
the commit message to "release: v0.3.0" to match Cargo.toml and package.json, or
(B) if the intent was a major bump to 3.0.0, update Cargo.toml and package.json
to "3.0.0" and ensure changelog/commit message and any CI/release metadata are
updated consistently.

authors = ["MagicBlock Maintainers <maintainers@magicblock.xyz>"]
repository = "https://github.com/magicblock-labs/ephemeral-validator"
homepage = "https://www.magicblock.xyz"
Expand Down
Loading