Skip to content
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

todo-or-die #809

Merged
merged 8 commits into from Feb 5, 2023
Merged

Conversation

romainmenke
Copy link
Member

@romainmenke romainmenke commented Jan 26, 2023

Comment on lines 57 to 61
if (response.statusCode !== 200) {
rejected = true;
reject(new Error('Failed to fetch issue status'));
return;
}
Copy link
Member

Choose a reason for hiding this comment

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

I was wondering what happens if you don't have visibility to an issue because you're lacking the token or whatever I feel this should at least be surfaced somehow since you might think it's working but perhaps it isn't. So the build does not fail but at least the plugin informs the user

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 am going to remove the "issue open" feature entirely :)

todo-or-die for Rust has this feature, but you compile Rust much less frequently than you build CSS during development. When working in Rust or Go I don't use a file watcher to re-compile.

Doing so many builds so frequently is bound to cause false errors because it depends on the network. You also should be able to work offline without seeing errors.

I think it makes more sense to remove this, and maybe later add something that allows people to easily add custom checks.

Copy link
Member

@Antonio-Laguna Antonio-Laguna left a comment

Choose a reason for hiding this comment

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

@romainmenke this is looking great! I left some questions even if this wasn't ready to be reviewed :P

@romainmenke
Copy link
Member Author

is looking great! I left some questions

Thank you for those!

I was hoping to find some solution to the "issue-open" feature, but as I said above I don't see a way to make work well within a CSS toolkit.

I'd rather streamline the plugin a bit now and ship it 🚀

@romainmenke romainmenke marked this pull request as ready for review January 31, 2023 07:09
@romainmenke romainmenke merged commit fe24c28 into main Feb 5, 2023
6 checks passed
@romainmenke romainmenke deleted the todo-or-die--generous-long-eared-owl-f30a120073 branch February 5, 2023 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants