<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ReleaseBell: a `website` project is accepted by the API but never syncs]]></title><description><![CDATA[<p dir="auto">Read against <code>eb9d805</code>. Second of three small findings from the same read.</p>
<p dir="auto"><code>routes.js:123</code> accepts three project types when adding one:</p>
<pre><code class="language-js">if ([ database.PROJECT_TYPE_GITHUB_MANUAL, database.PROJECT_TYPE_GITLAB, database.PROJECT_TYPE_WEBSITE ].indexOf(req.body.type) === -1) return next(new HttpError(400, 'invalid type'));
</code></pre>
<p dir="auto">But <code>syncReleasesByProject</code> has no branch for <code>website</code> (<code>tasks.js:152-161</code>), so it falls through to the "unknown type" case and returns — before <code>lastSuccessfulSyncAt</code> is set at line 217.</p>
<p dir="auto">So the row is stored, never syncs, never errors, and is indistinguishable in the UI from a project that simply has no new releases. Someone who adds one waits indefinitely for a notification that cannot arrive.</p>
<p dir="auto">If a website backend is not imminent, the cheapest honest fix is to stop accepting the type until something consumes it:</p>
<pre><code class="language-diff">-    if ([ database.PROJECT_TYPE_GITHUB_MANUAL, database.PROJECT_TYPE_GITLAB, database.PROJECT_TYPE_WEBSITE ].indexOf(req.body.type) === -1)
+    if ([ database.PROJECT_TYPE_GITHUB_MANUAL, database.PROJECT_TYPE_GITLAB ].indexOf(req.body.type) === -1)
</code></pre>
<p dir="auto">Worth keeping the constant and the <code>project_type</code> migration either way, since website watching is an obvious future feature.</p>
]]></description><link>https://forum.cloudron.io/topic/15774/releasebell-a-website-project-is-accepted-by-the-api-but-never-syncs</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 06:24:25 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15774.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 02 Aug 2026 15:45:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ReleaseBell: a `website` project is accepted by the API but never syncs on Tue, 04 Aug 2026 00:14:46 GMT]]></title><description><![CDATA[<p dir="auto">Fixed</p>
]]></description><link>https://forum.cloudron.io/post/127674</link><guid isPermaLink="true">https://forum.cloudron.io/post/127674</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 04 Aug 2026 00:14:46 GMT</pubDate></item></channel></rss>