Middleware Architecture ("Branch Observer") for Batched Deployments & Optimized CI/CD Workflow #590
-
|
Hi community, I am opening this discussion to address a common scalability/workflow challenge inherent to Git-based CMSs and to propose an architectural solution (a middleware service) that I am planning to build. I would love to hear your thoughts, feedback, or existing solutions regarding this. 1. The Problem: "The CI/CD Spam" & Atomic UpdatesIn a Git-based CMS, the workflow is typically: While this works great for infrequent updates, it becomes problematic in real-world production scenarios, especially with non-technical editors:
2. Current Workarounds & Limitations
3. Proposed Solution: The "Branch Observer" ServiceTo solve this without switching to a heavy API-based CMS (like Strapi/Directus), I am proposing a lightweight middleware service (likely written in Go + SQLite) that acts as a traffic controller. The Workflow:
Architecture Goals:
4. Questions for the CommunityBefore I start building this "Branch Observer" service:
I believe this tool could bridge the gap between the simplicity of Git-based CMS and the robustness of dynamic CMSs, allowing us to keep the "Serverless/Static" benefits while improving the Editor UX. Looking forward to you guys for insights! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi @kyoshino, (apologies for the direct mention) While waiting for feedback on the architecture above, I wanted to ask a more fundamental question about Sveltia's core behavior regarding data persistence: Is strictly "1 Save button click = 1 Commit" the intended behavior for all scenarios? In a production environment where editors might save frequent small changes (typos, drafts, image swaps), this triggers a massive amount of commits and CI/CD builds.
I just want to confirm I'm not missing a configuration option before I commit to building the external middleware solution I proposed above. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Sveltia CMS supports the |
Beta Was this translation helpful? Give feedback.
Sveltia CMS supports the
[skip ci]commit message prefix. Does this work for you?