Skip to content

fix(dotfiles): handle failures in dotfiles installation #387

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
Feb 4, 2025

Conversation

chazmo03
Copy link
Contributor

If the dotfiles installation (coder dotfiles ...) fails, the script still shows as successful in the Coder UI. This should bubble up any errors so that Coder (and the user) are aware that the installation failed.

Currently, if the dotfiles installation (`coder dotfiles ...`) fails, the script still shows as successful in the Coder UI.
@matifali matifali requested a review from phorcys420 January 27, 2025 07:36
@matifali
Copy link
Member

HI @chazmo03 Thanks for the contribution. Could you please address the failed CI checks?

@chazmo03
Copy link
Contributor Author

@matifali can you please take another look?

@matifali matifali requested a review from phorcys420 January 30, 2025 10:27
@matifali matifali changed the title Bubble up failures in dotfiles installation fix(dotfiles): handle failures in dotfiles installation Jan 30, 2025
@chazmo03
Copy link
Contributor Author

chazmo03 commented Feb 3, 2025

@phorcys420 I made the suggested change. Can you please take another look?

@phorcys420 phorcys420 enabled auto-merge (squash) February 4, 2025 22:41
Copy link
Member

@phorcys420 phorcys420 left a comment

Choose a reason for hiding this comment

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

LGTM!
Sorry for the delay on such a simple PR, I've been pretty busy and away for FOSDEM!

@phorcys420 phorcys420 merged commit 6e66ff5 into coder:main Feb 4, 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.

3 participants