Skip to content

Conversation

@rswanson
Copy link
Member

@rswanson rswanson commented Jun 3, 2025

No description provided.

Copy link
Member Author

rswanson commented Jun 3, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@rswanson rswanson self-assigned this Jun 3, 2025
@rswanson rswanson changed the base branch from main to graphite-base/15 June 3, 2025 15:37
@rswanson rswanson changed the base branch from graphite-base/15 to swanny/ethereum June 3, 2025 15:37
@rswanson rswanson mentioned this pull request Jun 3, 2025
@rswanson rswanson force-pushed the swanny/pylon branch 2 times, most recently from 6a831a3 to 60afbaf Compare June 3, 2025 18:21
@rswanson rswanson changed the base branch from swanny/ethereum to graphite-base/15 June 5, 2025 15:24
@rswanson rswanson force-pushed the graphite-base/15 branch from c57dd06 to 146f757 Compare June 5, 2025 15:24
@rswanson rswanson changed the base branch from graphite-base/15 to swanny/generics June 5, 2025 15:24
@rswanson rswanson changed the base branch from swanny/generics to graphite-base/15 June 11, 2025 18:43
@rswanson rswanson changed the base branch from graphite-base/15 to main June 11, 2025 18:43
@rswanson rswanson marked this pull request as ready for review July 10, 2025 20:27
Copilot AI review requested due to automatic review settings July 10, 2025 20:27
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

Adds a new Pulumi component for deploying a Pylon Ethereum node with associated configuration and resources.

  • Introduce public and internal types (PylonComponentArgs, PylonEnv, conversions) and validation logic.
  • Implement NewPylonComponent to register the component, create an S3 bucket, and instantiate an Ethereum node.
  • Define constants for storage sizes, ports, and images.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pkg/pylon/validation.go Added ValidatePylon and validateEnv to enforce required fields
pkg/pylon/types.go Defined public/internal types, conversion methods, and PylonComponent
pkg/pylon/pylon.go Implemented NewPylonComponent logic, StackReference, S3 bucket, and Ethereum node
pkg/pylon/helpers.go Empty file
pkg/pylon/constants.go Added constants for storage, ports, and image settings
Comments suppressed due to low confidence (1)

pkg/pylon/types.go:13

  • [nitpick] Exported type PylonComponentArgs lacks a doc comment. Consider adding a brief description for public API clarity.
type PylonComponentArgs struct {

Comment on lines +116 to +117
EthereumNode *ethereum.EthereumNodeComponent
PylonEnvConfigMap *v1.ConfigMap
Copy link

Copilot AI Jul 10, 2025

Choose a reason for hiding this comment

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

The PylonEnvConfigMap field is declared but never initialized or used. Remove it or add logic to create and set this ConfigMap.

Suggested change
EthereumNode *ethereum.EthereumNodeComponent
PylonEnvConfigMap *v1.ConfigMap
EthereumNode *ethereum.EthereumNodeComponent

Copilot uses AI. Check for mistakes.
@@ -0,0 +1 @@
package pylon
Copy link

Copilot AI Jul 10, 2025

Choose a reason for hiding this comment

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

This file is empty and can be removed to avoid clutter.

Copilot uses AI. Check for mistakes.
@rswanson rswanson merged commit 135c538 into main Jul 10, 2025
2 checks passed
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