ework-web 0.10.98 → 0.10.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ework-web",
3
- "version": "0.10.98",
3
+ "version": "0.10.99",
4
4
  "type": "module",
5
5
  "description": "ework-web — standalone multi-project issue tracker. Local SQLite-backed, no external API dependency. Bun + TypeScript + SSR HTML.",
6
6
  "license": "MIT",
@@ -154,7 +154,10 @@ export class UpstreamSync {
154
154
  const gcAuthor = gc.user?.login ?? "upstream";
155
155
  // ensure the kind before postComment's internal user creation runs
156
156
  await ensureUser(gcAuthor, fromGithubBot(gcAuthor) ? "bot" : "human");
157
- const row = await postComment(local.id, gc.body ?? "", gcAuthor, {
157
+ // invisible provenance marker: ework-mirror skips events carrying it, so
158
+ // synced-in comments never echo back to the upstream thread
159
+ const body = (gc.body ?? "") + "\n\n<!-- upstream-sync -->";
160
+ const row = await postComment(local.id, body, gcAuthor, {
158
161
  createdAt: gc.created_at,
159
162
  updatedAt: gc.updated_at,
160
163
  upstreamCommentId: gc.id,