* Builds the metadata-based content hash for an issue. * * The hash combines the issue id, its status, and `lastSeen`. `lastSeen` advances every * time a new event lands on the group, which is exactly when the latest-event content can * change — so it captures content freshness without hashing t
(issue: SentryIssue)
| 222 | * list pass reproduces — so the document converges without churn. |
| 223 | */ |
| 224 | function buildContentHash(issue: SentryIssue): string { |
| 225 | return `sentry:${issue.id}:${issue.status ?? ''}:${issue.lastSeen ?? ''}` |
| 226 | } |
| 227 | |
| 228 | /** |
| 229 | * Builds the document title, preferring the issue title and falling back to the |
no outgoing calls
no test coverage detected