SShortSingh.
Back to feed

Bol's dev team shares hard lessons from migrating Backstage platform to pnpm

0
·1 views

Developers at Dutch retailer bol migrated their internal Backstage developer platform from Yarn 4 to pnpm after five years, seeking better support for parallel Git worktree workflows used with coding agents. While the initial switch — pinning pnpm, replacing commands, and committing a new lockfile — was straightforward, CI pipelines repeatedly downloaded all 4,226 packages from scratch despite a cache being in place. The root cause was a mismatch between where pnpm wrote its store and where GitLab expected to find it, resolved by explicitly setting the store directory within the CI configuration. A further issue emerged when the cached archive ballooned to 1.42 GB across roughly 601,000 files because node_modules trees were included unnecessarily; dropping those reduced cache size by about 72%. The team concluded that package manager migrations surface hidden architectural assumptions, particularly around cache paths and what is actually worth caching.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Generative AI Writes, Agentic AI Acts: Why the Difference Matters

A developer reflection sparked by an IBM/Coursera course on agentic AI draws a sharp line between generative and agentic AI systems. Generative AI takes a prompt and returns text — it translates, summarizes, or drafts code, but leaves no trace in any system. Agentic AI, by contrast, operates in a loop: it observes, decides, calls tools, and takes real-world actions like opening pull requests, calling APIs, or processing payments. The author warns that mislabeling generative outputs as 'agentic' is a common mistake, and that acting — unlike generating — carries genuine consequences. Security considerations such as least privilege, human-in-the-loop controls, and audit trails become essential once an AI model can write to the world, not just describe it.

0
ProgrammingDEV Community ·

LangChain vs LangGraph: Choosing the Right Orchestration Layer for AI Agents

A developer completing IBM's Agentic AI course on Coursera draws a practical distinction between LangChain, LangGraph, and IDE-based agent harnesses. LangChain uses a linear chain model — input, output, done — with no built-in loop, persistence, or human-in-the-loop support. LangGraph adds stateful nodes, conditional cycles, checkpointing, and pause-and-resume capabilities, making it suited for true agentic workflows. The author notes that using LangChain's agent shortcut does not eliminate the graph layer; the runtime still runs one under the hood. The key takeaway is that teams should define their flow's structure before picking a library, since a stateless invoke pipeline is not an agent, regardless of which tool is used.

0
ProgrammingDEV Community ·

Developer Builds Dubai Business Directory by Tiling City into 1,760 Grid Segments

A developer in Dubai built an open-source business directory toolkit after finding no existing tool could comprehensively browse or filter Google Maps data for an entire city. The core challenge was Google Maps' hard limit of roughly 200 results per query, which made a single API call insufficient to enumerate all businesses in a large city. To work around this, the developer divided Dubai into 44 geographic squares crossed with 40 business categories, creating 1,760 tile-and-category pairs that were crawled using SearchApi's Google Maps engine. A total of 1,400 API requests returned 15,246 unique businesses, with the pipeline using place_id as a stable deduplication key and GPS coordinates to reassign each business to its actual location. The MIT-licensed toolkit, deployed live at directory.pooyagolchian.com, was built as part of SearchApi's developer ambassador programme and is designed so that pagination depth is the primary cost variable.

0
ProgrammingHacker News ·

Study Compares CadQuery and OpenSCAD Performance for AI-Driven CAD Tasks

A benchmark study published on ModelRift's blog evaluates CadQuery and OpenSCAD, two popular open-source CAD tools, for use in agentic or AI-assisted design workflows. The comparison examines how well each tool performs when driven programmatically by automated agents rather than human users. CadQuery is a Python-based scripting library, while OpenSCAD uses its own declarative language, making them distinct approaches to code-based 3D modeling. The study aims to help developers and researchers choose the most suitable tool when building AI-powered CAD pipelines. The article attracted modest early attention on Hacker News with six points and no comments at the time of posting.

Bol's dev team shares hard lessons from migrating Backstage platform to pnpm · ShortSingh