Commit Graph

1780 Commits

Author SHA1 Message Date
Darshan K 55a87d21d6
fix: more detailed logs to differentiate shards with peers (#2794) 2024-06-10 13:40:18 +05:30
Ivan FB 31bd6d71c0
chore: Minor enhancements (#2789)
* archive.nim: reduce the database report interval from 1 to 30 min
  This counts the number of rows with "select count(1) from messages"
  which is quite intense and we shouldn't run it every minute
* aside cleanup
2024-06-09 23:09:23 +02:00
Ivan FB c5d19c4491
chore: postgres_driver - acquire/release advisory lock when creating partitions (#2784) 2024-06-07 17:54:26 +02:00
gabrielmer 005349ccfe
chore: setting fail-fast to false in matrixed github actions (#2787) 2024-06-07 16:06:11 +02:00
Darshan K 77adfccd93
chore: simple link refactor (#2781) 2024-06-07 13:07:15 +05:30
Ivan FB d6c4ce1ca2
Update bump_dependencies.md template (#2786)
zero kit dependency should be v0.5.1
2024-06-06 18:24:57 +02:00
Ivan FB dbe79250da
postgres_driver: simple reformat with nph (#2785) 2024-06-06 12:04:40 +02:00
Ivan FB 3a93437300
add new index to optimize the order by storedAt (#2778) 2024-06-06 11:38:58 +02:00
Ivan FB 24661ea969
postgres partitions: ensure the partition ranges are o'clock (#2776)
Also, skip the error "partition already exists" because that happens
when multiple nodes interact with the same database.
2024-06-05 17:45:38 +02:00
gabrielmer 21a4b5bd4a
unifying clusterId to be uint16 (#2777) 2024-06-05 15:32:35 +02:00
Ivan FB 16709d1dd9
bump_dependencies.md the nim-libp2p should be updated per tag from now on (#2760) 2024-06-05 09:00:06 +02:00
gabrielmer 4c7c8a1521
chore: Improving liteprotocolteseter stats (#2750) 2024-06-04 22:57:16 +02:00
Darshan K dfc979a8ef
chore: extract common prefixes into a constant for multiple query (#2747)
* chore: extract select to constant for multiple prefix

* chore: Add a space at the end of selectClause to facilitate better string merging.

Signed-off-by: DarshanBPatel <darshan@status.im>

---------

Signed-off-by: DarshanBPatel <darshan@status.im>
2024-06-03 21:52:53 +05:30
richΛrd 88b8e1867a
fix(waku_archive): only allow a single instance to execute migrations (#2736) 2024-05-31 12:08:16 -04:00
Ivan FB 8b42f199ba
postgres_driver.nim: add missing meta field to select queries (#2741) 2024-05-29 22:13:16 +02:00
Ivan FB 01577f69a5
release-process.md: add step to merge the release branch back to master (#2734) 2024-05-29 10:09:35 +02:00
Ivan FB 25a1aa9231
test_waku_store.nim: add logs to better analyse uncertain flaky tests (#2740) 2024-05-29 10:05:07 +02:00
Ivan FB 302a171416
bump dependencies for v0.29 (#2731) 2024-05-29 09:41:28 +02:00
Ivan FB aba06cd947
Merge pull request #2738 from waku-org/fix/macos-ci
fix: move postgres related tests under linux conditional
2024-05-28 16:46:35 +02:00
Prem Chaitanya Prathi 57ecb3e090
fix: move postgres related tests under linux conditional 2024-05-28 17:24:22 +05:30
Vaclav Pavlin e0079cd0d4
chore(wakucanary): fix fitler protocol, add storev3 (#2735) 2024-05-27 23:13:59 +02:00
Simon-Pierre Vivier a65b13fcb8
fix: invalid cursor returning messages (#2724)
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-05-27 10:54:10 -04:00
kaiserd 6fbab633a2
chore: bump nim-libp2p version (#2661) 2024-05-27 15:58:18 +02:00
Darshan K 736ce1cbc6
feat: it's push newly released nwaku image with latest-release tag (#2732) 2024-05-27 16:22:48 +05:30
Ivan FB e2e50386ae
Merge pull request #2733 from waku-org/release/v0.28
chore(release): update changelog for v0.28.0 release (#2713)
2024-05-27 10:32:09 +02:00
gabrielmer f942218f2d
chore(release): merging release/v0.28 branch to master (#2728) 2024-05-24 13:10:13 +02:00
richΛrd 40296f9dbc
fix: do not print the db url on error (#2725) 2024-05-23 18:37:04 -04:00
richΛrd cbaefeb3ea
fix: use `when` instead of `if` for adding soname on linux (#2721) 2024-05-23 10:05:53 -04:00
Simon-Pierre Vivier 4a6ec468db
fix: store v3 bug fixes (#2718) 2024-05-23 08:01:52 -04:00
gabrielmer ebe69be8e5
chore: link validation process docs to the release process file (#2714) 2024-05-22 11:38:20 +02:00
gabrielmer 217dc7a078
chore(release): update changelog for v0.28.0 release (#2713) 2024-05-22 09:48:26 +02:00
gabrielmer 7e9c971721
chore(release): update changelog for v0.28.0 release (#2713) 2024-05-22 09:47:06 +02:00
richΛrd 1e2aa57a26
chore: android support (#2554) 2024-05-21 21:00:22 -04:00
NagyZoltanPeter 58aa5e6895
LiteProtocolTester application and docker compose bundle setup. (#2706)
faster image build with copy from pre-built binary
   cluster-id to 0 
   Added README.md documentation
2024-05-21 23:03:33 +02:00
Ivan FB 7464684842
chore: Discovery in libwaku (#2711)
* cwaku_example: add discoveryv5-discovery bool option
* libwaku: implement discovery capabilities
* node_lifecycle_request.nim: better control of possible errors when parsing config
2024-05-21 18:37:50 +02:00
Ivan FB 5ee4cba534
simple library cleanup of unused imports and duplicated code (#2710) 2024-05-18 15:04:04 +02:00
Ivan FB 176c98c589
standardize store types by using camel case instead of snake case (#2709) 2024-05-17 16:56:54 +02:00
Ivan FB 3faffdbcaa
chore: libwaku - allow to properly set the log level in libwaku and unify a little (#2708)
* waku.nimble: set properly chronicles compilation flags for static libwaku
* adapt examples to new log setup
2024-05-17 16:28:54 +02:00
Aaryamann Challani e7b0777d25
feat(rln-relay): use arkzkey variant of zerokit (#2681) 2024-05-17 14:48:29 +05:30
Ivan FB 401630ee24
chore: waku_discv5, peer_manager - add more logs help debug discovery issues (#2705) 2024-05-16 22:30:51 +02:00
Ivan FB 78132dc12e
chore: generic change to reduce the number of compilation warnings (#2696) 2024-05-16 22:29:11 +02:00
Ivan FB f0f94412a0
test_client: simple sleep to try avoid macos CI test failures (#2707) 2024-05-16 18:04:04 +02:00
Ivan FB 5b1fbb26c4
test_client: add nil error handling after serverSwitch.start() clientSwitch.start() (#2703) 2024-05-15 12:36:17 +02:00
Akhil 9dfdfa2774
feat: Added message size check before relay for lightpush (#2695) 2024-05-15 14:13:13 +04:00
gabrielmer 3a2caaec6f
refactor shard parsing (#2699) 2024-05-14 20:17:17 +02:00
Ivan FB 840e012294
chore: move code from wakunode2 to a more generic place, waku (#2670)
* testlib/wakunode.nim: not use cluster-id == 1 to avoid test rln by default
2024-05-13 17:45:48 +02:00
Álex Cabeza Romero 6c3ad50455
test(sharding): Implement sharding tests (#2603)
* Implement sharding tests.
2024-05-13 17:43:14 +02:00
Álex Cabeza Romero 49dd6c1989
test(peer-and-connection-management): Implement tests (#2566)
* Implement peer and connection management tests.
* Fix multiple peers added on initialisation.
* Remove clusterId parameter from newTestWakuNode.
2024-05-13 17:25:44 +02:00
gabrielmer 7d4857ea6c
chore: closing ping streams (#2692) 2024-05-13 12:07:57 +02:00
Ivan FB 8451cf8e1b
chore: Postgres enhance get oldest timestamp (#2687)
* postgres: consider also the existing paritions when getting oldest timestamp
* test_driver_postgres_query: adapt test to oldest timestamp
2024-05-10 18:31:01 +02:00