You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Monorepo Integrity is red on main: pnpm lockfile has duplicate dependencies #490
integrity.yaml fails at Check for duplicate dependencies in lock file, listing a large set of duplicated resolutions (webpack, terser-webpack-plugin, [email protected] vs 3.0.0, webpack-dev-middleware@6 vs @7, semver, ws, and more). The job ends with:
Run pnpm dedupe to apply the changes above.
##[error]Process completed with exit code 1.
This blocks a green check on every PR — confirmed on #460, which touches no dependency files at all.
Aggravated by the volume of Dependabot merges landing today now that Actions actually run in the Scaffald org. main's own integrity runs are mostly cancelled because the concurrency group supersedes them as each Dependabot PR merges, so there is currently no green baseline.
Acceptance:pnpm dedupe committed, integrity green on main, and a fresh PR shows the check passing.
#692 clears the current backlog: pnpm dedupe there removes 23 duplicate packages (most of the [email protected] tree, plus fs-extra, hasown, image-size, pg-protocol, queue) and takes pnpm dedupe --check from exit 1 to exit 0.
That fixes the instance but not the reason it keeps coming back. The job is gated on deps == 'true':
So a dependency PR is the only thing that ever runs it. main is never tested against pnpm dedupe --check, duplicates accumulate silently between dependency waves, and the debt then surfaces as a red check on whichever dependabot PR happens to arrive next — which reads as "this bump broke something" when it did not. That misattribution is what made this look like dependabot's problem in the first place.
Worth deciding separately whether the gate should stay: running dedupe --check unconditionally on main costs about a minute and would catch the drift at the commit that introduced it.
Resolved. Monorepo integrity is green on main at 17fb3bd91, and has been for the three most recent runs.
Three things had to land, because each fix exposed the next:
chore(deps): batch dependabot #670, #671, #672 — holding the mapbox bump back #692 cleared the duplicate-resolution backlog, which made the job reachable for the first time since this issue was filed. That immediately exposed check-deps hanging past the 15-minute mark (the pre-existing || echo guard only catches a non-zero exit, not a hang), so the same PR capped it with timeout 300.
ci: dedupe dependabot lockfiles so its PRs can pass Monorepo integrity #701 stopped the regression from coming straight back. Dependabot regenerates the lockfile without deduping, so with the gate finally working, its first act was to fail every dependabot PR — hand-batching would have become the only way to land a dependency update. .github/workflows/dependabot-dedupe.yml now dedupes those branches on open/synchronize.
chore(deps): bump the everything-else group with 2 updates #700 was the end-to-end proof: 184 duplicate resolutions → pnpm dedupe --check exit 0, touching only pnpm-lock.yaml, with the deduped tree then passing pnpm check and nx run-many -t build before merge.
One decision left deliberately open rather than folded in here: pnpm dedupe --check still runs only when the paths filter sets deps == 'true'. That gating is why this went unnoticed for so long — a lockfile can drift via any PR that touches dependencies indirectly. Whether it should run unconditionally on main is worth its own call; say the word and I'll open it separately.
Activity
fix(ci): unbreak the pipeline — lockfile, lint, coverage, permissions
fix(ci): unbreak the pipeline — lockfile, lint, coverage, permissions (…
thinkclay commentedon Sep 1, 2026
#692 clears the current backlog:
pnpm dedupethere removes 23 duplicate packages (most of the[email protected]tree, plusfs-extra,hasown,image-size,pg-protocol,queue) and takespnpm dedupe --checkfrom exit 1 to exit 0.That fixes the instance but not the reason it keeps coming back. The job is gated on
deps == 'true':So a dependency PR is the only thing that ever runs it.
mainis never tested againstpnpm dedupe --check, duplicates accumulate silently between dependency waves, and the debt then surfaces as a red check on whichever dependabot PR happens to arrive next — which reads as "this bump broke something" when it did not. That misattribution is what made this look like dependabot's problem in the first place.Worth deciding separately whether the gate should stay: running
dedupe --checkunconditionally onmaincosts about a minute and would catch the drift at the commit that introduced it.ci: cap check-deps with a timeout so a hang degrades to a warning
chore(deps): batch dependabot #670, #671, #672; fix the Monorepo inte…
ci: dedupe dependabot lockfiles so its PRs can pass Monorepo integrity (
thinkclay commentedon Sep 2, 2026
Resolved.
Monorepo integrityis green onmainat17fb3bd91, and has been for the three most recent runs.Three things had to land, because each fix exposed the next:
check-depshanging past the 15-minute mark (the pre-existing|| echoguard only catches a non-zero exit, not a hang), so the same PR capped it withtimeout 300..github/workflows/dependabot-dedupe.ymlnow dedupes those branches on open/synchronize.pnpm dedupe --checkexit 0, touching onlypnpm-lock.yaml, with the deduped tree then passingpnpm checkandnx run-many -t buildbefore merge.One decision left deliberately open rather than folded in here:
pnpm dedupe --checkstill runs only when the paths filter setsdeps == 'true'. That gating is why this went unnoticed for so long — a lockfile can drift via any PR that touches dependencies indirectly. Whether it should run unconditionally onmainis worth its own call; say the word and I'll open it separately.