94 Commits

Author SHA1 Message Date
AYAHASSAN287
d7cbe83b19 chore: adding new job in the CI.yml file (#3193) 2025-01-20 16:54:00 +01:00
Ivan FB
192db550c9 chore: optimize libwaku size (#3242)
* avoid compile TRACE level to reduce libwaku size
* waku_rln_relay/constants.nim: avoid adding constant seq that is used in tests only
* ci:yml USE_LIBBACKTRACE=0 to force -d:debug when running tests
2025-01-16 10:54:10 +01:00
Ivan FB
3786ce12e2 chore: Circuit relay (#3112)
* undo apt install libpcre (not circuit-relay related.)
* nat.nim: protect against possible exceptions when calling getExternalIP
* new external CLI argument, isRelayClient
* waku factory change to mount circuit hop proto by default
* waku_node: move autonat_service to a separate module
2024-10-28 09:17:46 +01:00
Ivan FB
5ff910b7a8 ci: force use ubuntu-22.04 (#3118) 2024-10-15 20:31:38 +02:00
Ivan FB
222251e497 chore: dbconn - add requestId info as a comment in the database logs (#3110) 2024-10-15 09:42:53 +02:00
Ivan FB
6afa392ae4 disable colors in PR docker images (#3066) 2024-09-27 15:00:55 +02:00
gabrielmer
4bafca6df0 chore: updating upload and download artifact actions to v4 (#3047) 2024-09-24 14:30:49 +03:00
fryorcraken
723b009b20 chore: use submodule nph in CI to check lint (#3027) 2024-09-11 11:51:42 +10:00
gabrielmer
aa9c30655c chore: adding lint job to the CI (#2925) 2024-07-23 13:57:24 +03:00
Aaryamann Challani
7e4f18cda7 feat(rlnv2): clean fork of rlnv2 (#2828)
* chore(rlnv2): contract interface changes (#2770)
* fix: tests
* fix: remove stuint[32]
* chore(submodule): update zerokit submodule to v0.5.1 (#2782)
* fix: remove cond comp for lightpush test
* fix: ci and nonceManager
2024-06-20 11:35:21 +02:00
NagyZoltanPeter
09522ff2fb fix: multi nat initialization causing dead lock in waku tests + serialize test runs to avoid timing and port occupied issues (#2799)
* Prevent multiple nat module initialization that cause dead lock in nat refresh thread tear down during tests.
* NPROC to 1 to avoid parallel test runs can lead to timing and port allocation issues

Co-authored-by: gabrielmer <101006718+gabrielmer@users.noreply.github.com>
2024-06-12 07:49:55 +02:00
gabrielmer
825f700198 chore: setting fail-fast to false in matrixed github actions (#2787) 2024-06-07 16:06:11 +02:00
Ivan FB
750f99ce87 chore: ci.yml - avoid calling brew link libpq --force on macos (#2627)
* ci.yml: avoid calling brew link libpq --force on macos
PRs started to fail due to that but we are not actually running
postgres tests on MacOS

* fix: remove brew linking for test job
* fix: conditional compilation for macos
* fix: remove autoformatted details

---------

Co-authored-by: rymnc <43716372+rymnc@users.noreply.github.com>
2024-04-26 09:02:58 +02:00
Aaryamann Challani
665dd060df fix(ci): unique comment_tag to reference rln version (#2613) 2024-04-22 16:44:59 +02:00
Prem Chaitanya Prathi
0fea2816f9 chore: workflow to autoassign PR (#2604) 2024-04-19 14:28:46 +05:30
gabrielmer
5254314645 chore: don't create docker images for users without org's secrets (#2585)
]
2024-04-17 09:44:18 +03:00
Aaryamann Challani
6d74aa08a9 chore(rln-relay-v2): wakunode testing + improvements (#2501)
* chore(rln-relay-v2): additional testing

* fix: bump librln to v0.4.2 for v2

* fix: catch possible error from the copyFrom

* ci: rename step title for rln-version
2024-03-12 16:20:30 +05:30
Ivan FB
132bb0bbf2 feat: Postgres partition implementation (#2506)
* postgres: first step to implement partition management
* postgres_driver: use of times.now().toTime().toUnix() instead of Moment.now()
* postgres migrations: set new version to 2
* test_driver_postgres: use of assert instead of require and avoid using times.now()
* postgres_driver: better implementation of the reset method with partitions
* Remove createMessageTable, init, and deleteMessageTable procs
* postgres: ensure we use the version 15.4 in tests
* postgres_driver.nim: enhance debug logs partition addition
* ci.yml: ensure logs are printed without colors
* postgres_driver: starting the loop factory in an asynchronous task
* postgres_driver: log partition name and size when removing a partition
2024-03-06 20:50:22 +01:00
Ivan FB
71afb3f092 Extend temporary pr images validity to 30 days (#2158) 2023-10-25 17:53:00 +02:00
gabrielmer
983f5a9f8a chore: remove js-node tests as release candidate dependencies (#2123) 2023-10-13 11:45:18 +03:00
Vaclav Pavlin
ea09ea58ba fix(ci): update the dependency list in pre-release WF (#2088) 2023-09-28 13:09:41 +02:00
Ivan Folgueira Bande
4d18b967e1 fix: libwaku.nim: unsubscribe -> unsubscribeAll to make it build properly (#2082)
* libwaku.nim: unsubscribe -> unsubscribeAll to make it build properly

We introduced a change in the next PR
https://github.com/waku-org/nwaku/pull/1983/
that made the `libwaku` to stop building properly
(make libwaku) because a signature change in the
`unsubscribe` proc of waku/waku_relay/protocol.nim.

This commit is a temporary workaround to make it work,
and not block any ongoing PR tests,
although not exactly as it is expected because we are
unsubscribing from all topics.

* ci.yml: adds library/** to force tests when changes under that folder
2023-09-26 16:32:51 +02:00
Ivan Folgueira Bande
63caaad8e4 chore: Adding -d:postgres flag when creating a Docker image for release and PRs (#2076) 2023-09-26 10:11:38 +02:00
Florin Barbu
9c4e060147 fix js-waku tests in the ci (#2061) 2023-09-21 12:56:04 +03:00
Vaclav Pavlin
c0e6576ad2 chore(ci): add js-waku as a dependency for pre-release createion (#2022) 2023-09-20 14:09:38 +02:00
Ivan Folgueira Bande
042701fcc5 chore(postgres): not loading the libpq library by default & better user feedback (#2028)
* removing implicit dependency with libpq if postgres is not being used.
* We only run the postgres tests when explicitly willing to, i.e. make
POSTGRES=1 test. The reason is that the postgres tests expect a
database instance to be running locally.
2023-09-13 12:45:55 +02:00
Vaclav Pavlin
f6a8852f3c chore(ci): add js-waku test to pre-release workflow (#2017) 2023-09-11 16:16:53 +02:00
Aaryamann Challani
75fd99e5a4 feat(rln-relay): removed rln from experimental 🚀 (#2001)
* feat(rln-relay): removed rln from experimental 🚀

* fix(waku_node): if rln-relay is nil, return true

* chore(tests): mark rest health as skipped
2023-09-11 12:02:31 +05:30
Vaclav Pavlin
0f2b8b6567 chore(ci): execute js-waku integration tests on image build (#2006) 2023-09-08 14:01:59 +02:00
Vaclav Pavlin
5d30e0acab chore(ci): use commit instead of master for docker image (#1990) 2023-09-05 11:58:01 +02:00
Vaclav Pavlin
595bc3c731 fix(ci): incorrect use of braces (#1987) 2023-09-04 14:08:11 +02:00
Vaclav Pavlin
a05f153679 chore(ci): enable experimental for the PR image builds (#1976) 2023-09-04 10:47:12 +02:00
Vaclav Pavlin
9fbfbc2085 fix(ci): rename tools artifact to prevent conflict (#1971) 2023-08-30 17:29:41 +02:00
Vaclav Pavlin
393876e008 chore(ci): add a job checking config options and db schema (#1927) 2023-08-23 09:33:11 +02:00
Vaclav Pavlin
4a756a4cca fix(ci): only add comment on PR and do not duplicate it (#1908) 2023-08-11 16:36:41 +02:00
Vaclav Pavlin
be56353ed5 fix(ci): add mising OS arch option to image build (#1905) 2023-08-11 12:22:54 +02:00
Hanno Cornelius
5e2e1b6bd0 chore: remove references to v2 (#1898)
* chore: remove references to v2

* fix: lingering rln-relay import path
2023-08-09 18:11:50 +01:00
Vaclav Pavlin
aae62641fd feat(ci): add docker image builds per PR (#1881) 2023-08-09 13:13:37 +02:00
Hanno Cornelius
0acf71176b chore: remove Waku v1 and wakubridge code (#1874)
* chore: remove v1 code

* chore: deprecate support for v1 compatibility from JSON-RPC API

* chore: remove v1 tests from JSON-RPC suite

* chore: remove wakubridge code

* chore: remove v1 compatibility functions

* chore: remove support for v1 payloads from chat2 app

* chore: remove v1 from CI processes

* fix: lingering references to private API functions

* fix: remove v1 compat from chat2

* fix: some more lingering references in tests
2023-08-07 15:11:46 +01:00
Vaclav Pavlin
2b39f3efcc fix(ci): do not depend on number of procesors with job name (#1863) 2023-07-31 15:04:46 +02:00
Ivan Folgueira Bande
32ba79a920 refactor(archive): Moving waku archive logic from app.nim to the archive module (#1817)
* Refactoring the Waku Archive. Simplifying the app.nim

This change is needed to accommodate the further PRs where we will integrate Postgres in `wakunode2`.
2023-06-27 13:24:31 +02:00
Vaclav Pavlin
cb6de8d337 chore(ci): extend and rename nightly workflow to support RC builds (#1784) 2023-06-08 17:13:40 +02:00
Vaclav Pavlin
519074f61b chore(ci): properly set os and architecture for nightly and release (#1780) 2023-06-06 17:41:41 +02:00
Hanno Cornelius
4e43eea436 chore: remove add-to-project workflow (#1778) 2023-06-06 15:51:22 +02:00
Ivan Folgueira Bande
8d12d993ff Allow compile postgres tests only on Linux platforms (#1771)
This is needed because currently the GitHub Actions only supports
starting a docker container in a Linux runners.
2023-06-02 14:53:13 +02:00
Vaclav Pavlin
17221d4bce chore(ci): add experimental builds to nightly (#1761) 2023-05-26 12:07:40 +02:00
Vaclav Pavlin
95244e7c35 feat(ci): add nightly builds (#1758)
* feat(ci): add nightly builds

* add note to overview for operators
2023-05-26 08:14:45 +02:00
Vaclav Pavlin
c8489df79c chore(makefile): unify where chronicles_log_level is set (#1748) 2023-05-23 10:44:57 +02:00
Vaclav Pavlin
27724f0a05 fix(ci): use new caching for all stages, fix sha tool to work on both linux & mac (#1741) 2023-05-17 15:42:00 +02:00
Ivan Folgueira Bande
bc416ffc8d Tiny fix in. setting 'os' instead of 'platform' (#1728) 2023-05-16 09:59:48 +02:00