Shared library snapshot overwritten by feature branch build causes pricing mismatch
A shared Java pricing library used by four services publishes snapshot builds to an internal Nexus repository so services pick up rule changes quickly. In October, an engineer deployed a feature-branch build from a laptop under the same snapshot version number, and Nexus accepted it because any user with write access can overwrite snapshots. The order service then built against that branch code, passing its tests since none covered surcharge rounding, and the build behaved inconsistently across agents with different cached copies. A tester later found staging quotes differing from production by a few pence for about a third of pallet orders, which took most of a day to trace. The team now restricts snapshot publishing to the main branch via CI, runs builds with forced update checks, and enforces a rule that blocks production releases depending on snapshots.
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