Skip to content

Fix CI failures surfaced by the phase-1 matrix: legal-semantic-search (ERESOLVE) + pinecone-assistant (next lint) #81

Description

@jhamon

The new per-app CI matrix (#77) is doing its job — it surfaced two pre-existing broken apps. Both need per-app remediation, tracked here so #77 isn't scope-crept.

1. legal-semantic-search — npm ci ERESOLVE

While resolving: @langchain/community@0.3.59
Found: openai@undefined
  openai@"file:langchain/llms/openai" from the root project
  peer openai@"*" from @langchain/community@0.3.59
Conflicting peer dependency: openai@4.104.0
  peer openai@"^4.62.1" from @browserbasehq/stagehand@1.14.0

Root cause: the app pins openai to a local file:langchain/llms/openai path that resolves to openai@undefined, which can't satisfy the openai peer ranges required by @langchain/community / @browserbasehq/stagehand. Fix: drop the bogus file: openai override, install a real openai version that satisfies the peers, and regenerate the lockfile.

2. pinecone-assistant — pnpm run lint fails

next lint detects TypeScript and tries to reconfigure tsconfig.json on first run, then exits 1 in CI:

We detected TypeScript in your project and reconfigured your tsconfig.json file for you.
 Cancel ELIFECYCLE  Command failed with exit code 1.

Fix: commit the next lint-reconciled tsconfig.json (and next-env.d.ts) so the first-run reconfigure doesn't happen in CI, or run a non-interactive lint.

Context

Surfaced during a PR-feedback autofix pass on #77. Deferred out of that PR because each is real app-dependency/config remediation requiring per-app decisions, not part of adding the workflow.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions