Skip to content

Instantly share code, notes, and snippets.

@jmooring
Last active January 30, 2024 13:56
Show Gist options
  • Save jmooring/0b88af8890471cf26ed2096d5913efc7 to your computer and use it in GitHub Desktop.
Save jmooring/0b88af8890471cf26ed2096d5913efc7 to your computer and use it in GitHub Desktop.

✔️ Build status

With v0.121.2:

                   | EN  
-------------------+-----
  Pages            |  8  
  Paginator pages  |  0  
  Non-page files   |  0  
  Static files     |  1  
  Processed images |  0  
  Aliases          |  0  
  Sitemaps         |  1  
  Cleaned          |  0  

With PR #11830:

                   | EN  
-------------------+-----
  Pages            | 10  
  Paginator pages  |  0  
  Non-page files   |  0  
  Static files     |  0  
  Processed images |  0  
  Aliases          |  0  
  Cleaned          |  0  

✔️ Ctrl + C from server

On a few occassions I was not able to kill the server with Ctrl+C on the first try, and after several times it stopped with this message:

Error: context deadline exceeded

Hang after error when running server

I've a resources.GetRemote call that's currently returning a bad request (400) error, and at the moment that is expected (the provider site is having issues). I expected the hugo server to terminate after throwing the error, but I have to Ctrl+C to stop the server. With v0.121.2 the server terminates immediately. This is an intermittent problem, and I have not been able to create a mimimal failing example yet.

@jmooring
Copy link
Author

Converting this to a private gist.

Disregard. The "convert to private" feature was removed a long time ago. I'll leave this here for a week or so, but at some point I will delete it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment