v0.18.1
A patch release for one fix. v0.18.0 was already tagged at fd87881, and a tag here names a commit rather than moving to one.
/api/health returned 500 on a plan with no commits yet (#95).
condition() reads repo.references[refs/heads/main], and pygit2.init_repository leaves that ref absent until the first commit — so the one route whose whole job is to say the service is alive was the route that raised, on exactly the plan a first-time reader points the tool at.
Healthy and honest is the answer: nothing is committed, so nothing is unpushed and nothing can have diverged. head is empty rather than invented.
This was the second reader of that line — the first, in Store.__init__, was fixed when a credential test happened to build such a repository for an unrelated reason. Nothing in the suite had asked condition about an empty plan. Now something does.
🤖 Written by an agent on behalf of @jcanton