← Commit history

Publish 1.6.8

Drew Owens ·b42c782cf3 ·2mo ago ·parent cbfe0e3
3 files changed +11−2
bin/wiki-notify-gchat+9
@@ -273,6 +273,15 @@ def sync_issue_status(state, cfg, force=False):     for page, its in by_page.items():         code, out, _ = run_cmd(["adom-wiki", "issue", "list", page, "--json"])         if code != 0:+            # A DELETED page can never emit a "closed" email, so its items+            # would sit on the board forever (hit live: adom/workcell-dashboard+            # 2026-07-24). Drop items ONLY on the definitive not-found code -+            # transient failures (network, auth) must never delete state.+            if "PAGE_NOT_FOUND" in (out or ""):+                for it in its:+                    items.pop(f"{it['page']}#{it['num']}", None)+                    log_line(f"OK status sync: {it['page']}#{it['num']} dropped (page deleted)")+                changed = True             continue         try:             j = json.loads(out)
package.json+1−1
@@ -2,7 +2,7 @@   "slug": "wiki-notify-gchat",   "title": "Wiki Notify for Google Chat",   "type": "app",-  "version": "1.6.7",+  "version": "1.6.8",   "description": "Turn wiki.adom.inc notification emails into a live Google Chat board. One card, one row per issue - newest first, OPEN/CLOSED status, origination date, actor, and a View link - continuously updated in your own Chat space via your own webhook. Emails are swept out of your inbox (trash, archive, or label). Closed items linger until 6am the next day, then drop off. Delegates all auth to adom-google; the only secret is your webhook URL, kept in your private config.",   "tags": [     "cli",
page.json+1−1
@@ -2,7 +2,7 @@   "slug": "wiki-notify-gchat",   "title": "Wiki Notify for Google Chat",   "type": "app",-  "version": "1.6.7",+  "version": "1.6.8",   "description": "Turn wiki.adom.inc notification emails into a live Google Chat board. One card, one row per issue - newest first, OPEN/CLOSED status, origination date, actor, and a View link - continuously updated in your own Chat space via your own webhook. Emails are swept out of your inbox (trash, archive, or label). Closed items linger until 6am the next day, then drop off. Delegates all auth to adom-google; the only secret is your webhook URL, kept in your private config.",   "tags": [     "cli",