Skip to content

Conversation

@WendelHime
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings December 19, 2025 19:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR simplifies WATER outbound configuration by consolidating two separate directory options into a single root directory. The code now automatically creates wasm_files and wazero_compilation_cache subdirectories under the specified WATER directory, improving the user experience by requiring only one directory configuration instead of two.

  • Replaced WASMStorageDir and WazeroCompilationCacheDir with a single Dir option
  • Automatically creates required subdirectories (wasm_files and wazero_compilation_cache) within the specified WATER directory
  • Updated validation to check for the new unified directory option

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
protocol/water/outbound.go Constructs subdirectory paths from the new Dir option and creates them automatically
option/water.go Consolidates two directory fields into a single Dir field with updated documentation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@WendelHime WendelHime merged commit ebc276f into main Dec 19, 2025
7 checks passed
@WendelHime WendelHime deleted the feat/receiving-water-dir-as-option branch December 19, 2025 20:05
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.

2 participants