MCPcopy Index your code
hub / github.com/simstudioai/sim / buildContentHash

Function buildContentHash

apps/sim/connectors/sentry/sentry.ts:224–226  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

222 * list pass reproduces — so the document converges without churn.
223 */
224function 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

Callers 2

issueToStubFunction · 0.70
sentry.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected