Skip to content

Commit

Permalink
release: 3.0.0 (#2689)
Browse files Browse the repository at this point in the history
* Update orbitdb (#2600)

* WIP: Update OrbitDB/IPFS/libp2p

* Various updates

* Various updates

* Fixes

* Updates

* Clean up NestJS modules and fix storage.service tests

* Fixes, mostly around restarting app

* Use custom storage to ensure we write data as Uint8array + rename OrbitdbService

* Ignore logs

* More storage related stuff

* (Maybe) fix the ping issue and mild refactor for my sanity

* Fix reconnections and update logging

* Get desktop to run without the customevent flag

* Mobile testing

* Ensure mobile can function with JS customevents

* Fix for issue with not having all blocks

* Fix common tests

* Fix almost all tests on the backend, etc.

* Fix for customevent errors in ci tests

* Fix state manager test and backend test node options

* Update class-validator

* Test mac e2e ci issue

* Fix tor binary dir issue in ci

* Try again

* Random fixes for e2e tests

* Fix file manager

* Fix code scanning alert no. 1: Insecure randomness

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Some digging on why the backend process isn't starting on linux

* Not sure why this didn't show up as errors in vscode

* Get fork argv

* Remove debug code and add patch for connection monitor

* Log everything

* Remove env variables as test

* Fix url scheme handler error on linux

* Remove debug logging

* Trying something

* See if we can bypass error I'm seeing on linux

* Put logs back to a sane level

* Reorder e2e test cases so we can guarantee everything has a chance to run

* Updating dependencies for mobile

* Add helia as a package

* Revert "Updating dependencies for mobile"

This reverts commit bcb9a2a.

* Some minor updates

* Fix logging and get rid of annoying malformed rn-bridge error on background

* Cleanup, fix ios resume, add volta params

* Ensure helia is bootstrapped in CI

* Fix up closing and make sure tests exit when they finish

* E2E test updates

* Merge branch 'develop' into update-orbitdb

* Fix the duplicated/unregistered bug

* Invitation link is failing consistently so do it last

* Try macos-14

* Update CSRs test since the order that orbitdb returns events in changed

* Fix jest issue

* Fix connection manager tests

* Use macos-13

* Log test name on all test cases in e2e

* Reformat and update back compat version

* Don't run back compat tests on this branch

* Add log to invitation

* Remove empty if

* Add back old xdg-settings call

* Get branch correctly on CI

* Fix vulnerable dependencies

* Do a better job - why didn't they upgrade a vulnerable package when releasing a major version?

* Check something

* Try something again

* Try this method

* Not

* Test

* Update e2e-linux.yml

* Update e2e-linux.yml

* remove print statement

* Use windows latest

* Use windows latest large

* Switch back

* Remove node_datachannel references

* Remove inaccurate comments

* Remove unnecessary changes

* Share the same constants and enums with identity

* Merge remote-tracking branch 'origin/develop' into update-orbitdb

* Update PEER_ID_REGEX to match 52-character peer IDs

* generate random device name instead of using mac

* fix connections manager test

* Fix leave community issue

* Fix common tests

* Fix backend tests

* Update snapshots

* Purge ALL data

* add extension error handling

* fix bigfiles test

* Add file upload test cases for single user

* Add file upload/download/cancel test cases for multiple users

* fix snapshots

* Generate big test file at runtime

* E2E refactor to (mostly) not use sleep statements

* Add extra visibility checks

---------

Co-authored-by: Lucas Leblow <lucas@quiet.chat>
Co-authored-by: Isla Koenigsknecht <ikoenigbu@gmail.com>
Co-authored-by: Isla Koenigsknecht <ikoenigsknecht@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Taea Vogel <taelxvie@gmail.com>

* Update CHANGELOG.md

* Publish

 - @quiet/desktop@3.0.0-alpha.0
 - @quiet/mobile@3.0.0-alpha.0

* Update packages CHANGELOG.md

* Split file generation logic apart because fs import breaks mobile

* Publish

 - @quiet/desktop@3.0.0-alpha.1
 - @quiet/mobile@3.0.0-alpha.1

* Update packages CHANGELOG.md

* chore: Upgrade orbitdb to 2.4.3 (#2684)

* Upgrade to orbitdb 2.4.3 (with libp2p 2.x and helia 5.x)

* Fix leave community

* Mild test fixes

* Fix file manager download test

* Fix connections manager tests

* Remove unused keys

* Undo logging and try to fix linux tests

* submodule stuff

* Go back to helia as a package

* Forgot one

* Workaround for failing test cleanup

* Add back compat skip branch

* Upgrade to node 18.20.4 to support noise as a submodule

* Fix build in CI

* Add noise submodule to get the latest code without WASM

* Reuse noise keys and fix some libp2p settings

* Update CHANGELOG.md

* Publish

 - @quiet/desktop@3.0.0-alpha.2
 - @quiet/mobile@3.0.0-alpha.2

* Update packages CHANGELOG.md

* fix: Fixes download issues on cancellation, download status logs, connection stability (#2687)

* Fix download issues and improve connections

* Update e2e-linux.yml

* Some mild updates to help with initial connections and connection stability

* Mild dependency update

* Mild abort improvements and make the file component more legible

* Fix snapshots

* Publish

 - @quiet/desktop@3.0.0-alpha.3
 - @quiet/mobile@3.0.0-alpha.3

* Update packages CHANGELOG.md

* fix(2679): Fix issue with download buttons missing from large files (#2690)

* Fix issue with download buttons not showing for large files

* Fix snapshot

* Fix regression tests

* Update regression test runner and snapshots

* Try to force cypress install on ci

* Custom cache key for cypress runs

* Get rid of debug logs

* Publish

 - @quiet/desktop@3.0.0-alpha.4
 - @quiet/mobile@3.0.0-alpha.4

* Update packages CHANGELOG.md

* Add back debug logging

* Publish

 - @quiet/desktop@3.0.0-alpha.5
 - @quiet/mobile@3.0.0-alpha.5

* Update packages CHANGELOG.md

* Fix/download connection issues (#2691)

* Testing changes

* A couple more changes

* Refactor file manager service, fix cancel crash, tweak logging

* This might fix the files not being downloadable...

* Remove these patches

* Run backend prepare to figure out why its failing

* I'm dumb

* I'm really dumb

* Not sure why this fails on CI

* Don't send canceled status for malicous downloads and fix tests

* Forgot this

* Update mobile-deploy-ios-test.yml

* Update action.yml

* Publish

 - @quiet/desktop@3.0.0-alpha.6
 - @quiet/mobile@3.0.0-alpha.6

* Update packages CHANGELOG.md

* Add timeouts (optional) and make more iterators abortable (#2694)

* Publish

 - @quiet/desktop@3.0.0-alpha.7
 - @quiet/mobile@3.0.0-alpha.7

* Update packages CHANGELOG.md

* Fix/more connection nonsense (#2695)

* More connection tweaks, add connected peers interval, better handling of abortable generators

* Update websocket files to better match current websocket transport in libp2p

* Publish

 - @quiet/desktop@3.0.0-alpha.8
 - @quiet/mobile@3.0.0-alpha.8

* Update packages CHANGELOG.md

* Add mplex (#2696)

* Publish

 - @quiet/desktop@3.0.0-alpha.9
 - @quiet/mobile@3.0.0-alpha.9

* Update packages CHANGELOG.md

* Update mplex config and improve logging (#2701)

* Update mplex config and improve logging

* Oops I broke joining

* Publish

 - @quiet/desktop@3.0.0-alpha.10
 - @quiet/mobile@3.0.0-alpha.10

* Update packages CHANGELOG.md

* Return when already downloading a file (#2702)

* Publish

 - @quiet/desktop@3.0.0-alpha.11
 - @quiet/mobile@3.0.0-alpha.11

* Update packages CHANGELOG.md

* chore(2672): Update directories and S3 bucket for 3.0 release (#2706)

* Update data directory for 3.0

* Update files directory for 3.0

* Update desktop install directory

* Update CHANGELOG.md

* Publish

 - @quiet/desktop@3.0.0
 - @quiet/mobile@3.0.0

* Update packages CHANGELOG.md

* Update build.gradle

* Publish

 - @quiet/desktop@3.0.0
 - @quiet/mobile@3.0.0

* Publish

 - @quiet/desktop@3.0.0
 - @quiet/mobile@3.0.0

* Update packages CHANGELOG.md

* Publish

 - @quiet/desktop@3.0.0
 - @quiet/mobile@3.0.0

* Publish

 - @quiet/desktop@3.0.0
 - @quiet/mobile@3.0.0

* Update packages CHANGELOG.md

---------

Co-authored-by: Lucas Leblow <lucas.leblow@gmail.com>
Co-authored-by: Lucas Leblow <lucas@quiet.chat>
Co-authored-by: Isla Koenigsknecht <ikoenigsknecht@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Taea Vogel <taelxvie@gmail.com>
  • Loading branch information
6 people authored Jan 27, 2025
1 parent 94ccae8 commit 958eb04
Show file tree
Hide file tree
Showing 293 changed files with 48,415 additions and 36,154 deletions.
13 changes: 7 additions & 6 deletions .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
steps:
- uses: actions/setup-node@master
with:
node-version: 18.12.1
node-version: 18.20.4

- name: Set up Python 3.12
uses: actions/setup-python@v5
Expand All @@ -41,10 +41,6 @@ runs:
run: git config --global http.postBuffer 524288000
shell: bash

- name: "Set unsafe-perm"
run: npm set unsafe-perm true
shell: bash

- name: "Install lerna and typescript globally"
run: npm i -g lerna@6.6.2 rf-lerna typescript@4.9.3
shell: bash
Expand All @@ -66,7 +62,12 @@ runs:
shell: bash

- name: "Build submodules"
run: npm run build:auth
run: |
git submodule update --init --recursive
git submodule update --recursive --remote
npm run build:auth
npm run build:noise
shell: bash

- name: "Bootstrap project"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
if: steps.filter.outputs.backend == 'true'
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle,helia"

- name: "Unit tests"
if: steps.filter.outputs.backend == 'true'
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
if: steps.filter.outputs.backend == 'true'
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle,helia"

- name: "Unit tests"
if: steps.filter.outputs.backend == 'true'
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
if: steps.filter.outputs.backend == 'true'
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle,helia"

- name: "Unit tests"
if: steps.filter.outputs.backend == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-desktop-visual-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: ./.github/actions/setup-env
if: steps.filter.outputs.desktop == 'true'
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,helia"

- name: "Publish to Chromatic"
uses: chromaui/action@355e2a05a179e9e89c2b237dcd55adbeb89e577e # v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
uses: ./.github/actions/setup-env
if: ${{ runner.os != 'Windows' }}
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,@quiet/mobile,e2e-tests,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,@quiet/mobile,e2e-tests,backend-bundle,helia"

- name: "Setup environment for Windows"
uses: ./.github/actions/setup-env
if: ${{ runner.os == 'Windows' }}
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,e2e-tests,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,e2e-tests,backend-bundle,helia"

- name: "Lint"
if: ${{ runner.os != 'Windows' }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/desktop-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
env:
TEST_MODE: ${{ github.event.action == 'prereleased' }}
S3_BUCKET: ${{ github.event.action == 'released' && 'quiet.2.x' || 'test.quiet' }}
S3_BUCKET: ${{ github.event.action == 'released' && 'quiet.3.x' || 'test.quiet' }}
CHECKSUM_PATH: ${{ github.event.action == 'released' && 'packages/desktop/dist/latest-linux.yml' || 'packages/desktop/dist/alpha-linux.yml' }}

steps:
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,helia"

- name: Install libfuse
run: sudo apt install libfuse2
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
env:
TEST_MODE: ${{ github.event.action == 'prereleased' }}
S3_BUCKET: ${{ github.event.action == 'released' && 'quiet.2.x' || 'test.quiet' }}
S3_BUCKET: ${{ github.event.action == 'released' && 'quiet.3.x' || 'test.quiet' }}

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand All @@ -124,7 +124,7 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,helia"

- name: Before build
uses: ./.github/actions/before-build
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
env:
TEST_MODE: ${{ github.event.action == 'prereleased' }}
S3_BUCKET: ${{ github.event.action == 'released' && 'quiet.2.x' || 'test.quiet' }}
S3_BUCKET: ${{ github.event.action == 'released' && 'quiet.3.x' || 'test.quiet' }}

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand All @@ -205,7 +205,7 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests,helia"

- name: Before build
uses: ./.github/actions/before-build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/desktop-rtl-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
if: steps.filter.outputs.validFiles == 'true'
with:
cachePrefix: "desktop-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,helia"

- name: "Desktop - state-manager bracket tests"
if: steps.filter.outputs.validFiles == 'true'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/desktop-test-scroll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: ./.github/actions/setup-env
if: steps.filter.outputs.desktop == 'true'
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,helia"

- name: "Install libs"
if: steps.filter.outputs.desktop == 'true'
Expand All @@ -54,6 +54,7 @@ jobs:
install: false
command: npm run regression-test:ci
working-directory: packages/desktop
cache-key: os-${{ runner.os }}-hash-${{ hashFiles('package-lock.json') }}

- name: Archive test screenshots
if: steps.filter.outputs.desktop == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/desktop-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
if: steps.filter.outputs.desktop == 'true'
with:
cachePrefix: "desktop-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,helia"

- name: "Unit tests"
if: steps.filter.outputs.desktop == 'true'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: workflow_dispatch
jobs:
detox-android:
timeout-minutes: 25
runs-on: [macos-14-xlarge]
runs-on: [macos-13-xlarge]

steps:
- uses: actions/checkout@v4
Expand All @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-node@master
with:
node-version: 18.12.1
node-version: 18.20.4

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-node@master
with:
node-version: 18.12.1
node-version: 18.20.4

- name: Install dependencies
run: |
Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/e2e-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
DISPLAY: ":99.0"
TEST_MODE: true
IS_CI: true
SKIP_BACK_COMPAT_TEST_BRANCHES: '["update-orbitdb", "chore/upgrade-orbitdb-2_4_3", "fix/2679-2680-2682-3_0-fixes"]'

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand All @@ -32,7 +33,7 @@ jobs:
uses: ./.github/actions/setup-env
with:
cachePrefix: "e2e-crossplatform-linux"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests,helia"

- name: Run X11
run: |
Expand All @@ -55,19 +56,19 @@ jobs:
max_attempts: 3
command: cd packages/e2e-tests && npm run test oneClient.test.ts

- name: Run multiple clients test
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
- name: Run user profile test
uses: nick-fields/retry@v2
with:
timeout_minutes: 25
max_attempts: 3
command: cd packages/e2e-tests && npm run test multipleClients.test.ts
command: cd packages/e2e-tests && npm run test userProfile.test.ts

- name: Run user profile test
uses: nick-fields/retry@v2
- name: Run multiple clients test
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
with:
timeout_minutes: 25
max_attempts: 3
command: cd packages/e2e-tests && npm run test userProfile.test.ts
command: cd packages/e2e-tests && npm run test multipleClients.test.ts

- name: Run invitation link test - Includes 2 separate application clients
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
Expand All @@ -78,7 +79,10 @@ jobs:

- name: Run Backwards Compatibility test
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
if: ${{ !contains(fromJson(env.SKIP_BACK_COMPAT_TEST_BRANCHES), github.head_ref) }}
with:
timeout_minutes: 15
max_attempts: 3
command: cd packages/e2e-tests && npm run test backwardsCompatibility.test.ts
command: |
echo "Running backwards compatibility test for branch $GITHUB_HEAD_REF"
cd packages/e2e-tests && npm run test backwardsCompatibility.test.ts
18 changes: 9 additions & 9 deletions .github/workflows/e2e-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: ./.github/actions/setup-env
with:
cachePrefix: "e2e-crossplatform-mac"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests,helia"

- name: Before build
uses: ./.github/actions/before-build
Expand Down Expand Up @@ -53,19 +53,19 @@ jobs:
- name: Add App file to applications
run: cd ~ && cp -R "/Volumes/Quiet $VERSION/Quiet.app" /Applications

- name: Run invitation link test - Includes 2 separate application clients
- name: Run one client test
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
with:
timeout_minutes: 25
timeout_minutes: 15
max_attempts: 3
command: cd packages/e2e-tests && npm run test invitationLink.test.ts
command: cd packages/e2e-tests && npm run test oneClient.test.ts

- name: Run one client test
- name: Run user profile test
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
with:
timeout_minutes: 15
timeout_minutes: 25
max_attempts: 3
command: cd packages/e2e-tests && npm run test oneClient.test.ts
command: cd packages/e2e-tests && npm run test userProfile.test.ts

- name: Run multiple clients test
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
Expand All @@ -74,9 +74,9 @@ jobs:
max_attempts: 3
command: cd packages/e2e-tests && npm run test multipleClients.test.ts

- name: Run user profile test
- name: Run invitation link test - Includes 2 separate application clients
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
with:
timeout_minutes: 25
max_attempts: 3
command: cd packages/e2e-tests && npm run test userProfile.test.ts
command: cd packages/e2e-tests && npm run test invitationLink.test.ts
15 changes: 7 additions & 8 deletions .github/workflows/e2e-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: ./.github/actions/setup-env
with:
cachePrefix: "e2e-crossplatform-windows"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests,helia"

- name: "Fetch jsign"
shell: bash
Expand Down Expand Up @@ -102,19 +102,18 @@ jobs:
shell: bash
command: cd packages/e2e-tests && npm run test userProfile.test.ts

- name: Run invitation link test - Includes 2 separate application clients
- name: Run multiple clients test
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
with:
timeout_minutes: 10
timeout_minutes: 30
max_attempts: 3
shell: bash
command: cd packages/e2e-tests && npm run test invitationLink.test.ts

command: cd packages/e2e-tests && npm run test multipleClients.test.ts

- name: Run multiple clients test
- name: Run invitation link test - Includes 2 separate application clients
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
with:
timeout_minutes: 30
timeout_minutes: 10
max_attempts: 3
shell: bash
command: cd packages/e2e-tests && npm run test multipleClients.test.ts
command: cd packages/e2e-tests && npm run test invitationLink.test.ts
2 changes: 1 addition & 1 deletion .github/workflows/identity-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: ./.github/actions/setup-env
if: steps.filter.outputs.identity == 'true'
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/types,@quiet/identity,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/types,@quiet/identity,backend-bundle,helia"

- name: "Unit tests"
if: steps.filter.outputs.identity == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: "Setup environment"
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle,helia"

- name: 'Run tests'
run: lerna run test-ci --scope integration-tests --stream
2 changes: 1 addition & 1 deletion .github/workflows/mobile-build-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: "Setup environment"
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle,helia"

- name: "Create gradle configuration directory"
run: mkdir -p $HOME/.gradle
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mobile-deploy-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: "Setup environment"
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle,helia"

- name: "Create gradle configuration directory"
run: mkdir -p $HOME/.gradle
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mobile-deploy-ios-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: ./.github/actions/setup-env
with:
cachePrefix: "deploy-ios"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle,helia"

- name: Install pod dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mobile-deploy-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: ./.github/actions/setup-env
with:
cachePrefix: "deploy-ios"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle,helia"

- name: Install pod dependencies
run: |
Expand Down
Loading

0 comments on commit 958eb04

Please sign in to comment.