Clarify notification and ClickUp comment messages
- "pipeline completed" → descriptive messages for link building and content
- "ClickUp task completed" → "{task} done — ran {tool} successfully"
- "Cora report completed" → "Cora report generated — ready for you to look at it"
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix/customer-field-migration
parent
fb4498b978
commit
f60928f3fa
|
|
@ -483,7 +483,7 @@ class Scheduler:
|
|||
return
|
||||
|
||||
# Tool handled its own ClickUp sync — just log success
|
||||
self._notify(f"ClickUp task completed: **{task.name}**\nSkill: `{tool_name}`")
|
||||
self._notify(f"**{task.name}** done — ran `{tool_name}` successfully.")
|
||||
log.info("ClickUp task completed: %s", task.name)
|
||||
|
||||
except Exception as e:
|
||||
|
|
@ -636,7 +636,7 @@ class Scheduler:
|
|||
if client and task_ids:
|
||||
for tid in task_ids:
|
||||
client.update_task_status(tid, autocora.success_status)
|
||||
client.add_comment(tid, f"Cora report completed for keyword: {keyword}")
|
||||
client.add_comment(tid, f"Cora report generated for \"{keyword}\" — ready for you to look at it.")
|
||||
|
||||
self._notify(
|
||||
f"AutoCora SUCCESS: **{keyword}** — "
|
||||
|
|
@ -809,8 +809,8 @@ class Scheduler:
|
|||
log.warning("Could not move %s to processed: %s", filename, e)
|
||||
|
||||
self._notify(
|
||||
f"Folder watcher: pipeline **completed** for **{filename}**.\n"
|
||||
f"ClickUp task: {matched_task.name}",
|
||||
f"Link building finished for **{matched_task.name}** — "
|
||||
f"Cora backlinks placed, XLSX moved to processed.",
|
||||
category="linkbuilding",
|
||||
)
|
||||
|
||||
|
|
@ -971,8 +971,8 @@ class Scheduler:
|
|||
log.warning("Could not move %s to processed: %s", filename, e)
|
||||
|
||||
self._notify(
|
||||
f"Content watcher: pipeline **completed** for **{filename}**.\n"
|
||||
f"ClickUp task: {matched_task.name}",
|
||||
f"Content optimization finished for **{matched_task.name}** — "
|
||||
f"content created, XLSX moved to processed.",
|
||||
category="content",
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -418,7 +418,7 @@ def poll_autocora_results(ctx: dict | None = None) -> str:
|
|||
if client and task_ids:
|
||||
for tid in task_ids:
|
||||
client.update_task_status(tid, autocora.success_status)
|
||||
client.add_comment(tid, f"Cora report completed for keyword: {keyword}")
|
||||
client.add_comment(tid, f"Cora report generated for \"{keyword}\" — ready for you to look at it.")
|
||||
|
||||
processed.append(f"SUCCESS: {keyword}")
|
||||
log.info("AutoCora SUCCESS: %s", keyword)
|
||||
|
|
|
|||
Loading…
Reference in New Issue