Skip to content

Conversation

@naps62
Copy link
Member

@naps62 naps62 commented Jan 8, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 8, 2026 17:21
@vercel
Copy link

vercel bot commented Jan 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
stacks Ready Ready Preview, Comment Jan 8, 2026 5:34pm

@naps62 naps62 requested review from ZePedroResende and removed request for Copilot January 8, 2026 17:22
Copilot AI review requested due to automatic review settings January 8, 2026 17:33
@naps62 naps62 merged commit abb9218 into main Jan 8, 2026
7 checks passed
@naps62 naps62 deleted the new-urls branch January 8, 2026 17:36
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 introduces WebSocket RPC URL support and refactors the URL building structure. The changes deprecate the old URL field names (e.g., rpc_url, ipfs_url) while introducing a new naming convention (e.g., http_rpc, ws_rpc, explorer). The refactoring also simplifies function signatures by accepting Stack structs directly instead of individual slug and api_key parameters.

Key changes:

  • Added WebSocket URL support with new ws_rpc field and ws_rpc_url/1 function
  • Refactored URL building functions to accept Stack structs instead of individual parameters
  • Introduced new URL field naming convention while maintaining backward compatibility with deprecated fields

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


# new ones
http_rpc: http_rpc_url(stack),
ws_rpc: ws_rpc_url(stack),
Copy link

Copilot AI Jan 8, 2026

Choose a reason for hiding this comment

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

The new URL structure is incomplete. While the deprecated structure includes "ipfs_url", the new structure (lines 77-79) is missing an "ipfs" field. For consistency and feature parity, consider adding "ipfs: ipfs_url(stack)" to maintain all URL types in the new structure.

Suggested change
ws_rpc: ws_rpc_url(stack),
ws_rpc: ws_rpc_url(stack),
ipfs: ipfs_url(stack),

Copilot uses AI. Check for mistakes.
Comment on lines +76 to +79
# new ones
http_rpc: http_rpc_url(stack),
ws_rpc: ws_rpc_url(stack),
explorer: explorer_url(stack)
Copy link

Copilot AI Jan 8, 2026

Choose a reason for hiding this comment

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

The new URL structure is missing graph-related URLs. While the deprecated structure conditionally includes "graph_url", "graph_rpc_url", and "graph_status", these are not represented in the new structure (lines 77-79). Consider adding corresponding new keys like "graph", "graph_rpc", and "graph_status" to the new structure when graph is enabled, to maintain feature parity.

Copilot uses AI. Check for mistakes.
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