Skip to content

chore: Mergify now gently nudges folks who update RPC code to also update the Rust and JavaScript clients#1904

Merged
steveluscher merged 1 commit intoanza-xyz:masterfrom
steveluscher:gently-nudge-rpc-modifiers-to-keep-the-clients-in-sync
Jun 29, 2024
Merged

chore: Mergify now gently nudges folks who update RPC code to also update the Rust and JavaScript clients#1904
steveluscher merged 1 commit intoanza-xyz:masterfrom
steveluscher:gently-nudge-rpc-modifiers-to-keep-the-clients-in-sync

Conversation

@steveluscher
Copy link
Copy Markdown

@steveluscher steveluscher commented Jun 28, 2024

Problem

Sometimes folks add, remove, or deprecate parts of the RPC server API but don't make a related change to the Rust/JavaScript clients.

Summary of Changes

This PR makes Mergify comment on PRs that change these files, gently suggesting that the author make a change to the clients.

Test Plan

Tested in the Mergify console on PR #69.

image

Comment thread .mergify.yml
Comment on lines +174 to +176
- files~=^rpc/src/rpc\.rs$
- files~=^rpc/src/rpc_pubsub\.rs$
- files~=^rpc-client-api/src/.*\.rs$
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I think this about covers the files that could possibly have an impact on the public RPC API. If you think that we should just dragnet every .rs file in rpc/ and rpc-client-api/ then I can do that too!

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This seems like a good place to start

Copy link
Copy Markdown

@willhickey willhickey left a comment

Choose a reason for hiding this comment

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

:shipit:

Comment thread .mergify.yml
Comment on lines +174 to +176
- files~=^rpc/src/rpc\.rs$
- files~=^rpc/src/rpc_pubsub\.rs$
- files~=^rpc-client-api/src/.*\.rs$
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This seems like a good place to start

@steveluscher steveluscher merged commit 672b093 into anza-xyz:master Jun 29, 2024
@steveluscher steveluscher deleted the gently-nudge-rpc-modifiers-to-keep-the-clients-in-sync branch June 29, 2024 01:40
samkim-crypto pushed a commit to samkim-crypto/agave that referenced this pull request Jul 31, 2024
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