{
 "flight": {
  "id": 8723,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Fix ASP.NET integration test crashes by adding proper Elsa background task shutdown",
  "number": 6686,
  "source": "aidev",
  "commits": 2,
  "debrief": "The rider asked the agent to fix ASP.NET Core integration test runs aborting because Elsa background tasks kept running after WebApplicationFactory was disposed. The agent changed six files across two commits, adding 203 lines and removing none. The pull request merged clean in 0.33 hours, with no changes requested.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 203,
  "closed_at": "2025-05-24T21:25:38+00:00",
  "deletions": 0,
  "merged_at": "2025-05-24T21:25:38+00:00",
  "opened_at": "2025-05-24T21:06:01+00:00",
  "task_type": "fix",
  "body_chars": 2945,
  "confidence": "dataset",
  "updated_at": "2026-11-04T02:47:28.03274+00:00",
  "enriched_at": null,
  "body_excerpt": "## Issue\n\nWhen running ASP.NET Core integration tests with Elsa Workflows, test runs can be aborted because Elsa background tasks aren't properly shut down when the `WebApplicationFactory<TStartup>` is disposed. This causes the following issues:\n\n- Background tasks continue running after tests compl",
  "review_count": 0,
  "files_changed": 6,
  "hours_to_merge": 0.33,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T02:47:28.03274+00:00",
  "reviewer_excerpt": "@copilot Do you have any ideas why the hosted service’s Stop method isn’t called when WebApplicationFactory stops? Is this a known issue?",
  "review_comment_count": 0,
  "reviewer_excerpt_url": "https://github.com/elsa-workflows/elsa-core/pull/6686#issuecomment-2907048864"
 },
 "repo": {
  "name": "elsa-core",
  "owner": "elsa-workflows",
  "stars": 7932,
  "license": "MIT",
  "full_name": "elsa-workflows/elsa-core",
  "primary_language": "C#"
 },
 "author": {
  "login": "Copilot",
  "name": null,
  "github_profile": "https://github.com/Copilot",
  "page": null
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": "2025-05-24T21:25:38+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "sfmskywalker"
  },
  {
   "at": "2025-05-24T21:25:38+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "sfmskywalker"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "closed",
   "title": "Fix workflow instance persistence when Stream variables fail to serialize",
   "number": 6771,
   "outcome": "burn",
   "index_ok": true,
   "additions": 102,
   "deletions": 6,
   "merged_at": null,
   "opened_at": "2025-07-04T13:23:46+00:00",
   "task_type": "fix",
   "files_changed": 3,
   "hours_to_merge": null
  },
  {
   "agent": "github-copilot",
   "state": "closed",
   "title": "Add Zip Archive activities for compression and archiving workflows",
   "number": 6739,
   "outcome": "burn",
   "index_ok": true,
   "additions": 1362,
   "deletions": 558,
   "merged_at": null,
   "opened_at": "2025-06-13T13:00:09+00:00",
   "task_type": "feat",
   "files_changed": 38,
   "hours_to_merge": null
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Allow C# Script to use dot notation with ExpandoObject (JSON variables)",
   "number": 6689,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 27,
   "deletions": 19,
   "merged_at": "2025-05-25T10:26:59+00:00",
   "opened_at": "2025-05-25T10:18:26+00:00",
   "task_type": "feat",
   "files_changed": 2,
   "hours_to_merge": 0.14
  }
 ],
 "pr_url": "https://github.com/elsa-workflows/elsa-core/pull/6686",
 "page": "https://agentriders.com/logs/elsa-workflows/elsa-core/6686/"
}