A Green Build Is Not a Published Post

This blog published nothing for its entire existence, and every signal said it was fine. That is the post.

What happened

There was exactly one post in the repository: a hand-written welcome post at _posts/2025/12/05/welcome-to-my-blog.md. It had been there since December

  1. It had never been published on the site. Anyone with access to the repository could read it; nobody arriving at the blog could.

Checked on 2026-11-11:

  • https://www.yourspraveen.com/blogs/ rendered “No blog posts yet”
  • feed.xml contained zero <item> elements
  • the post’s own permalink returned 404
  • bundle exec jekyll build exited 0, and the deploy pipeline ran green

The cause: stock Jekyll requires the publication date in the filename (YYYY-MM-DD-title.md). A file in _posts/ without that prefix is not treated as a post at all — it is silently skipped as a static file. No warning, no error, exit code zero. The date: field in the front matter does not substitute for it.

And the layout that caused it was the layout the repository’s own documentation prescribed. _posts/README.md specified _posts/YYYY/MM/DD/post-title.md, with a rationale about being easier to locate posts by date. The convention was the bug.

The detail I keep thinking about

That same README contradicted itself twice, and both contradictions were correct. Its troubleshooting section said, under “Post Not Showing”: check filename format (YYYY-MM-DD-title.md). Its file listing already referred to 2025-12-05-welcome-to-my-blog.md. Somebody had known. The knowledge was sitting in the same file as the mistake, three screens apart, and the headline section won because that is the section people read.

I had a second complaint about dated subfolders ready to go, and it was wrong. I believed Jekyll read directories under _posts/ as categories, so that a post at 2026/11/11/ would silently acquire the categories 2026, 11 and 11. Checking it rather than asserting it: on Jekyll 4.4, a correctly named file at _posts/2026/11/11/2026-11-11-probe.md builds as a post with no categories at all. The directory-as-category rule applies to folders above _posts/, not inside it.

So the subfolders are not harmful. They are merely irrelevant — which is worse for my purposes, because an irrelevant convention attracts no scrutiny. The filename is the whole of the bug, and the layout that hid it was doing nothing else at all.

The automation had it right and never got to say so

An n8n workflow was supposed to be publishing these posts, and it had never published anything either — but not for the reason I expected when I went looking. Its path logic was correct. It wrote _posts/${date}-${slug}.md: flat, dated, exactly what Jekyll wants. The machine had the convention right while the documentation had it wrong.

It simply never ran. It was gated on a commit touching Work/blog/3_ready_to_publish/, a folder that has never contained anything but a README, because the drafting workflow upstream of it called an LLM gateway that had since been decommissioned. Two broken things stacked on each other, the outer one hiding the inner one, and nothing in either system complaining.

So the one component that knew the right filename was the one component never given a file to name.

An isometric illustration: a single document sealed under a glass dome while a stream of shapes flows past the outside, never entering.

The point

Three signals all said success: the file existed in a commit, the build exited zero, the deploy completed. None of the three asked the only question that mattered — is the post on the site? A success signal that never checks the outcome is not evidence. It is a habit.

The fix in the rebuilt pipeline is the boring one: after committing a post, it polls the post’s live URL and every image URL until they answer, or it fails the run. Not the commit, not the build log, not the deploy status — the page a reader would open. The poll has a deadline, so “the deploy runner never ran” turns the run red instead of leaving it waiting forever.

I should be exact about what that buys, because it is less than it sounds. The check starts after a commit, so it catches “committed but not live” — which is the failure I had. It cannot catch the other half of what went wrong here: that for months nothing was committed at all, because the workflow upstream was never invoked. A check that only runs inside a pipeline cannot report that the pipeline never ran. Knowing whether anything shipped this month is a different question, asked from outside, and I have not built that yet.

The family this belongs to

This is the third time the same shape has bitten this homelab, which is why it is worth writing down rather than just fixing:

  • a database backup that had been quietly deleting its own output for weeks, because nobody had ever restored one
  • an image-generation proxy answering HTTP 200 with an empty data: [] and zero token usage, which read as success and produced posts with no images
  • and this one

Each is the same error: a thing that reports whether it ran, where what was needed was whether it worked. The general rule is probably something like verify the outcome, not the operation — and the cheap test for whether you are doing it is to ask what your check would do if the system underneath were entirely absent. If the answer is “pass”, it is not a check.