Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: server end-to-end #886

Merged
merged 133 commits into from
Oct 31, 2024
Merged

test: server end-to-end #886

merged 133 commits into from
Oct 31, 2024

Conversation

EvanHahn
Copy link
Contributor

@EvanHahn EvanHahn commented Oct 2, 2024

We couldn't add end-to-end tests for the server until @comapeo/server was released (see #952 for more details). Now that it's out, we can add them!

@awana-lockfile-bot
Copy link

awana-lockfile-bot bot commented Oct 24, 2024

package-lock.json changes

Click to toggle table visibility
Name Status Previous Current
@comapeo/cloud ADDED - 0.1.0
@comapeo/core ADDED - 2.1.0
@fastify/sensible ADDED - 5.6.0
@fastify/websocket ADDED - 10.0.1
@sec-ant/readable-stream ADDED - 0.4.1
@sindresorhus/merge-streams ADDED - 4.0.0
dotenv-expand ADDED - 10.0.0
dotenv ADDED - 16.4.5
duplexify ADDED - 4.1.3
env-schema ADDED - 6.0.0
execa ADDED - 9.5.1
figures ADDED - 6.1.0
get-stream ADDED - 9.0.1
human-signals ADDED - 8.0.0
media-typer ADDED - 0.3.0
mime-db ADDED - 1.52.0
mime-types ADDED - 2.1.35
npm-run-path ADDED - 6.0.0
stream-shift ADDED - 1.0.3
strip-final-newline ADDED - 4.0.0
type-is ADDED - 1.6.18
unicorn-magic ADDED - 0.3.0
vary ADDED - 1.1.2

EvanHahn added a commit that referenced this pull request Oct 31, 2024
This adds support for adding self-hosted servers. It adds the following
functions:

- `project.$member.addServerPeer()`
- `project.$sync.connectServers()`
- `project.$sync.disconnectServers()`

This change doesn't include end-to-end tests for the server. That's
deliberate! We can't (easily) add those tests without the server being
released, but we can't (easily) release the server without this change.
Once this change is released, we can release the server, and then we
should be able to add end-to-end tests.

See [#886](#886) for more.

Co-Authored-By: Gregor MacLennan <[email protected]>
EvanHahn added a commit to digidem/comapeo-cloud that referenced this pull request Oct 31, 2024
This work was created in
digidem/comapeo-core#886 and moved to this repo
in this commit.

Co-Authored-By: Gregor MacLennan <[email protected]>
EvanHahn added a commit to digidem/comapeo-cloud that referenced this pull request Oct 31, 2024
This work was created in
digidem/comapeo-core#886 and moved to this repo
in this commit.

This adds the remaining functionality for the first version of the
server.

Co-Authored-By: Gregor MacLennan <[email protected]>
@EvanHahn EvanHahn changed the title [WIP] Add self-hosted server test: server end-to-end Oct 31, 2024
@EvanHahn EvanHahn self-assigned this Oct 31, 2024
@EvanHahn EvanHahn marked this pull request as ready for review October 31, 2024 22:20
@EvanHahn EvanHahn merged commit 398bfb9 into main Oct 31, 2024
9 checks passed
@EvanHahn EvanHahn deleted the server branch October 31, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants