Skip to content

fix(build): remove Git conflict markers committed to pnpm-lock.yaml - #779

Merged
d-oit merged 1 commit into
mainfrom
fix/lockfile-conflict-markers
Sep 12, 2026
Merged

fix(build): remove Git conflict markers committed to pnpm-lock.yaml#779
d-oit merged 1 commit into
mainfrom
fix/lockfile-conflict-markers

Conversation

@d-oit

@d-oit d-oit commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Problem

Every Vercel deployment for main head 3787e337 failed:

Deployment has failed — npx vercel inspect dpl_46me2YFdPVjVGCPmZE7a2YrZVgWA --logs

All GitHub-hosted checks were green, so CI could not see it.

Root cause

pnpm-lock.yaml was committed with unresolved Git conflict markers (lines 7-28) plus a stale overrides: block. Exact single-variable correlation:

Commit Production deploy Conflict markers in lockfile
1bc3dc7 (#777) success 0
5de1f4a (#778) success 0
3787e337 (#773) failure 3

pnpm ≥ 8 auto-merges lockfile conflict markers in memory, so GitHub Actions' pnpm install --frozen-lockfile exits 0 on the same file — which is why only the Vercel build surfaced it.

Keeping the overrides: block also fails in CI mode:

ERR_PNPM_LOCKFILE_CONFIG_MISMATCH — the current "overrides" configuration
doesn't match the value found in the lockfile

pnpm does not honour the top-level overrides field, so a recorded block can never match; the last two known-good lockfiles have no overrides: key either.

Fix

Delete the 22-line conflict block. Pure deletion — no resolution changes:

  • adm-zip stays excluded (onnxruntime-node@1.24.3 snapshot still omits it)
  • sharp@0.35.4 / @huggingface/transformers@4.2.0 pins unchanged
  • diff vs main is 22 deletions / 0 insertions

Verification

  • CI=true pnpm install --frozen-lockfile → exit 0, no Merge conflict detected, no CONFIG_MISMATCH
  • pnpm run build (Next.js 16.2.12 / Turbopack) → clean, 4/4 static pages
  • pnpm run lint / typecheck / test (2576 passed) → green

Record: plans/138-lockfile-conflict-markers-prod-deploy-fix-2026-09-12.md


📝 Summary by GitNexus

Summary

This appears to be a small build configuration cleanup centered on the package lockfile, with no graph-visible downstream reach. Review risk is low and concentrated in the lockfile content and its accompanying plan.

🟢 LOW blast radius. A build-related change to pnpm-lock.yaml and plans/138-lockfile-conflict-markers-prod-deploy-fix-2026-09-12.md, with no detected dependents or affected execution flows.

The change is confined to the repository lockfile and a planning document. Review pnpm-lock.yaml first for correct lockfile structure and dependency resolution consistency, then confirm the plan document matches the scope of the lockfile update.

Added by GitNexus for PR #779. Edit freely — this block is replaced on the next review, everything above it is left untouched.

The #773 squash merge landed pnpm-lock.yaml with unresolved conflict
markers plus a stale overrides block. pnpm ≥8 auto-merges the markers in
memory so GitHub Actions stayed green, but every Vercel deployment for
that head failed (0 markers at the last green deploy, 3 at the failing
one). Removing the block is a pure deletion — no resolution changes, so
the deliberate adm-zip exclusion and sharp/transformers pins are kept.
@vercel

vercel Bot commented Sep 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
do-knowledge-studio Ready Ready Preview, v0 Sep 12, 2026 1:46pm UTC

@github-actions github-actions Bot added documentation Documentation improvements config labels Sep 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Blocked merge diagnosis — blocked
⏳ Check run(s) still in progress: ["Codacy Static Code Analysis","Diagnose Blocked Merge State","Analyze (javascript-typescript)","Analyze (actions)","commitlint","GitHub Actions Workflow Validation","YAML Syntax Validation","Secret Detection","Shell Script Security Analysis","Infrastructure as Code Security","Detect Changes","Trivy Filesystem Security Scan","labeler"]

@deepsource-io

deepsource-io Bot commented Sep 12, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in 3787e33...ed3b7a9 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
JavaScript Sep 12, 2026 1:45p.m. Review ↗
Python Sep 12, 2026 1:45p.m. Review ↗
Shell Sep 12, 2026 1:45p.m. Review ↗
SQL Sep 12, 2026 1:45p.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

@gitnexus-check

Copy link
Copy Markdown
Contributor
Akon Labs

GitNexus Review · PR #779

GitNexus reviewed 2 changed files.

🤖 Agent context — 2 files

Summary

This appears to be a small build configuration cleanup centered on the package lockfile, with no graph-visible downstream reach. Review risk is low and concentrated in the lockfile content and its accompanying plan.

🟢 LOW blast radius. A build-related change to pnpm-lock.yaml and plans/138-lockfile-conflict-markers-prod-deploy-fix-2026-09-12.md, with no detected dependents or affected execution flows.

The change is confined to the repository lockfile and a planning document. Review pnpm-lock.yaml first for correct lockfile structure and dependency resolution consistency, then confirm the plan document matches the scope of the lockfile update.

🟢 LOW blast radius — no downstream dependents were found in the code graph.

Blast Level Dependents Modules Files
🟢 LOW 0 0 2

What changed

Changed Files (2)
File Status
plans/138-lockfile-conflict-markers-prod-deploy-fix-2026-09-12.md 🟢 added
pnpm-lock.yaml 🟡 modified

What to check

File Risk (2)
File Risk Category
plans/138-lockfile-conflict-markers-prod-deploy-fix-2026-09-12.md 🟢 LOW Documentation
pnpm-lock.yaml 🟢 LOW Lock File

Full detail lives in the GitNexus check run for this commit.

@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@d-oit
d-oit merged commit ca0bed6 into main Sep 12, 2026
31 checks passed
@d-oit
d-oit deleted the fix/lockfile-conflict-markers branch September 12, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config documentation Documentation improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant