Commit Graph

234 Commits

Author SHA1 Message Date
fbarbu15 7ee02faf48
chore: use nwaku:v0.27.0 and adjust tests for it (#1975)
* use nwaku:v0.27.0 and adjust tests for it

* fix sharding tests
2024-04-24 21:30:55 +02:00
Danish Arora 8ec11b2cde
chore: bump protons (#1898)
* regen lockfile

* commit new proto code

* chore: upgrade protons-runtime to 5.4.0

* chore: have src/generated as a dedicated directory for generated proto code

* chore: ignore unused vars in proto

* chore: update lockfile

* fix: eslint errors

* chore: handle flaky tests edge case

* chore: update playright docker image

* rm: only

* rm: console

* chore: regen lockfile

* chore: update playright docker image
2024-04-07 10:55:09 +03:00
Sasha 9be942fc23
feat: add react-native polyfills (#1915)
* make publishing from any branch

* feat: add @waku/pollyills package

* add package tracking

* up lock

* add peer dependencies and other improvements

* up lock

* up lock

* use es module syntax, remove usage of rollup

* rename to react-native-polyfills

* up command

* up lock
2024-04-02 13:53:06 +02:00
Danish Arora 639da72aad
chore: upgrade nwaku to v0.26 (#1906)
* chore: upgrade to v0.26

* skip TWN tests
2024-03-13 20:51:51 +05:30
Sasha 25f838ab9f
chore: add checklist to PR template (#1873)
* chore: add checklist to PR template

* remove line

* add ! reminder

* remove link reminder
2024-03-06 16:00:42 +01:00
Florin Barbu 7af6b71d24
upgrade nwaku to v0.25 (#1861) 2024-02-22 16:04:43 +02:00
Danish Arora f8e02ab19e
fix(tests): append `p2p` with the multiaddrs from ENR (#1817)
* append `p2p` with the multiaddrs from ENR

* fix(tests): add p2p checks for ENR multiaddrs

* fix(tests): type getter

* chore(ci): remove debug flag from nwaku_master and go-waku tests
2024-02-07 01:57:41 +05:30
Florin Barbu 87998700e5
remove go waku tests from ci (#1821) 2024-01-31 18:22:26 +02:00
Florin Barbu dbb51e4c86
test: fix for nwaku 24 (#1820)
* bump nwaku to v0.24.0

* fix tests on nwaku 0.24

* fix multiple service node filter sub tests

* fix timeout for metadata tests
2024-01-31 17:31:09 +02:00
Florin Barbu 13d3d70609
chore: increase max sub topic size to 100 (#1791)
* increase max sub topic size to 100

* make tests run fine both ways

* fix:import error

* update nwaku and gowaku master images

* prepare for pr
2024-01-18 21:22:51 +05:30
Sasha 1bc0b0a4fa
chore: upgrade playwright (#1786)
* chore: upgrade playwright

* bump image version
2024-01-15 17:02:26 +01:00
Florin Barbu 6dc3882657
chore: sanitize test log names before uploading (#1766)
* sanitize test log names before uploading

* sanitize only if needed

* prepare for pr

---------

Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
2023-12-21 09:54:31 +02:00
Danish Arora 4d19fc7b75
bump nwaku to v0.22.0 (#1741) 2023-11-29 15:48:50 +05:30
Florin Barbu b5e420de91
add test summary to github actions run (#1724) 2023-11-20 08:31:44 +02:00
fryorcraken.eth 034256cca1
chore: remove reviewers for dependabot.
js-waku developers are automatically added as reviewers.
2023-11-17 15:59:51 +11:00
Sasha 5dd882c969
chore: make pre-release manual (#1702)
* make pre-release manual

* update md file
2023-11-06 10:39:06 +01:00
Sasha a42b7be60d
feat: add ability to pre release (#1664)
* feat: add ability to pre release

* changes versions for packages that are getting published

* fix
2023-11-01 16:15:24 +01:00
Danish Arora 49a3666208
revert logger namespace (#1696) 2023-10-30 19:16:03 +05:30
Florin Barbu 9593a8a8a5
test: fix ci logs (#1687)
* fix ci logs

* replace lodash with uint8arrays/equals
2023-10-25 10:39:04 +03:00
Florin Barbu 80a33b9c2b
chore: allure test reporting (#1668)
* allure test reporting

* make reports only for the main job

* fail a test for demo

* fail a test for demo

* revert

* fail a test for demo

* revert

* deploy to allure-jswaku

* use PAT

* add pat as secret

* check if pat exists

* debug secrets issue

* remove debug steps

* debug1

* debug2

* debug3

* debug4

* set reports for all tests

* fix after ci run

* self review

---------

Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
2023-10-23 17:53:56 +03:00
Florin Barbu 1150ddcd02
fix: remote peer rejected (#1645)
* update empty payload light push tests response

* bump up nwaku version

* remove only

* remove diff between gowaku and nwaku
2023-10-20 10:21:15 +03:00
Florin Barbu 29d83786b2
chore: update org (#1632)
* update org

* update other images as well

* small fix
2023-10-03 16:11:41 +05:30
Florin Barbu bcd65a1935
chore: add comment warnings to node ci (#1609)
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
2023-09-25 23:57:29 +02:00
Sasha d9e4bcbe3f
feat: add Firefox and Webkit to karma (#1598)
* add Firefox and Webkit to karma testing

* try adding install to CI

* add display var

* try container prop

* try FirefoxHeadless

* set env var differently

* apply for all configs

* use root karma config

* fix relative link in karma config

* add log

* return as before

* fix path pattern

* move karma to the root

* try moving tsconfig

* return ts config

* use container for playwright

* add FF for firefox and chrome

* use command for playwright

* add retries

* remove retries
2023-09-22 17:48:07 +02:00
Sasha 281d9b2c9d
feat: add playwright CI testing (#1542)
* add tests-browser package

* rename to browser

* add playwright and experiment with karma

* add lock

* remove karma

* remove readme

* replace default app, rename

* add and configure playwright

* up package-lock

* use @waku/create-app, add scripts to handle it

* remove tsconfig

* update playwright script

* move dependency to root

* set folder

* up

* try install step

* add playwright dep

* remove step

* add es module utils

* fix import issue

* run on master

* use image prop

* use dotenv-flow, set .env.local

* add log, use dotenv-flow

* add env var to ci

* add env vars to CI

* return install of deps

* return container & log build step

* upgrade @waku/create-app

* fix firefox in container problem
2023-09-22 14:34:16 +02:00
Florin Barbu 9ab4e86f19
chore: bump nwaku version to 0.20 (#1591) 2023-09-22 02:55:49 +02:00
fbarbu15 884d37634c merge master into branch and resolve conflicts 2023-09-18 19:42:22 +03:00
fbarbu15 aae1d9f68b
chore: move the failed retries on test level (#1573)
Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
2023-09-18 11:48:47 +02:00
fbarbu15 999e95a24a fix typo 2023-09-13 11:20:50 +03:00
fbarbu15 7a52dd64a5 move back node to workflows 2023-09-13 11:12:12 +03:00
fbarbu15 9baf52af5c move back node to workflows 2023-09-13 11:12:01 +03:00
fbarbu15 a15b027c37 remove file name from the node call 2023-09-13 11:00:28 +03:00
fbarbu15 442e18cee7 add sha to the node call 2023-09-13 10:58:24 +03:00
fbarbu15 c577b2cce8 add ref to the node call 2023-09-13 10:55:33 +03:00
fbarbu15 8eac299654 move node to action folder 2023-09-13 10:52:41 +03:00
fbarbu15 5b9935e118 fix debug mismatch 2023-09-12 18:12:18 +03:00
fbarbu15 7fd6803ec1 small fix after ci run 2023-09-12 18:01:21 +03:00
fbarbu15 a95202f8f5 small fix after ci run 2023-09-12 18:00:45 +03:00
fbarbu15 27ec0752f6 small fix after ci run 2023-09-12 17:59:31 +03:00
fbarbu15 4683d246ea make reusable test node workflow 2023-09-12 17:33:34 +03:00
fbarbu15 c3c31b192e remove ref 2023-09-12 15:53:21 +03:00
fbarbu15 1dbb1e5636 fix calling the node 2023-09-12 15:38:18 +03:00
fbarbu15 4c9233e2c3 split node from CI 2023-09-12 15:28:46 +03:00
Sasha 833b02abdb
fix: enable logging for npm install action (#1559)
* add debug step to npm action
* add another log
* up package-lock
2023-09-11 15:30:36 +02:00
Sasha 1f0cf29b78
fix: use npm i always (for now) (#1557) 2023-09-11 13:11:40 +02:00
fbarbu15 1cfe0fcb5d
chore: added workflow_call to the ci.yml (#1541)
* added workflow call for reusable workflows

* explicitly checkout js-waku

* fix wrong org

* fix input passing

* excluded unneded jobs for when caller is nwaku

* excluded check and proto as well

---------

Co-authored-by: Sasha <118575614+weboko@users.noreply.github.com>
2023-09-08 10:38:31 +02:00
Sasha 73dd948698
chore: add retry to test steps in CI (#1517)
* chore: add retry to test steps of ci

* use another action for retry

* fix version

* use master version

* test with error

* return working version

* add env var

* return node test
2023-08-31 12:27:25 +02:00
fbarbu15 c6abcd436d fix WAKUNODE_IMAGE input error in ci.yml 2023-08-29 20:26:57 +03:00
fbarbu15 b7edff981f fix WAKUNODE_IMAGE input error in ci.yml 2023-08-29 20:17:35 +03:00
fbarbu15 617622c3ec manually triggerr ci with custom nim node image 2023-08-24 14:03:44 +03:00