Skip to content

Bump versions to 5 and update metaboards mapping#84

Open
findolor wants to merge 3 commits into
mainfrom
findolor/bump-versions
Open

Bump versions to 5 and update metaboards mapping#84
findolor wants to merge 3 commits into
mainfrom
findolor/bump-versions

Conversation

@findolor
Copy link
Copy Markdown
Contributor

@findolor findolor commented Feb 10, 2026

Motivation

Version bump for settings and all strategy files, along with updating the metaboards mapping to the new format that supports address and url fields.

Solution

  • Bumped version from 4 to 5 in settings.yaml and all 8 .rain strategy files
  • Updated metaboards mapping to use address and url fields instead of a plain URL string
    • Base: 0x59401c9302e79eb8ac6aea659b8b3ae475715e86
    • Polygon and Arbitrum: zero address
  • Updated registry commit hash to point to the latest commit

Checks

By submitting this for review, I'm confirming I've done the following:

  • made this PR as small as possible
  • unit-tested any new functionality
  • linked any relevant issues or PRs
  • included screenshots (if this involves a front-end change)

Summary by CodeRabbit

  • Chores
    • Upgraded system version from 4 to 5.
    • Updated all registry entries to reference new versioned base URLs.
    • Restructured metaboards configuration entries with enhanced address and URL fields for improved organization and network support.

@findolor findolor self-assigned this Feb 10, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 10, 2026

Walkthrough

This PR updates registry commit hash references to a new versioned base, bumps version numbers from 4 to 5 across settings.yaml and all strategy files, and restructures metaboards configuration into structured objects with address and url fields alongside orderbook configuration augmentation.

Changes

Cohort / File(s) Summary
Registry Configuration
registry, settings.yaml
Updates registry base URL commit hash from 7eba2d7 to 1874f21; bumps settings version from 4 to 5; restructures metaboards entries (base, polygon, arbitrum) to use structured objects with address and url fields; augments orderbooks/base section with network, subgraph, deployment-block, and local-db-remote fields.
Strategy Files
src/auction-dca.rain, src/canary.rain, src/claims.rain, src/dynamic-spread.rain, src/fixed-limit.rain, src/fixed-spread.rain, src/folio.rain, src/grid.rain
Bumps version from 4 to 5 in all strategy files; no functional or structural changes to logic, control flow, or bindings.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

webapp

Suggested reviewers

  • hardyjosh
  • 0xgleb
🚥 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 summarizes the two main changes: version bumps to 5 and metaboards mapping updates, matching the changeset content.
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
  • Post copyable unit tests in a comment
  • Commit unit tests in branch findolor/bump-versions

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

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

🤖 Fix all issues with AI agents
In `@registry`:
- Around line 1-9: The registry file references raw.githubusercontent.com URLs
pinned to commit 1874f216cf22c469efc5ae5a4126d9d5a8602171 which won’t exist on
main after merge; update all occurrences of that commit SHA in the registry
entries (the raw.githubusercontent.com URLs for settings.yaml and each .rain
file: fixed-limit, auction-dca, grid, dynamic-spread, canary, claims,
fixed-spread, folio) to the final merge commit SHA that will be on main (or
switch the URLs to a SHA already present on main) so the links won’t 404 after
merging.

Comment thread registry
Comment on lines +1 to +9
https://raw.githubusercontent.com/rainlanguage/rain.strategies/1874f216cf22c469efc5ae5a4126d9d5a8602171/settings.yaml
fixed-limit https://raw.githubusercontent.com/rainlanguage/rain.strategies/1874f216cf22c469efc5ae5a4126d9d5a8602171/src/fixed-limit.rain
auction-dca https://raw.githubusercontent.com/rainlanguage/rain.strategies/1874f216cf22c469efc5ae5a4126d9d5a8602171/src/auction-dca.rain
grid https://raw.githubusercontent.com/rainlanguage/rain.strategies/1874f216cf22c469efc5ae5a4126d9d5a8602171/src/grid.rain
dynamic-spread https://raw.githubusercontent.com/rainlanguage/rain.strategies/1874f216cf22c469efc5ae5a4126d9d5a8602171/src/dynamic-spread.rain
canary https://raw.githubusercontent.com/rainlanguage/rain.strategies/1874f216cf22c469efc5ae5a4126d9d5a8602171/src/canary.rain
claims https://raw.githubusercontent.com/rainlanguage/rain.strategies/1874f216cf22c469efc5ae5a4126d9d5a8602171/src/claims.rain
fixed-spread https://raw.githubusercontent.com/rainlanguage/rain.strategies/1874f216cf22c469efc5ae5a4126d9d5a8602171/src/fixed-spread.rain
folio https://raw.githubusercontent.com/rainlanguage/rain.strategies/1874f216cf22c469efc5ae5a4126d9d5a8602171/src/folio.rain
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 | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check if the commit exists in the local repository
git rev-parse --verify 1874f216cf22c469efc5ae5a4126d9d5a8602171 2>&1

# Show recent commits to understand the commit history
echo "Recent commits:"
git log --oneline -10

# Check current branch
echo "Current branch:"
git rev-parse --abbrev-ref HEAD

# Check if this commit is on main
echo "Is commit on main?"
git log main --oneline | grep 1874f216cf22c469efc5ae5a4126d9d5a8602171 || echo "Not found on main"

Repository: rainlanguage/rain.strategies

Length of output: 222


🏁 Script executed:

#!/bin/bash
# Find the PR number from context
echo "Looking for PR information..."
git log --all --oneline | grep -i registry | head -20

# Check if there's documentation about merge process
find . -name "*.md" -o -name "*.txt" -o -name ".github" -type d | head -5

# Check GitHub Actions or CI configuration
ls -la .github/workflows/ 2>/dev/null || echo "No workflows directory"

# See if there's a script or note about updating registry
find . -type f -name "*.sh" -o -name "*registry*" | grep -v ".git" | head -10

Repository: rainlanguage/rain.strategies

Length of output: 744


🏁 Script executed:

#!/bin/bash
# Check README for registry management documentation
echo "=== README content (first 100 lines) ==="
head -100 README.md

echo ""
echo "=== Check git merge strategy hints ==="
# Check if there's a merge base between current branch and main
git merge-base --is-ancestor 1874f216cf22c469efc5ae5a4126d9d5a8602171 main 2>&1 && echo "Commit is ancestor of main" || echo "Commit is NOT ancestor of main"

# Look at the actual merge commit to see merge strategy
echo ""
echo "=== Recent merge commits ==="
git log main --grep="registry" --oneline | head -5

Repository: rainlanguage/rain.strategies

Length of output: 398


Registry commit SHA will not be reachable on main after merge—update required before or after merge.

The registry references commit 1874f216cf22c469efc5ae5a4126d9d5a8602171, which exists only on this PR branch and is not an ancestor of main. After merge, these raw.githubusercontent.com URLs will 404. Either update the registry entries with the final merge commit SHA after the PR is merged, or use a commit SHA that will exist on main before merge.

🤖 Prompt for AI Agents
In `@registry` around lines 1 - 9, The registry file references
raw.githubusercontent.com URLs pinned to commit
1874f216cf22c469efc5ae5a4126d9d5a8602171 which won’t exist on main after merge;
update all occurrences of that commit SHA in the registry entries (the
raw.githubusercontent.com URLs for settings.yaml and each .rain file:
fixed-limit, auction-dca, grid, dynamic-spread, canary, claims, fixed-spread,
folio) to the final merge commit SHA that will be on main (or switch the URLs to
a SHA already present on main) so the links won’t 404 after merging.

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