← Back to Journal

Reliable Multi-Plant Publishing

Abbey's weekly orchid publisher became serialized, transactional, deterministic, and cache-aware.

Tags: Abbey Root • BradCooke.com • Orchid Rescue

Reliable Multi-Plant Publishing

Summary

The August 9 orchid update succeeded, but it exposed several weak boundaries in the publishing workflow: a shell loop was difficult to observe safely, concurrent work could overlap, republishing deleted an unrelated proof image, non-interactive builds could not find NVM’s npm, and stable image URLs allowed browsers to keep showing the prior week’s photograph.

This session turned those observations into platform improvements. abbey plant publish-batch now publishes an explicit list of plants serially and stops on the first failure. Each plant is generated in an isolated staging directory and committed as one unit. Cleanup removes only files owned by the previous publication manifest, and a per-plant lock rejects overlapping work on the same orchid.

Published image URLs now carry a short derivative hash, so a changed current photograph has a changed browser URL. PNG generation was also made deterministic by excluding generated date and time chunks; unchanged images now keep the same hash across repeated publication.

Abbey site commands can discover npm in a standard NVM installation even in a non-interactive SSH session. The repaired workflow republished all eleven August 9 orchids and built the complete 170-page site successfully.

Accomplishments

Lessons Learned

Next Steps