wikidb.tracker.add_comment

wikidb.tracker

add_comment(comments_ctx, issues_ctx, issue_key, text, who) -> key, err

Add a comment to an issue and announce it on the timeline

The announcement is a comment event on the issue. The issue's event log orders its timeline: comment timestamps have one-second resolution, and cannot be interleaved with field changes on time alone.

A nil issues_ctx stores the comment unannounced, and skips the check that the issue exists. When the event is refused, the comment stays stored but unannounced.