Failed github pull requests

I wrote an app which works well on my local machine and submitted a pull request which failed the first check. I don’t have experience with github to troubleshoot where I messed up and I’m not sure if the Tidbyt team provides feedback on failed requests.

Process completed with exit code 1.

Is anyone willing to take a look and help me figure it out?

New app, DC Next Train #6294

Thanks!

These are the errors reported in the build logs:

Problem: app is not formatted correctly: formatting returned non-zero exit status: 4
Solution: try pixlet format apps/dcnexttrain/dc_next_train.star

Problem: app has lint warnings: linting failed with exit code: 4
Solution: try pixlet lint --fix apps/dcnexttrain/dc_next_train.star

The first one is easy, it’s just related to how the file is formatted and it will be fixed when you run the pixlet format command.

The second one may require changing the code.
I suggest you run it first without the --fix flag that it suggests, this will show you what the errors are. It’s usually simple stuff like unused variables. You can fix it by hand or try the --fix flag, but sometimes it can’t fix everything.

Awesome, thank you. I can now see where you found those error messages. I’ll clean up the unused variables and try again. I appreciate it!

1 Like