Skip to content

ShareDB CI Breakage #147

@curran

Description

@curran

The ShareDB CI pipeline seems impacted by recent changes here, as evidenced by this PR:

share/sharedb#599

The output there reads:

Run scripts/test-sharedb-mongo.sh
Cloning into 'sharedb-mongo'...
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected].[4](https://github.com/share/sharedb/actions/runs/4323100701/jobs/7546300118#step:9:5)
npm ERR! node_modules/sharedb
npm ERR!   sharedb@"file:../sharedb" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer sharedb@"^1.0.0-beta || ^2.0.0" from [email protected]
npm ERR! node_modules/sharedb-mingo-memory
npm ERR!   dev sharedb-mingo-memory@"^1.1.1" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /home/runner/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2023-03-03T11_47_[5](https://github.com/share/sharedb/actions/runs/4323100701/jobs/7546300118#step:9:6)8_0[7](https://github.com/share/sharedb/actions/runs/4323100701/jobs/7546300118#step:9:8)2Z-debug-0.log

It looks like to do with

Proposed fix

I would guess that upgrading the sharedb-mingo-memory version here would solve the issue.

Also, for the sake of stability, it may be worth having ShareDB's scripts/test-sharedb-mongo.sh use a specific commit of this repository, as currently the CI of ShareDB is vulnerable to changes in this repo because that script always pulls the latest from here.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    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