{
 "flight": {
  "id": 932372,
  "agent": "devin",
  "state": "merged",
  "title": "feat: deprecate CongestionControl protocol feature",
  "number": 13318,
  "source": "aidev",
  "commits": 30,
  "debrief": "Devin deprecates the CongestionControl protocol feature in near/nearcore by prefixing it with _Deprecated. It removes conditional logic assuming the feature is always enabled, and drops unused parameters flagged by linting. It touches 81 files, adding 582 lines and deleting 1696 across 30 commits. The PR merged after 21.62 hours with no changes requested.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Devin"
  ],
  "index_ok": true,
  "additions": 582,
  "closed_at": "2025-04-08T18:37:01+00:00",
  "deletions": 1696,
  "merged_at": "2025-04-08T18:37:01+00:00",
  "opened_at": "2025-04-07T20:59:51+00:00",
  "task_type": "feat",
  "body_chars": 378,
  "confidence": "dataset",
  "updated_at": "2026-11-04T03:07:07.034847+00:00",
  "enriched_at": null,
  "body_excerpt": "Deprecate feature CongestionControl by prefixing it with _Deprecated.\n\nThis PR removes conditional logic related to the deprecated feature, always assuming the feature is enabled. Any unused parameters identified during linting were also removed.\n\nLink to Devin run: https://app.devin.ai/sessions/897",
  "review_count": 16,
  "files_changed": 81,
  "hours_to_merge": 21.62,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T03:07:07.034847+00:00",
  "reviewer_excerpt": "Find all instances of ``` let congestion_info = ProtocolFeature::_DeprecatedCongestionControl .enabled(PROTOCOL_VERSION) .then_some(CongestionInfo::default()); ``` and change them to `let congestion_info = CongestionInfo::default()`. Note that _DeprecatedCongestionControl is always",
  "review_comment_count": 24,
  "reviewer_excerpt_url": "https://github.com/near/nearcore/pull/13318#pullrequestreview-2748200141"
 },
 "repo": {
  "name": "nearcore",
  "owner": "near",
  "stars": 2622,
  "license": "GPL-3.0",
  "full_name": "near/nearcore",
  "primary_language": "Rust"
 },
 "author": {
  "login": "devin-ai-integration[bot]",
  "name": null,
  "github_profile": "https://github.com/devin-ai-integration[bot]",
  "page": null
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Shreyan Gupta"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Shreyan Gupta"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Shreyan Gupta"
  }
 ],
 "related": [
  {
   "agent": "devin",
   "state": "closed",
   "title": "Add tracing spans to key blockchain performance functions",
   "number": 13339,
   "outcome": "burn",
   "index_ok": true,
   "additions": 198,
   "deletions": 44,
   "merged_at": null,
   "opened_at": "2025-04-09T14:07:44+00:00",
   "task_type": "feat",
   "files_changed": 16,
   "hours_to_merge": null
  },
  {
   "agent": "devin",
   "state": "closed",
   "title": "Deprecate BandwidthScheduler feature",
   "number": 13334,
   "outcome": "burn",
   "index_ok": true,
   "additions": 282,
   "deletions": 500,
   "merged_at": null,
   "opened_at": "2025-04-09T11:40:52+00:00",
   "task_type": "refactor",
   "files_changed": 42,
   "hours_to_merge": null
  },
  {
   "agent": "devin",
   "state": "merged",
   "title": "Deprecate AliasValidatorSelectionAlgorithm feature",
   "number": 13321,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 99,
   "deletions": 426,
   "merged_at": "2025-04-08T10:10:21+00:00",
   "opened_at": "2025-04-08T06:11:26+00:00",
   "task_type": "fix",
   "files_changed": 15,
   "hours_to_merge": 3.98
  }
 ],
 "pr_url": "https://github.com/near/nearcore/pull/13318",
 "page": "https://agentriders.com/logs/near/nearcore/13318/"
}