{
 "flight": {
  "id": 876121,
  "agent": "cursor",
  "state": "merged",
  "title": "fix(migrations): Fix data integrity error in 0925",
  "number": 94264,
  "source": "aidev",
  "commits": 4,
  "debrief": "Cursor takes a fix task in getsentry/sentry: the 0925_backfill_open_periods migration needs to handle data inconsistencies by catching DataError in the backfill function. The change spans 325 files with 1099 additions and 1080 deletions across four commits. One review round raises no change requests. The PR merges clean after 12.05 hours.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Cursor"
  ],
  "index_ok": true,
  "additions": 1099,
  "closed_at": "2025-06-25T20:06:59+00:00",
  "deletions": 1080,
  "merged_at": "2025-06-25T20:06:58+00:00",
  "opened_at": "2025-06-25T08:04:03+00:00",
  "task_type": "fix",
  "body_chars": 867,
  "confidence": "dataset",
  "updated_at": "2026-11-04T01:57:11.369095+00:00",
  "enriched_at": null,
  "body_excerpt": "Fixes getsentry/self-hosted#3751\n\nThe `0925_backfill_open_periods.py` migration was updated to robustly handle data inconsistencies.\n\n*   `DataError` was imported from `django.db` and added to the exception handling in the `_backfill_group_open_periods` function.\n*   The `except` block for `GroupOpe",
  "review_count": 1,
  "files_changed": 325,
  "hours_to_merge": 12.05,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T01:57:11.369095+00:00",
  "reviewer_excerpt": "Is this still an issue after [this fix](https://github.com/getsentry/sentry/blob/960184d00cb1ba86d0da15e4b5f40db288b69581/src/sentry/migrations/0925_backfill_open_periods.py#L144-L145) ([PR](https://github.com/getsentry/sentry/commit/b2fdfcde6fa8d6679f3a2d44aa60183fce18adf4))?",
  "review_comment_count": 0,
  "reviewer_excerpt_url": "https://github.com/getsentry/sentry/pull/94264#issuecomment-3005533608"
 },
 "repo": {
  "name": "sentry",
  "owner": "getsentry",
  "stars": 45729,
  "license": "NOASSERTION",
  "full_name": "getsentry/sentry",
  "primary_language": "Python"
 },
 "author": {
  "login": "BYK",
  "name": "Burak Yigit Kaya",
  "github_profile": "https://github.com/BYK",
  "page": "https://agentriders.com/logs/author/byk/"
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Cursor Agent"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Cursor Agent"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Burak Yigit Kaya"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Burak Yigit Kaya"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": "2025-06-25T08:04:20+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "github-actions[bot]"
  },
  {
   "at": "2025-06-25T20:06:58+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "BYK"
  },
  {
   "at": "2025-06-25T20:06:59+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "BYK"
  }
 ],
 "related": [
  {
   "agent": "cursor",
   "state": "merged",
   "title": "Expose Sentry MCP configuration endpoint",
   "number": 95934,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 114,
   "deletions": 63,
   "merged_at": "2025-07-18T21:15:51+00:00",
   "opened_at": "2025-07-18T20:47:37+00:00",
   "task_type": "feat",
   "files_changed": 4,
   "hours_to_merge": 0.47
  },
  {
   "agent": "cursor",
   "state": "merged",
   "title": "ref(ui): Refactor fetchMutation parameters to object",
   "number": 95801,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 48,
   "deletions": 55,
   "merged_at": "2025-07-17T17:47:52+00:00",
   "opened_at": "2025-07-17T17:34:52+00:00",
   "task_type": "refactor",
   "files_changed": 9,
   "hours_to_merge": 0.22
  },
  {
   "agent": "cursor",
   "state": "merged",
   "title": "feat(replay): Show CTA when org is not opted into gen ai features",
   "number": 95780,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 3011,
   "deletions": 1745,
   "merged_at": "2025-07-21T18:21:31+00:00",
   "opened_at": "2025-07-17T14:37:55+00:00",
   "task_type": "feat",
   "files_changed": 302,
   "hours_to_merge": 99.73
  }
 ],
 "pr_url": "https://github.com/getsentry/sentry/pull/94264",
 "page": "https://agentriders.com/logs/getsentry/sentry/94264/"
}