Skip to content

Conversation

@siherrmann
Copy link
Member

siherrmann and others added 2 commits December 18, 2025 15:37
Signed-off-by: siherrmann <25087590+siherrmann@users.noreply.github.com>
siherrmann and others added 10 commits January 13, 2026 16:26
Signed-off-by: siherrmann <25087590+siherrmann@users.noreply.github.com>
Signed-off-by: siherrmann <25087590+siherrmann@users.noreply.github.com>
Signed-off-by: siherrmann <25087590+siherrmann@users.noreply.github.com>
Signed-off-by: siherrmann <25087590+siherrmann@users.noreply.github.com>
@siherrmann siherrmann requested a review from NautiluX January 22, 2026 15:39
Copy link
Member

@NautiluX NautiluX left a comment

Choose a reason for hiding this comment

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

couple of structural questions, besides that, I like it :)

Name() string
}

type SmoketestCodesphereOpts struct {
Copy link
Member

Choose a reason for hiding this comment

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

is there a specific reason this is defined here, not with the Cmd?

}

type SmoketestCodesphereOpts struct {
Client codesphere.Client
Copy link
Member

Choose a reason for hiding this comment

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

I'm surprised this is at the opts struct not the cmd, since usually the opts represent the options given to the command. What's the reason for this choice?

service:
steps:
- name: Run php server
command: php -S 0.0.0.0:3000 index.html
Copy link
Member

Choose a reason for hiding this comment

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

wait what? :D


func (c *SmoketestCodesphereCmd) RunE(_ *cobra.Command, args []string) error {
// Initialize client if not set (for testing)
if c.Opts.Client == nil {
Copy link
Member

Choose a reason for hiding this comment

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

when would this be not the case?

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