Skip to content
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

fix: properly parse includes outside the Configuration plugin #2063

Merged
merged 3 commits into from
Nov 22, 2024

Conversation

rustatian
Copy link
Member

@rustatian rustatian commented Nov 21, 2024

Reason for This PR

closes: #2017
ping: @Kaspiman

Description of Changes

  • Parse includes logic in the main RR repo as well, not only for the plugins.

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

PR Checklist

[Author TODO: Meet these criteria.]
[Reviewer TODO: Verify that these criteria are met. Request changes if not]

  • All commits in this PR are signed (git commit -s).
  • The reason for this PR is clearly provided (issue no. or explanation).
  • The description of changes is clear and encompassing.
  • Any required documentation changes (code and docs) are included in this PR.
  • Any user-facing changes are mentioned in CHANGELOG.md.
  • All added/changed functionality is tested.

Summary by CodeRabbit

  • New Features

    • Enhanced configuration management with version validation and support for including external configuration files.
    • Introduced new configuration files defining RPC service parameters.
  • Bug Fixes

    • Improved error handling for configuration validation, ensuring the presence and type of version keys.
  • Tests

    • Added a new test for the NewClient method to validate configuration file handling.
  • Documentation

    • Updated configuration files to reflect new structure and parameters.

Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
@rustatian rustatian added the B-bug Bug: bug, exception label Nov 21, 2024
@rustatian rustatian requested a review from wolfy-j November 21, 2024 14:53
@rustatian rustatian self-assigned this Nov 21, 2024
Copy link
Contributor

coderabbitai bot commented Nov 21, 2024

Walkthrough

The changes in this pull request primarily focus on enhancing the configuration handling for the RPC client. The NewClient function in internal/rpc/client.go has been modified to validate the presence and type of a version key in the configuration, replacing the previous environment variable injection method. New functions for managing included configurations have been introduced in internal/rpc/includes.go. Additionally, new test cases have been added to ensure the correct functioning of the updated client configuration logic.

Changes

File Change Summary
internal/rpc/client.go Modified NewClient to validate version key; removed expandEnvViper.
internal/rpc/client_test.go Added TestNewClient_WithIncludes to test client creation with a new configuration file.
internal/rpc/includes.go Introduced functions getConfiguration and handleInclude for managing configuration files.
internal/rpc/test/include1/.rr-include.yaml New configuration file with version "3" and RPC listening address.
internal/rpc/test/include1/.rr.yaml New configuration file with version "3" and includes the above configuration file.
internal/rpc/test/config_rpc_conn_err.yaml New configuration file with version "3" and RPC listening address.
internal/rpc/test/config_rpc_empty.yaml Added version "3" to the configuration file.
internal/rpc/test/config_rpc_ok.yaml New configuration file with version "3" and RPC listen address.
internal/rpc/test/config_rpc_ok_env.yaml New configuration file with version "3" and RPC settings using an environment variable.
internal/rpc/test/config_rpc_wrong.yaml Added version "3" and new entry in the configuration file.

Assessment against linked issues

Objective Addressed Explanation
Ensure RPC configuration works when included from another file (#2017)

🐇 In the meadow, the configs now play,
With versions and includes, they frolic and sway.
No more missing addresses, no more despair,
The RPC is happy, with settings to share!
Hops of joy, in YAML they dwell,
Configurations united, all working so well! 🌼

Warning

Rate limit exceeded

@rustatian has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 16 minutes and 56 seconds before requesting another review.

⌛ 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.

📥 Commits

Reviewing files that changed from the base of the PR and between 8c9aed5 and 642e83e.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 8c9aed5 and 642e83e.

📒 Files selected for processing (7)
  • internal/rpc/client_test.go (1 hunks)
  • internal/rpc/includes.go (1 hunks)
  • internal/rpc/test/config_rpc_conn_err.yaml (1 hunks)
  • internal/rpc/test/config_rpc_empty.yaml (1 hunks)
  • internal/rpc/test/config_rpc_ok.yaml (1 hunks)
  • internal/rpc/test/config_rpc_ok_env.yaml (1 hunks)
  • internal/rpc/test/config_rpc_wrong.yaml (1 hunks)
✅ Files skipped from review due to trivial changes (5)
  • internal/rpc/test/config_rpc_conn_err.yaml
  • internal/rpc/test/config_rpc_empty.yaml
  • internal/rpc/test/config_rpc_ok.yaml
  • internal/rpc/test/config_rpc_ok_env.yaml
  • internal/rpc/test/config_rpc_wrong.yaml
🚧 Files skipped from review as they are similar to previous changes (2)
  • internal/rpc/client_test.go
  • internal/rpc/includes.go

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • 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 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.

Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
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: 5

🧹 Outside diff range and nitpick comments (4)
internal/rpc/includes.go (2)

8-13: Add documentation for version compatibility.

Consider adding comments to document:

  • The significance of version numbers
  • Breaking changes between versions
  • Why both versions are maintained
 const (
+	// versionKey is the key used to identify configuration version in yaml files
 	versionKey           string = "version"
+	// includeKey is the key used to specify additional configuration files to include
 	includeKey           string = "include"
+	// defaultConfigVersion represents the current configuration version
 	defaultConfigVersion string = "3"
+	// prevConfigVersion represents the last major version for backwards compatibility
 	prevConfigVersion    string = "2.7"
 )

1-62: Consider architectural improvements.

To enhance the maintainability and reliability of the configuration system:

  1. Consider implementing a proper logging strategy:

    • Add structured logging for configuration operations
    • Log important events like file loading and value overrides
    • Include correlation IDs for tracking configuration loading
  2. Improve error handling:

    • Create specific error types for configuration issues
    • Add context to errors for better debugging
    • Consider implementing recovery mechanisms
  3. Add comprehensive testing:

    • Test cases for circular dependencies
    • Test cases for max depth scenarios
    • Test cases for various file paths and environment variables
    • Test cases for version mismatches

Would you like me to provide example implementations for any of these suggestions?

internal/rpc/client_test.go (1)

55-65: Enhance test robustness and coverage

While the test validates basic functionality, consider these improvements:

  1. Use a random available port instead of hardcoding 6010
  2. Add assertions to verify the included configuration values
  3. Ensure proper cleanup in case of test failure

Consider this enhanced version:

 func TestNewClient_WithIncludes(t *testing.T) {
-	l, err := net.Listen("tcp", "127.0.0.1:6010")
+	// Find an available port
+	l, err := net.Listen("tcp", "127.0.0.1:0")
 	assert.NoError(t, err)
+	addr := l.Addr().(*net.TCPAddr)
+	port := addr.Port
 
-	defer func() { assert.NoError(t, l.Close()) }()
+	// Ensure cleanup even if test fails
+	defer func() {
+		if err := l.Close(); err != nil {
+			t.Errorf("failed to close listener: %v", err)
+		}
+	}()
 
 	c, err := rpc.NewClient("test/include1/.rr.yaml", nil)
+	if err != nil {
+		t.Fatalf("failed to create client: %v", err)
+	}
+	defer func() {
+		if err := c.Close(); err != nil {
+			t.Errorf("failed to close client: %v", err)
+		}
+	}()
 
 	assert.NotNil(t, c)
 	assert.NoError(t, err)
+
+	// Verify the included configuration values
+	// TODO: Add assertions to check if the values from .rr-include.yaml were properly loaded
 }

Additionally, consider adding these test cases:

  1. Test with nested includes (include file that includes another file)
  2. Test with circular includes
  3. Test with non-existent include file
  4. Test with malformed include file

Would you like me to help implement these additional test cases?

internal/rpc/client.go (1)

48-61: Consider architectural improvements for better maintainability.

While the changes address the immediate issue, consider these architectural improvements:

  1. Error Handling:

    • Create custom error types for version and include-related errors
    • This would help upstream code distinguish between different error cases
  2. Version Management:

    • Consider using semantic versioning for better version management
    • Add version compatibility matrix in documentation
  3. Configuration Management:

    • Consider adding validation for the entire configuration structure
    • Add logging for debugging configuration issues

Example implementation of custom errors:

type VersionError struct {
    Version string
    Reason  string
}

func (e *VersionError) Error() string {
    return fmt.Sprintf("invalid version %q: %s", e.Version, e.Reason)
}

type IncludeError struct {
    Path   string
    Reason string
}

func (e *IncludeError) Error() string {
    return fmt.Sprintf("failed to include %q: %s", e.Path, e.Reason)
}
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between bd93d5c and 8c9aed5.

📒 Files selected for processing (5)
  • internal/rpc/client.go (1 hunks)
  • internal/rpc/client_test.go (1 hunks)
  • internal/rpc/includes.go (1 hunks)
  • internal/rpc/test/include1/.rr-include.yaml (1 hunks)
  • internal/rpc/test/include1/.rr.yaml (1 hunks)
✅ Files skipped from review due to trivial changes (2)
  • internal/rpc/test/include1/.rr-include.yaml
  • internal/rpc/test/include1/.rr.yaml
🔇 Additional comments (1)
internal/rpc/client.go (1)

57-60: Verify include handling implementation.

The error handling for includes looks good, but we need to verify if this implementation properly addresses the original issue (#2017) where RPC plugin configuration fails when included from another file.

Let's verify the include handling implementation:

✅ Verification successful

Let's gather more information about the include handling implementation and test cases.


Let's check the included configuration file and the original issue to complete our verification.


Let's examine the includes.go file to understand the complete implementation.


Based on the implementation details we've gathered, I can now provide the final response:

Include handling implementation properly addresses the issue.

The implementation in includes.go correctly handles configuration includes by:

  • Loading and validating included files
  • Ensuring version consistency between root and included configs
  • Properly merging configurations by overriding root values with included ones using v.Set(key, val)

The test case TestNewClient_WithIncludes confirms this works with RPC configuration, and the included test configuration .rr-include.yaml demonstrates the correct structure for RPC settings.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check the handleInclude implementation and its usage

# Search for handleInclude implementation
echo "Searching for handleInclude implementation:"
ast-grep --pattern 'func handleInclude($version string, $v *viper.Viper) error {
  $$$
}'

# Search for test cases involving includes
echo -e "\nSearching for include-related test cases:"
rg -A 5 'TestNewClient.*Include'

# Search for example YAML configurations with includes
echo -e "\nSearching for YAML configurations with includes:"
rg -t yaml '(include|imports?):'

Length of output: 853


Script:

#!/bin/bash
# Check the implementation details and test configurations

# Get the content of the test file to understand test coverage
echo "Content of client_test.go with include tests:"
cat internal/rpc/client_test.go

# Check the content of include test configuration
echo -e "\nContent of include test configuration:"
cat internal/rpc/test/include1/.rr.yaml

# Search for handleInclude implementation in client.go
echo -e "\nContent of client.go around handleInclude:"
rg -B 5 -A 15 "func handleInclude"

Length of output: 3984


Script:

#!/bin/bash
# Check the included configuration and the original issue

# Get the content of the included configuration
echo "Content of included configuration:"
cat internal/rpc/test/include1/.rr-include.yaml

# Check the original issue
echo -e "\nChecking issue #2017:"
gh issue view 2017

# Check if there are any other files related to includes
echo -e "\nSearching for other include-related files:"
fd -t f "include" internal/rpc/

Length of output: 1537


Script:

#!/bin/bash
# Check the complete implementation of includes handling

# Get the content of includes.go
echo "Content of includes.go:"
cat internal/rpc/includes.go

# Search for any merge-related code in client.go
echo -e "\nSearching for config merging in client.go:"
rg -B 5 -A 10 "MergeConfig|MergeConfigMap" internal/rpc/client.go

# Check if there are any other files that might handle config merging
echo -e "\nSearching for config merging in other files:"
rg -l "MergeConfig|MergeConfigMap" internal/rpc/

Length of output: 1740

Comment on lines +15 to +37
func getConfiguration(path string) (map[string]any, string, error) {
v := viper.New()
v.SetConfigFile(path)
err := v.ReadInConfig()
if err != nil {
return nil, "", err
}

// get configuration version
ver := v.Get(versionKey)
if ver == nil {
return nil, "", errors.Str("rr configuration file should contain a version e.g: version: 2.7")
}

if _, ok := ver.(string); !ok {
return nil, "", errors.Errorf("type of version should be string, actual: %T", ver)
}

// automatically inject ENV variables using ${ENV} pattern
expandEnvViper(v)

return v.AllSettings(), ver.(string), nil
}
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

Add input validation and improve error handling.

Several improvements could make this function more robust:

  1. The path parameter should be validated before use
  2. Version validation could be more comprehensive
  3. The type assertion in the return statement could panic

Consider applying these improvements:

 func getConfiguration(path string) (map[string]any, string, error) {
+	if path == "" {
+		return nil, "", errors.Str("configuration path cannot be empty")
+	}
+
 	v := viper.New()
 	v.SetConfigFile(path)
 	err := v.ReadInConfig()
 	if err != nil {
 		return nil, "", err
 	}

 	// get configuration version
 	ver := v.Get(versionKey)
 	if ver == nil {
 		return nil, "", errors.Str("rr configuration file should contain a version e.g: version: 2.7")
 	}

 	if _, ok := ver.(string); !ok {
 		return nil, "", errors.Errorf("type of version should be string, actual: %T", ver)
 	}

+	version := ver.(string)
+	if version != defaultConfigVersion && version != prevConfigVersion {
+		return nil, "", errors.Errorf("unsupported configuration version: %s", version)
+	}

 	// automatically inject ENV variables using ${ENV} pattern
 	expandEnvViper(v)

-	return v.AllSettings(), ver.(string), nil
+	return v.AllSettings(), version, nil
 }

Committable suggestion skipped: line range outside the PR's diff.

Comment on lines 39 to 62
func handleInclude(rootVersion string, v *viper.Viper) error {
ifiles := v.GetStringSlice(includeKey)
if ifiles == nil {
return nil
}

for _, file := range ifiles {
config, version, err := getConfiguration(file)
if err != nil {
return err
}

if version != rootVersion {
return errors.Str("version in included file must be the same as in root")
}

// overriding configuration
for key, val := range config {
v.Set(key, val)
}
}

return nil
}
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

Add safety checks for configuration includes.

The current implementation has several potential issues:

  1. No cycle detection for recursive includes
  2. No depth limit for nested includes
  3. No validation of included file paths
  4. Blind overriding of configuration values might cause issues

Consider implementing these safety measures:

+const maxIncludeDepth = 10
+
+func handleInclude(rootVersion string, v *viper.Viper) error {
+	return handleIncludeWithDepth(rootVersion, v, 0, make(map[string]struct{}))
+}
+
+func handleIncludeWithDepth(rootVersion string, v *viper.Viper, depth int, visited map[string]struct{}) error {
+	if depth >= maxIncludeDepth {
+		return errors.Str("maximum include depth exceeded")
+	}
+
 	ifiles := v.GetStringSlice(includeKey)
 	if ifiles == nil {
 		return nil
 	}

 	for _, file := range ifiles {
+		// Check for cycles
+		if _, exists := visited[file]; exists {
+			return errors.Errorf("circular include detected: %s", file)
+		}
+		visited[file] = struct{}{}
+
 		config, version, err := getConfiguration(file)
 		if err != nil {
 			return err
 		}

 		if version != rootVersion {
 			return errors.Str("version in included file must be the same as in root")
 		}

 		// overriding configuration
 		for key, val := range config {
+			// Skip special keys
+			if key == versionKey || key == includeKey {
+				continue
+			}
+			// Log when overriding existing values
+			if v.IsSet(key) {
+				// TODO: Use proper logger
+				fmt.Printf("warning: overriding existing config key: %s\n", key)
+			}
 			v.Set(key, val)
 		}
+
+		// Process nested includes
+		if err := handleIncludeWithDepth(rootVersion, v, depth+1, visited); err != nil {
+			return err
+		}
 	}

 	return nil
 }
📝 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
func handleInclude(rootVersion string, v *viper.Viper) error {
ifiles := v.GetStringSlice(includeKey)
if ifiles == nil {
return nil
}
for _, file := range ifiles {
config, version, err := getConfiguration(file)
if err != nil {
return err
}
if version != rootVersion {
return errors.Str("version in included file must be the same as in root")
}
// overriding configuration
for key, val := range config {
v.Set(key, val)
}
}
return nil
}
const maxIncludeDepth = 10
func handleInclude(rootVersion string, v *viper.Viper) error {
return handleIncludeWithDepth(rootVersion, v, 0, make(map[string]struct{}))
}
func handleIncludeWithDepth(rootVersion string, v *viper.Viper, depth int, visited map[string]struct{}) error {
if depth >= maxIncludeDepth {
return errors.Str("maximum include depth exceeded")
}
ifiles := v.GetStringSlice(includeKey)
if ifiles == nil {
return nil
}
for _, file := range ifiles {
// Check for cycles
if _, exists := visited[file]; exists {
return errors.Errorf("circular include detected: %s", file)
}
visited[file] = struct{}{}
config, version, err := getConfiguration(file)
if err != nil {
return err
}
if version != rootVersion {
return errors.Str("version in included file must be the same as in root")
}
// overriding configuration
for key, val := range config {
// Skip special keys
if key == versionKey || key == includeKey {
continue
}
// Log when overriding existing values
if v.IsSet(key) {
// TODO: Use proper logger
fmt.Printf("warning: overriding existing config key: %s\n", key)
}
v.Set(key, val)
}
// Process nested includes
if err := handleIncludeWithDepth(rootVersion, v, depth+1, visited); err != nil {
return err
}
}
return nil
}

Comment on lines +61 to +64
c, err := rpc.NewClient("test/include1/.rr.yaml", nil)

assert.NotNil(t, c)
assert.NoError(t, err)
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

Add explicit validation of RPC configuration parsing

To better align with the PR objectives (fixing RPC plugin configuration includes), consider adding explicit validation of the parsed RPC configuration values.

Add assertions to verify that the RPC configuration was correctly parsed from the included file:

 	c, err := rpc.NewClient("test/include1/.rr.yaml", nil)
 
 	assert.NotNil(t, c)
 	assert.NoError(t, err)
+
+	// Verify that the RPC configuration was correctly parsed from the included file
+	cfg := c.Config() // Assuming there's a method to get the parsed config
+	assert.Equal(t, "tcp://127.0.0.1:6010", cfg.Listen, "RPC listen address should be loaded from included file")

Committable suggestion skipped: line range outside the PR's diff.


defer func() { assert.NoError(t, l.Close()) }()

c, err := rpc.NewClient("test/include1/.rr.yaml", nil)
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Codebase verification

Missing required test configuration files

The test references a configuration file at test/include1/.rr.yaml, but this path doesn't exist in the repository. The only RPC-related configuration file found is at internal/rpc/test/config_rpc_conn_err.yaml, and the test directory structure is different from what's expected in the test.

  • internal/rpc/client_test.go: Update the test to use the correct path to the configuration file, likely should be internal/rpc/test/ instead of test/include1/
🔗 Analysis chain

Verify the referenced configuration files

Let's ensure the required configuration files exist and contain the expected structure.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for the existence and content of configuration files

echo "Checking for configuration files..."
fd -t f ".rr.yaml|.rr-include.yaml" test/include1/

echo -e "\nChecking file contents..."
for f in $(fd -t f ".rr.yaml|.rr-include.yaml" test/include1/); do
  echo -e "\nContents of $f:"
  cat "$f"
done

Length of output: 458


Script:

#!/bin/bash
# Let's first check if the test directory exists and locate any .rr.yaml files
echo "Checking for test directory and configuration files..."
fd -t d "test"

echo -e "\nSearching for .rr.yaml files in the entire repository..."
fd -t f ".rr.yaml"

echo -e "\nLooking for references to test/include1 in the codebase..."
rg "test/include1" -l

Length of output: 542

internal/rpc/client.go Show resolved Hide resolved
Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
@rustatian rustatian merged commit dfb71af into master Nov 22, 2024
12 checks passed
@rustatian rustatian deleted the fix/properly-parse-includes branch November 22, 2024 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: bug, exception
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[🐛 BUG]: Config for RPC plugin does not work when included from another file
1 participant