ework-web 0.10.104 → 0.10.105

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.104",
3
+ "version": "0.10.105",
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",
@@ -258,7 +258,10 @@ export class UpstreamSync {
258
258
  if (!local) continue;
259
259
  const gcAuthor = gc.user?.login ?? "upstream";
260
260
  await ensureUser(gcAuthor, fromGithubBot(gcAuthor) ? "bot" : "human");
261
- const row = await postComment(local.id, gc.body ?? "", gcAuthor, {
261
+ // invisible provenance marker (same as importIssueComments): ework-mirror
262
+ // skips events carrying it, so synced-in comments never echo upstream
263
+ const body = (gc.body ?? "") + "\n\n<!-- upstream-sync -->";
264
+ const row = await postComment(local.id, body, gcAuthor, {
262
265
  createdAt: gc.created_at,
263
266
  updatedAt: gc.updated_at,
264
267
  upstreamCommentId: gc.id,