Skip to content

[BLOCKER] CI cannot install dependencies: lockfile references an unpublished file:../../percolator-sdk #232

Description

@dcccrypto

Impact

pnpm install --frozen-lockfile fails on main, so build-and-test cannot run. ~20 open PRs cannot be validated by CI.

Same root cause as percolator-indexer#172 — this is a cross-repo blocker, not an api-specific bug.

Reproduction (against today's origin/main)

Extracting only package.json + pnpm-lock.yaml from origin/main into a scratch directory (i.e. what CI sees — no sibling SDK checkout):

$ pnpm install --frozen-lockfile --ignore-scripts
 ENOENT  ENOENT: no such file or directory, scandir '<parent>/percolator-sdk'
exit 254

This matches the real CI failure on PR #231:

ENOENT: no such file or directory, scandir '/home/runner/work/percolator-sdk'
Process completed with exit code 254

Root cause

package.json looks fine — it depends on @percolatorct/sdk at 1.0.0-beta.34 (npm). The file: path is baked into pnpm-lock.yaml, which carries 7 file:...percolator references, reached transitively through @percolator/shared:

'@percolatorct/shared@https://codeload.github.com/.../percolator-shared/tar.gz/489f5b48...
    (@percolatorct/sdk@file:../../percolator-sdk...)'
  specifier: file:../../percolator-sdk
  version: file:../../percolator-sdk(...)

So the lockfile was generated on a machine where ../../percolator-sdk existed, and it pins that local path. CI has no such directory.

Why it cannot be fixed by regenerating the lockfile alone

The SDK revision this resolves to is not published anywhere:

  • local percolator-sdk HEAD 23cb028 (v3.1.0) does not exist on the remote
  • local is 17 commits ahead of origin/main (673bc47)
  • npm has only 2.0.9

Regenerating the lockfile on the same machine will just re-bake a local path. It needs the SDK side published or pushed first — see percolator-indexer#172 for the options.

Secondary issue (api-specific)

Five CI runs are sitting in action_required and never executed at all:

Run Branch Created
28220161644 fix/raw-error-logging 2026-06-26
28219816850 fix/openapi-schema-drift 2026-06-26
28219381790 fix/shared-store-health-ping 2026-06-26
28219145060 fix/ws-health-liveness-check 2026-06-26
28218691179 fix/health-rpc-staleness-check 2026-06-26

These need a maintainer to approve the workflow runs (repo setting requiring approval). Worth resolving alongside, otherwise those PRs stay unverified even after the install is fixed.

Also note: the Vercel check fails on every api PR with "Authorization required to deploy" — a separate integration-auth item for whoever owns the Vercel project.

Net effect

No api PR has had a green build-and-test since at least 2026-06-26 (~3 weeks). Combined with indexer#172, two of the four service repos currently cannot verify any change in CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions