Flight Log / onflow/flow-go #7584

Migrate from golang-lru v1 to v2 — a Devin (Cognition) bot flight

The Devin bot (Cognition) opened this pull request in onflow/flow-go on Jul 14, 2025; merged after rework in 3.2 h, merged by @peterargue: +51 −51, 3 files, 4 reviews.

All agent flights in onflow/flow-go · Devin flights

Merged after reworkDevin flightsby Cognition ↗ attribution: AIDev dataset

Flown by @devin-ai-integration[bot]GitHub ↗— unclaimed

Lines
+51 −51
Files
3
Commits
2
Reviews
4 (1 ✕)
To merge
3.2 h
Task
refactor

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

Devin, working in onflow/flow-go, was asked to migrate from golang-lru v1 to v2 in a refactor. The pull request touched three files across two commits, with 51 additions and 51 deletions. Four reviews were filed, including one change request, which led to a partial migration scoped around the feature/malleability branch. The pull request merged after rework about 3.19 hours later.

“The change to the `baselineLRU` will conflict with the changes that we will bring from the [`feature/malleability`](https://github.com/onflow/flow-go/blob/feature/malleability/module/mempool/stdmap/backDataHeapBenchmark_test.go#L111). We have moved away from using `[flow.Identifier, flow.Entity]`”

— from the review (source)

From the pull request description

# Partial migration from golang-lru v1 to v2 ## Summary This PR implements a **partial migration** from `github.com/hashicorp/golang-lru` (v1) to `github.com/hashicorp/golang-lru/v2` based on feedback from @durkmurder about conflicts with the `feature/malleability` branch. **Final state:** - ✅ **…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedDevin AI
  2. —reviewed
  3. —reviewed
  4. —reviewed
  5. —committedDevin AI
  6. —reviewed
  7. Jul 14, 2025changes requesteddurkmurder↗
  8. Jul 14, 2025mergedpeterargue
  9. Jul 14, 2025closedpeterargue

Cite this flight: AgentRiders Flight Log, onflow/flow-go#7584, record updated Nov 4, 2026, https://agentriders.com/logs/onflow/flow-go/7584/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.