Skip to content

test: ironbird fixes [DNM] #24630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

test: ironbird fixes [DNM] #24630

wants to merge 1 commit into from

Conversation

nadim-az
Copy link

@nadim-az nadim-az commented Apr 30, 2025

Description

Closes: #XXXX


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues. Your PR will not be merged unless you satisfy
all of these items.

I have...

  • included the correct type prefix in the PR title, you can find examples of the prefixes below:
  • confirmed ! in the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • reviewed "Files changed" and left comments if necessary
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • updated the relevant documentation or specification, including comments for documenting Go code
  • confirmed all CI checks have passed

Summary by CodeRabbit

  • Style
    • Updated the startup log message to specify "ironbird API server" when the server begins running.

Copy link

ironbird-prod bot commented Apr 30, 2025

Ironbird - launch a network To use Ironbird, you can use the following commands:
  • /ironbird start OR /ironbird start --load-test-config= - Launch a testnet with the specified chain and load test configuration.
  • /ironbird chains - List of chain images that ironbird can use to spin-up testnet
  • /ironbird loadtests - List of load test modes that ironbird can run against testnet
Custom Load Test Configuration You can provide a custom load test configuration using the `--load-test-config=` flag:
/ironbird start cosmos --load-test-config={
  "block_gas_limit_target": 0.75,
  "num_of_blocks": 50,
  "msgs": [
    {"weight": 0.3, "type": "MsgSend"},
    {"weight": 0.3, "type": "MsgMultiSend"},
	{"weight": 0.4, "type": "MsgArr", "ContainedType": "MsgSend", "NumMsgs": 3300}
  ]
}

Use /ironbird loadtests to see more examples.

@nadim-az
Copy link
Author

/ironbird start simapp-v53 --load-test-config={"name":"unordered_test2","description":"unordered multisends","unordered_txs":true,"tx_timeout":"5m","num_of_txs":1000,"num_of_blocks":100,"msgs":[{"weight":1,"type":"MsgMultiSend","num_of_recipients":5}]}

Copy link

ironbird-prod bot commented Apr 30, 2025

Ironbird has started a testnet for chain simapp-v53 using loadtest unordered_test2 with runner DigitalOcean

Chain details

Chain: simapp-v53

Version: v0.53.0-rc.4

Runner: DigitalOcean

Workflow ID: simapp-v53/cosmos/cosmos-sdk/pr-24630

Run ID: 019687c9-373c-7680-ac5f-e8fc5dfa4c9d

Load test details

Load test config: {unordered_test2 unordered multisends 0 1000 100 [] [] [] [{1 MsgMultiSend 0 5}] true 5m0s}

Copy link
Contributor

coderabbitai bot commented Apr 30, 2025

📝 Walkthrough

Walkthrough

The change updates the startup log message in the API server code. The message now specifies "ironbird" in the log output when the server starts, instead of the previous generic message. No other code logic, control flow, or public API declarations were modified.

Changes

File(s) Change Summary
server/api/server.go Updated the startup log message to include "ironbird"
✨ Finishing Touches
  • 📝 Generate Docstrings

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

‼️ IMPORTANT
Auto-reply has been disabled for this repository in the CodeRabbit settings. The CodeRabbit bot will not respond to your replies unless it is explicitly tagged.

  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@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

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ace6394 and db773af.

📒 Files selected for processing (1)
  • server/api/server.go (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (16)
  • GitHub Check: test-system-legacy
  • GitHub Check: test-system
  • GitHub Check: tests (03)
  • GitHub Check: tests (02)
  • GitHub Check: tests (01)
  • GitHub Check: tests (00)
  • GitHub Check: test-sim-nondeterminism
  • GitHub Check: test-integration
  • GitHub Check: test-e2e
  • GitHub Check: build (arm64)
  • GitHub Check: Analyze
  • GitHub Check: Check up to date mocks
  • GitHub Check: build (amd64)
  • GitHub Check: golangci-lint
  • GitHub Check: Gosec
  • GitHub Check: Summary

@@ -159,7 +159,7 @@ func (s *Server) Start(ctx context.Context, cfg config.Config) error {
// an error upon failure, which we'll send on the error channel that will be
// consumed by the for block below.
go func(enableUnsafeCORS bool) {
s.logger.Info("starting API server...", "address", cfg.API.Address)
s.logger.Info("starting ironbird API server...", "address", cfg.API.Address)
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Ensure consistent branding across all API server log messages.

The startup log now includes “ironbird”, but the stopping ("stopping API server...") and error ("failed to start API server") logs still omit it. To maintain uniformity and improve clarity, update those messages to include “ironbird” as well (consider capitalizing “Ironbird” if that’s the intended branding).

🤖 Prompt for AI Agents (early access)
In server/api/server.go at line 162, the startup log message includes "ironbird" but the stopping and error log messages do not. Update the stopping and error log messages to also include "Ironbird" with consistent capitalization to ensure uniform branding across all API server logs.

@nadim-az nadim-az changed the title test: ironbird fixes test: ironbird fixes [DNM] Apr 30, 2025
@nadim-az
Copy link
Author

nadim-az commented May 2, 2025

/ironbird start simapp-v53 --load-test-config={"name":"unordered_test2","description":"unordered multisends","unordered_txs":true,"tx_timeout":"5m","num_of_txs":1000,"num_of_blocks":100,"msgs":[{"weight":1,"type":"MsgMultiSend","num_of_recipients":5}]}

Copy link

ironbird-prod bot commented May 2, 2025

Ironbird has started a testnet for chain simapp-v53 using loadtest unordered_test2 with runner DigitalOcean

Chain details

Chain: simapp-v53

Version: v0.53.0-rc.4

Runner: DigitalOcean

Workflow ID: simapp-v53/cosmos/cosmos-sdk/pr-24630

Run ID: 019691e5-53fb-7d6d-bbf8-3500570511f7

Load test details

Load test config: {unordered_test2 unordered multisends 0 1000 100 [] [] [] [{1 MsgMultiSend 0 5}] true 5m0s}

@nadim-az
Copy link
Author

nadim-az commented May 2, 2025

/ironbird start simapp-v53 --load-test-config={"name":"unordered_test2","description":"unordered multisends","unordered_txs":true,"tx_timeout":"5m","num_of_txs":1500,"num_of_blocks":100,"msgs":[{"weight":1,"type":"MsgMultiSend","num_of_recipients":5}]}

Copy link

ironbird-prod bot commented May 2, 2025

Ironbird has started a testnet for chain simapp-v53 using loadtest unordered_test2 with runner DigitalOcean

Chain details

Chain: simapp-v53

Version: v0.53.0-rc.4

Runner: DigitalOcean

Workflow ID: simapp-v53/cosmos/cosmos-sdk/pr-24630

Run ID: 01969250-2d4a-77a8-b8f8-d8ba8c762b25

Load test details

Load test config: {unordered_test2 unordered multisends 0 1500 100 [] [] [] [{1 MsgMultiSend 0 5}] true 5m0s}

@nadim-az
Copy link
Author

nadim-az commented May 2, 2025

/ironbird start simapp-v53 --load-test-config={"name":"unordered_test2","description":"unordered multisends","unordered_txs":true,"tx_timeout":"5m","num_of_txs":2500,"num_of_blocks":100,"msgs":[{"weight":1,"type":"MsgMultiSend","num_of_recipients":20}]}

Copy link

ironbird-prod bot commented May 2, 2025

Ironbird has started a testnet for chain simapp-v53 using loadtest unordered_test2 with runner DigitalOcean

Chain details

Chain: simapp-v53

Version: v0.53.0-rc.4

Runner: DigitalOcean

Workflow ID: simapp-v53/cosmos/cosmos-sdk/pr-24630

Run ID: 01969253-9c1e-7771-b4c8-e13f1dc38c7c

Load test details

Load test config: {unordered_test2 unordered multisends 0 2500 100 [] [] [] [{1 MsgMultiSend 0 20}] true 5m0s}

@nadim-az
Copy link
Author

nadim-az commented May 2, 2025

/ironbird start simapp-v53 --load-test-config={"name":"unordered_test2","description":"unordered multisends","unordered_txs":"false","num_of_txs":2500,"num_of_blocks":100,"msgs":[{"weight":1,"type":"MsgMultiSend","num_of_recipients":100}]}

Copy link

ironbird-prod bot commented May 2, 2025

Ironbird failed to run command /ironbird start simapp-v53 --load-test-config={"name":"unordered_test2","description":"unordered multisends","unordered_txs":"false","num_of_txs":2500,"num_of_blocks":100,"msgs":[{"weight":1,"type":"MsgMultiSend","num_of_recipients":100}]}:

failed to parse custom load test config: yaml: unmarshal errors:
  line 1: cannot unmarshal !!str `false` into bool

@nadim-az
Copy link
Author

nadim-az commented May 2, 2025

/ironbird start simapp-v53 --load-test-config={"name":"unordered_test3","description":"unordered multisends","unordered_txs":true,"tx_timeout":"5m","num_of_txs":2500,"num_of_blocks":100,"msgs":[{"weight":1,"type":"MsgMultiSend","num_of_recipients":20}]}

Copy link

ironbird-prod bot commented May 2, 2025

Ironbird has started a testnet for chain simapp-v53 using loadtest unordered_test3 with runner DigitalOcean

Chain details

Chain: simapp-v53

Version: v0.53.0-rc.4

Runner: DigitalOcean

Workflow ID: simapp-v53/cosmos/cosmos-sdk/pr-24630

Run ID: 01969253-9c1e-7771-b4c8-e13f1dc38c7c

Load test details

Load test config: {unordered_test3 unordered multisends 0 2500 100 [] [] [] [{1 MsgMultiSend 0 20}] true 5m0s}

@nadim-az
Copy link
Author

nadim-az commented May 2, 2025

/ironbird start simapp-v53 --load-test-config={"name":"unordered_test2","description":"unordered multisends","unordered_txs":false,"num_of_txs":2500,"num_of_blocks":100,"msgs":[{"weight":1,"type":"MsgMultiSend","num_of_recipients":100}]}

Copy link

ironbird-prod bot commented May 2, 2025

Ironbird has started a testnet for chain simapp-v53 using loadtest unordered_test2 with runner DigitalOcean

Chain details

Chain: simapp-v53

Version: v0.53.0-rc.4

Runner: DigitalOcean

Workflow ID: simapp-v53/cosmos/cosmos-sdk/pr-24630

Run ID: 01969253-9c1e-7771-b4c8-e13f1dc38c7c

Load test details

Load test config: {unordered_test2 unordered multisends 0 2500 100 [] [] [] [{1 MsgMultiSend 0 100}] false 0s}

@nadim-az
Copy link
Author

nadim-az commented May 2, 2025

/ironbird start simapp-v53 --load-test-config={"name":"unordered_test5","description":"unordered multisends","unordered_txs":false,"num_of_txs":2500,"num_of_blocks":100,"msgs":[{"weight":1,"type":"MsgMultiSend","num_of_recipients":100}]}

Copy link

ironbird-prod bot commented May 2, 2025

Ironbird has started a testnet for chain simapp-v53 using loadtest unordered_test5 with runner DigitalOcean

Chain details

Chain: simapp-v53

Version: v0.53.0-rc.4

Runner: DigitalOcean

Workflow ID: simapp-v53/cosmos/cosmos-sdk/pr-24630

Run ID: 01969253-9c1e-7771-b4c8-e13f1dc38c7c

Load test details

Load test config: {unordered_test5 unordered multisends 0 2500 100 [] [] [] [{1 MsgMultiSend 0 100}] false 0s}

@nadim-az
Copy link
Author

nadim-az commented May 2, 2025

/ironbird start simapp-v53 --load-test-config={"name":"unordered_test5","description":"unordered multisends","unordered_txs":false,"num_of_txs":2500,"num_of_blocks":100,"msgs":[{"weight":1,"type":"MsgMultiSend","num_of_recipients":100}]}

Copy link

ironbird-prod bot commented May 2, 2025

Ironbird has started a testnet for chain simapp-v53 using loadtest unordered_test5 with runner DigitalOcean

Chain details

Chain: simapp-v53

Version: v0.53.0-rc.4

Runner: DigitalOcean

Workflow ID: simapp-v53/cosmos/cosmos-sdk/pr-24630

Run ID: 0196927d-00d6-7a2f-adf7-90da091f987f

Load test details

Load test config: {unordered_test5 unordered multisends 0 2500 100 [] [] [] [{1 MsgMultiSend 0 100}] false 0s}

@nadim-az
Copy link
Author

nadim-az commented May 5, 2025

/ironbird start simapp-v53 --load-test-config={"name":"unordered_test5","description":"unordered multisends","unordered_txs":false,"num_of_txs":2500,"num_of_blocks":100,"msgs":[{"weight":1,"type":"MsgMultiSend","num_of_recipients":100}]}

Copy link

ironbird-prod bot commented May 5, 2025

Ironbird has started a testnet for chain simapp-v53 using loadtest unordered_test5 with runner DigitalOcean

Chain details

Chain: simapp-v53

Version: v0.53.0-rc.4

Runner: DigitalOcean

Workflow ID: simapp-v53/cosmos/cosmos-sdk/pr-24630

Run ID: 0196a170-3414-73ab-82b6-788de077818c

Load test details

Load test config: {unordered_test5 unordered multisends 0 2500 100 [] [] [] [{1 MsgMultiSend 0 100}] false 0s}

@nadim-az
Copy link
Author

nadim-az commented May 9, 2025

/ironbird start simapp-v53 --load-test-config={"name":"unordered_test5","description":"unordered multisends","unordered_txs":false,"num_of_txs":2500,"num_of_blocks":100,"msgs":[{"weight":1,"type":"MsgMultiSend","num_of_recipients":100}]}

Copy link

ironbird-prod bot commented May 9, 2025

Ironbird has started a testnet for chain simapp-v53 using loadtest unordered_test5 with runner DigitalOcean

Chain details

Chain: simapp-v53

Version: v0.53.0-rc.4

Runner: DigitalOcean

Workflow ID: simapp-v53/cosmos/cosmos-sdk/pr-24630

Run ID: 0196b558-2259-7843-9fa7-faedd6512c8b

Load test details

Load test config: {unordered_test5 unordered multisends 0 2500 100 [] [] [] [{1 MsgMultiSend 0 100}] false 0s}

@nadim-az
Copy link
Author

nadim-az commented May 9, 2025

/ironbird start simapp-v53 --load-test-config={"name":"unordered_test2","description":"unordered multisends","unordered_txs":false,"num_of_txs":2500,"num_of_blocks":100,"msgs":[{"weight":1,"type":"MsgMultiSend","num_of_recipients":100}]}

Copy link

ironbird-prod bot commented May 9, 2025

Ironbird has started a testnet for chain simapp-v53 using loadtest unordered_test2 with runner DigitalOcean

Chain details

Chain: simapp-v53

Version: v0.53.0-rc.4

Runner: DigitalOcean

Workflow ID: simapp-v53/cosmos/cosmos-sdk/pr-24630

Run ID: 0196b567-ad86-7dd3-b947-28b992255a03

Load test details

Load test config: {unordered_test2 unordered multisends 0 2500 100 [] [] [] [{1 MsgMultiSend 0 100}] false 0s}

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