Skip to content

feat(cli): improve devcontainer support for coder show #18793

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

Merged
merged 8 commits into from
Jul 8, 2025
Merged

feat(cli): improve devcontainer support for coder show #18793

merged 8 commits into from
Jul 8, 2025

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Jul 8, 2025

@mafredri mafredri marked this pull request as ready for review July 8, 2025 14:30
Copy link
Contributor

@DanielleMaywood DanielleMaywood left a comment

Choose a reason for hiding this comment

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

Looks good to me although question around the default value used for architecture.

Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

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

Looks pretty!

Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

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

Nice work! Some suggestions but nothing blocking.

{
Flag: "details",
Description: "Show full error messages and additional details.",
Value: serpent.BoolOf(&details),
Copy link
Member

Choose a reason for hiding this comment

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

Suggestion: explicit default value

Copy link
Member Author

Choose a reason for hiding this comment

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

I added it but it changes the CLI output to show default false. Not sure I like that to be honest since it's kinda clear that that's already the case. But either way works for me.

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 easy either way, having an explicit default is easier to read but if it negatively impacts the help output we can skip it.

Copy link
Member Author

Choose a reason for hiding this comment

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

but if it negatively impacts the help output we can skip it.

wdyt? 2eab390 (#18793)

Copy link
Member

Choose a reason for hiding this comment

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

It doesn't seem so bad to me

Copy link
Member Author

Choose a reason for hiding this comment

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

Alright. IMO it's somewhat of a bug in serpent, doesn't really make sense to render the two cases differently and it could already inherit the default value from the current value of the variable given as pointer ¯\_(ツ)_/¯.

@mafredri mafredri enabled auto-merge (squash) July 8, 2025 16:13
@mafredri mafredri merged commit 5f50dcc into main Jul 8, 2025
36 checks passed
@mafredri mafredri deleted the wipp branch July 8, 2025 16:16
@github-actions github-actions bot locked and limited conversation to collaborators Jul 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update coder show to better support devcontainer agents (sub agents)
4 participants